Appendix D
Appendix D
You have to add to your CREDIT2CRYPTO request specific list of parameters which is determined by the value for the brand parameter.
You should get additional information from account manager.
binancepay_aps
If you set the value binancepay_aps for the brand parameter you have to specify in your request the next parameters as well:
| Parameter | Description | Values | Required |
|---|---|---|---|
parameters[to_account_number] | Payee account number (digits only) | String | + |
parameters[to_first_name] | Payee first name | String | + |
parameters[to_last_name] | Payee last name | String | + |
parameters[date_of_birth] | Payee date of birth, format YYYY-MM-DD | String | + |
parameters[residence] | Payee country of residence (2-letter code) | String | + |
parameters[customer_ip_address] | Payee IP address. If you do not send it, the payer IP address from the request is used | String | - |
parameters[payer_id] | Payer identifier in your system | String | - |
Parameters that are not sent are requested from the payee on the payment page.
Sample curl request
curl -d "action=CREDIT2CRYPTO&client_key=c2b8fb04-110f-11ea-bcd3-0242c0a85004&brand=binancepay_aps&order_id=ORDER12345&order_amount=100&order_currency=USDT&order_description=Product¶meters[to_account_number]=123456789¶meters[to_first_name]=John¶meters[to_last_name]=Doe¶meters[date_of_birth]=1990-01-31¶meters[residence]=GB
&hash=a1a6de416405ada72bb47a49176471dc" https://test.apiurl.com/post -k
crypto-btg
If you set the value crypto-btg for the brand parameter you have to specify in your request the next parameters as well:
| Parameter | Description | Values | Required |
|---|---|---|---|
address | Destination address Max length: <= 250 characters Example: 2MvrwRYBAuRtPTiZ5MyKg42Ke55W3fZJfZS. | String | - |
type | Required for transactions from MPC wallets. "acceleration" speeds up transactions with a certain nonce by adjusting the gas setting. "accountSet" is for XRP AccountSet transactions. "enabletoken" is for SOL. "stakingLock" and "stakingUnlock" are for Stacks delegations. "transfer" is for native-asset transfers. "trustline" is for Stellar trustline transactions. Possible types include: [acceleration, accountSet, enabletoken, stakingLock, stakingUnlock, transfer, transfertoken, trustline] For AVAX, possible types include: 'addValidator', 'export', and 'import'. For XRP, possible types include: 'payment' and 'accountSet'. The default is 'payment'. For STX, type is required. | String | - |
memo_id | Memo ID (for XLM (Stellar) currency) Integer that is typically used to refer to an ID in the recipient's system (such as an invoice number or a customer ID). | String | - |
Sample curl request
curl -d "action=CREDIT2CRYPTO&client_key=c2b8fb04-110f-11ea-bcd3-0242c0a85004
&brand=crypto-btg&order_id=ORDER12345&order_amount=10&order_currency=XRP
&order_description=Product¶meters[address]=2MvrwRYBAuRtPTiZ5MyKg42Ke55W3fZJfZS
¶meters[type]=payment¶meters[memo_id]=0987654321
&hash=a1a6de416405ada72bb47a49176471dc" https://test.apiurl.com/post -k
kunnect
If you set the value kunnect for the brand parameter you have to specify in your request the next parameters as well:
| Parameter | Description | Values | Required |
|---|---|---|---|
depositAddress | Recipient's crypto-address | String | + |
Sample curl request
curl -d "action=CREDIT2CRYPTO&
client_key=c2b8fb04-110f-11ea-bcd3-0242c0a85004&
brand=kunnect&
order_id=ORDER12345&
order_amount=10&
order_currency=BTC&
order_description=Product¶meters[depositAddress]=Address
&hash=a1a6de416405ada72bb47a49176471dc" https://test.apiurl.com/post -k