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}





"Bearer" + shopper access token

    "ok": true,
    "result": {
        "order_amount": 2,
        "order_currency": "2.00",
        "payable_amount": 31.47376371,
        "payable_currency": "DOGE",
        "conversion_rate_per_unit": "0.06507"

Last updated