| 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 .jsv suffix or ?format=jsv
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/jsv
Content-Type: text/jsv
Content-Length: length
{
Authorization: String,
NewBlockchainWalletInfo:
{
UserKeyName: String,
Exchange: ,
AddressInfo:
[
{
Addresses:
[
String
]
}
],
Addresses:
[
String
]
}
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length False