| POST, OPTIONS | /wallets/blockchain |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Authorization | header | string | Yes | Authorization token in the form "Bearer your_token_here" |
| NewBlockchainWalletInfo | body | BlockchainWalletInfo | Yes |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| UserKeyName | form | string | No | |
| Exchange | form | ExchangeName | No | |
| AddressInfo | form | List<BlockchainWalletAddressInfo> | No | |
| Addresses | form | List<string> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Currency | form | Currency | No | |
| Addresses | form | List<string> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Name | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /wallets/blockchain HTTP/1.1
Host: partytime.pt
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"Authorization":"String","NewBlockchainWalletInfo":{"UserKeyName":"String","Exchange":null,"AddressInfo":[{"Addresses":["String"]}],"Addresses":["String"]}}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length false