Payable amount
The RKFL provides an API to return the payable amount for the selected cryptocurrency. The cryptocurrency market is volatile and changes frequently. The RKFL backend system calculates the payable amount based on the current cryptocurrency rate.
Merchant websites should call this API whenever a shopper switches between cryptocurrencies. This API also returns a unit rate of the cryptocurrency.
The merchant website should never cache the rate of the cryptocurrencies to use in the future because it changes frequently.
The below screenshot shows the payable amount in the bold text of "You Pay" and the crypto conversion rate just below.
GET
/users/payable-amounts?invoice={uuid}&cc={cryptocurrency}
Headers
Last updated