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.
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