{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/paymentMethod/:paymentMethodId","auth":"required","settings":"","results":{"codes":[{"status":200,"language":"json","code":"","name":""}]},"method":"get","examples":{"codes":[{"language":"text","code":""}]},"params":[{"name":"paymentMethodId","type":"string","default":"","desc":"Identifier for the payment method","required":true,"in":"path","ref":"","_id":"5adf6d3a5e25f40003f00205"}]},"next":{"description":"","pages":[]},"title":"Lookup Bank account","type":"endpoint","slug":"lookup-bank-account","excerpt":"","body":"[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"curl -v -XGET 'https://api.sendwyre.com/v2/paymentMethod/{paymentMethodId}' \\\\\\n  -H \\\"X-Api-Key: {api-key}\\\" \\\\\\n  -H \\\"X-Api-Signature: {signature}\\\" \\\\\",\n      \"language\": \"curl\"\n    }\n  ]\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n    \\\"id\\\": \\\"TestPaymentMethod\\\",\\n    \\\"owner\\\": \\\"account:ABCDEFG\\\",\\n    \\\"createdAt\\\": 1230940800000,\\n    \\\"name\\\": \\\"TEST PAYMENT METHOD\\\",\\n    \\\"defaultCurrency\\\": \\\"USD\\\",\\n    \\\"status\\\": \\\"ACTIVE\\\",\\n    \\\"statusMessage\\\": null,\\n    \\\"waitingPrompts\\\": [],\\n    \\\"linkType\\\": \\\"TEST\\\",\\n    \\\"supportsDeposit\\\": true,\\n    \\\"nameOnMethod\\\": null,\\n    \\\"last4Digits\\\": null,\\n    \\\"brand\\\": null,\\n    \\\"expirationDisplay\\\": null,\\n    \\\"countryCode\\\": null,\\n    \\\"nickname\\\": null,\\n    \\\"rejectionMessage\\\": null,\\n    \\\"disabled\\\": false,\\n    \\\"supportsPayment\\\": true,\\n    \\\"chargeableCurrencies\\\": [\\n        \\\"GBP\\\",\\n        \\\"NZD\\\",\\n        \\\"MXN\\\",\\n        \\\"HKD\\\",\\n        \\\"USD\\\",\\n        \\\"CAD\\\",\\n        \\\"CNY\\\",\\n        \\\"AUD\\\",\\n        \\\"KRW\\\",\\n        \\\"BRL\\\",\\n        \\\"EUR\\\",\\n        \\\"JPY\\\"\\n    ],\\n    \\\"depositableCurrencies\\\": [\\n        \\\"USD\\\"\\n    ],\\n    \\\"chargeFeeSchedule\\\": null,\\n    \\\"depositFeeSchedule\\\": null,\\n    \\\"minCharge\\\": null,\\n    \\\"maxCharge\\\": null,\\n    \\\"minDeposit\\\": null,\\n    \\\"maxDeposit\\\": null,\\n    \\\"documents\\\": [],\\n    \\\"srn\\\": \\\"paymentmethod:TestPaymentMethod\\\"\\n}\",\n      \"language\": \"json\",\n      \"name\": \"200 ok\"\n    }\n  ]\n}\n[/block]","updates":[],"order":11,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5adf6b3f0d03070003a2f99e","project":"558b53f749dc4f0d00517de0","version":{"version":"2","version_clean":"2.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["55909cb433090f0d004d25d9","55909cb433090f0d004d25da","55909cb433090f0d004d25db","55909cb433090f0d004d25dc","56c72c00197f9f1700c811db","56c72df5b3625c0d00422c9e","56e1b646150ed52d0062c652","56e9fe9779708c0e002b6026","57312dc94245100e001743f4","57646a570742400e00c04701","5894c96f4d9c7e27002e42ba"],"_id":"55909cb433090f0d004d25d8","project":"558b53f749dc4f0d00517de0","releaseDate":"2015-06-29T01:17:40.214Z","createdAt":"2015-06-29T01:17:40.214Z","forked_from":"558b53f749dc4f0d00517de3","__v":8},"category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Depositing Funds","slug":"depositing-funds","order":5,"from_sync":false,"reference":false,"_id":"57312dc94245100e001743f4","__v":0,"createdAt":"2016-05-10T00:39:37.949Z","project":"558b53f749dc4f0d00517de0","version":"55909cb433090f0d004d25d8"},"user":"59f9f6be2e1b8e003ce39878","createdAt":"2018-04-24T17:37:03.025Z","githubsync":"","__v":2,"parentDoc":null}

getLookup Bank account


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

paymentMethodId:
required
string
Identifier for the payment method

Documentation

[block:code] { "codes": [ { "code": "curl -v -XGET 'https://api.sendwyre.com/v2/paymentMethod/{paymentMethodId}' \\\n -H \"X-Api-Key: {api-key}\" \\\n -H \"X-Api-Signature: {signature}\" \\", "language": "curl" } ] } [/block] [block:code] { "codes": [ { "code": "{\n \"id\": \"TestPaymentMethod\",\n \"owner\": \"account:ABCDEFG\",\n \"createdAt\": 1230940800000,\n \"name\": \"TEST PAYMENT METHOD\",\n \"defaultCurrency\": \"USD\",\n \"status\": \"ACTIVE\",\n \"statusMessage\": null,\n \"waitingPrompts\": [],\n \"linkType\": \"TEST\",\n \"supportsDeposit\": true,\n \"nameOnMethod\": null,\n \"last4Digits\": null,\n \"brand\": null,\n \"expirationDisplay\": null,\n \"countryCode\": null,\n \"nickname\": null,\n \"rejectionMessage\": null,\n \"disabled\": false,\n \"supportsPayment\": true,\n \"chargeableCurrencies\": [\n \"GBP\",\n \"NZD\",\n \"MXN\",\n \"HKD\",\n \"USD\",\n \"CAD\",\n \"CNY\",\n \"AUD\",\n \"KRW\",\n \"BRL\",\n \"EUR\",\n \"JPY\"\n ],\n \"depositableCurrencies\": [\n \"USD\"\n ],\n \"chargeFeeSchedule\": null,\n \"depositFeeSchedule\": null,\n \"minCharge\": null,\n \"maxCharge\": null,\n \"minDeposit\": null,\n \"maxDeposit\": null,\n \"documents\": [],\n \"srn\": \"paymentmethod:TestPaymentMethod\"\n}", "language": "json", "name": "200 ok" } ] } [/block]