Trigger Exchange payment
When the shopper makes the exchange payment, this API creates a transaction record in the RKFL system.
A crypto transaction may take 2 min to 2 hours to complete the transaction. When a crypto transaction is initiated successfully, this API returns the immediate status of the transaction, which can be pending/processing/canceled/completed.
The RKFL wallet receives all crypto transactions and settles with the merchant daily.
The merchant can set up a webhook through the merchant portal to receive updates on every status change in the RKFL system. The merchant must set up only one webhook for crypto and bank transfer.
This API receives the request payload in an encrypted format, where the encryption algorithm is RSA, and the encryption key is the merchant's public key.
POST
/exchanges/payments/{exchange_name}
The value of exchange_name are "coinbase/okcoin/kraken/gemini/binanceus"
Error codes to be handled over the front end in payment API
code: 418,
message: 'Authentication Failed! Please try again after some time.'
code: 419,
message: 'Insufficient Balance'
code: 420,
message: 'Address whitelist is pending!'
code: 421,
message: 'Coin Wallet is not supported at this moment! please try again after some time.'
code: 422,
message: 'Amount is less than minimum transaction amount supported by'
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | "Bearer" + shopper access token |
Content-Type | String | application/json |
Request Body
Name | Type | Description |
---|---|---|
data | String | Enctrypted string |
Last updated