{"_id":"5c64ae0c6bc6100039ae1e49","project":"550f74bb6fc8130d0038aad3","version":{"_id":"550f75de61d9d30d00af9e01","__v":17,"project":"550f74bb6fc8130d0038aad3","forked_from":"550f74bb6fc8130d0038aad6","createdAt":"2015-03-23T02:09:34.221Z","releaseDate":"2015-03-23T02:09:34.221Z","categories":["550f75de61d9d30d00af9e02","551027e38579861900a86698","551029e08579861900a8669a","551029e7498062190006328a","5bc633a722d682005c9ad9e4","5bc633b08c4b0b000d6a7eaa","5bc633b48f3ff600626e3e18","5bc63538e5a6ba000d22ee6d","5bc63587a18a6b000decd295","5bc635c0937fcb0056223d9c","5bc6360f42f41800319aeaa6","5be5d13ff1d319002baca9ce","5be5d2287cd14d00291fbfdb","5be8b3b09f7cb70023c56a39","5be8b3cbb910100044e20206","5c1d769a4f6aed001fe527f0","5c402942010f0d001496dded"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"3.0.0","version":"3"},"category":{"_id":"5bc633b08c4b0b000d6a7eaa","project":"550f74bb6fc8130d0038aad3","version":"550f75de61d9d30d00af9e01","__v":0,"sync":{"url":"","isSync":false},"reference":true,"createdAt":"2018-10-16T18:53:36.184Z","from_sync":false,"order":7,"slug":"payment-methods","title":"Payment Methods"},"user":"54eb8076867e1917009b7160","__v":8,"parentDoc":null,"updates":["5d3b49b19817e6001253b4ad"],"next":{"pages":[],"description":""},"createdAt":"2019-02-13T23:53:48.913Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"method":"post","examples":{"codes":[]},"results":{"codes":[{"name":"","code":"{\n    \"id\": \"PA-W7YN28ABCHT\",\n    \"owner\": \"account:AC-XX38VYXUA84\",\n    \"createdAt\": 1542771684392,\n    \"name\": \"Plaid Checking 0000\",\n    \"defaultCurrency\": \"USD\",\n    \"status\": \"PENDING\",\n    \"linkType\": \"LOCAL_TRANSFER\",\n    \"supportsDeposit\": true,\n    \"last4Digits\": \"0000\",\n    \"countryCode\": \"US\",\n    \"nickname\": null,\n    \"supportsPayment\": true,\n    \"chargeableCurrencies\": [ \"USD\" ],\n    \"depositableCurrencies\": [ \"USD\" ],\n    \"srn\": \"paymentmethod:PA-W7YN28ABCHT\",\n  \t\"blockchains\": {\n      \"BTC\": \"1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2\" \n    }\n}","language":"json","status":200}]},"settings":"","auth":"required","params":[{"_id":"5c64ae0c6bc6100039ae1e4a","ref":"","in":"body","required":false,"desc":"The blockchain to attach. May be `BTC`, `ETH`, or `ALL`. You may specify multiple currencies using commas, such as `BTC,ETH`","default":"","type":"string","name":"blockchain"}],"url":"/v2/paymentMethod/:paymentMethodId/attach"},"isReference":true,"order":11,"body":"This endpoint enables you to connect any payment method - like a bank account - to any of the blockchains we support. This gives the payment method its own blockchain addresses. Any funds sent to this address will be instantly and automatically converted and liquidated.\n\nAll standard [transfer](#transfer-resources) limits apply to these liquidations. If these limitations are violated for any reason, the funds will instead be routed to the account which created the payment methods. The credited balance to the account will be in the original blockchain currency.","excerpt":"Give a payment method its own blockchain addresses for instant liquidation","slug":"attach-blockchain-to-payment-method","type":"endpoint","title":"Attach Blockchain to Payment Method"}

postAttach Blockchain to Payment Method

Give a payment method its own blockchain addresses for instant liquidation

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

blockchain:
string
The blockchain to attach. May be `BTC`, `ETH`, or `ALL`. You may specify multiple currencies using commas, such as `BTC,ETH`

Result Format


Documentation

This endpoint enables you to connect any payment method - like a bank account - to any of the blockchains we support. This gives the payment method its own blockchain addresses. Any funds sent to this address will be instantly and automatically converted and liquidated. All standard [transfer](#transfer-resources) limits apply to these liquidations. If these limitations are violated for any reason, the funds will instead be routed to the account which created the payment methods. The credited balance to the account will be in the original blockchain currency.