{"_id":"5adf6b3f0d03070003a2f99e","project":"558b53f749dc4f0d00517de0","version":{"_id":"55909cb433090f0d004d25d8","project":"558b53f749dc4f0d00517de0","forked_from":"558b53f749dc4f0d00517de3","__v":8,"createdAt":"2015-06-29T01:17:40.214Z","releaseDate":"2015-06-29T01:17:40.214Z","categories":["55909cb433090f0d004d25d9","55909cb433090f0d004d25da","55909cb433090f0d004d25db","55909cb433090f0d004d25dc","56c72c00197f9f1700c811db","56c72df5b3625c0d00422c9e","56e1b646150ed52d0062c652","56e9fe9779708c0e002b6026","57312dc94245100e001743f4","57646a570742400e00c04701","5894c96f4d9c7e27002e42ba"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2"},"category":{"_id":"57312dc94245100e001743f4","__v":0,"project":"558b53f749dc4f0d00517de0","version":"55909cb433090f0d004d25d8","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-05-10T00:39:37.949Z","from_sync":false,"order":5,"slug":"depositing-funds","title":"Depositing Funds"},"user":"59f9f6be2e1b8e003ce39878","__v":2,"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2018-04-24T17:37:03.025Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"settings":"","results":{"codes":[{"name":"","code":"","language":"json","status":200}]},"method":"get","examples":{"codes":[{"code":"","language":"text"}]},"auth":"required","params":[{"_id":"5adf6d3a5e25f40003f00205","ref":"","in":"path","required":true,"desc":"Identifier for the payment method","default":"","type":"string","name":"paymentMethodId"}],"url":"/paymentMethod/:paymentMethodId"},"isReference":false,"order":11,"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]","excerpt":"","slug":"lookup-bank-account","type":"endpoint","title":"Lookup Bank account"}

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]