v1

latestOpenAPI 3.0.3Apache License Version 2.02026-07-2631211285.4 KB
Payout Services

Cryptocurrency Quotations

Service only for crypto payout. It will return the quote for the selected cryptocurrency

post/v1/payment/payouts/quotation

Headers

Content-Typestring required

The Media type of the body of the request. Default value for payment provider protocol is application/json

Acceptstring required

Acceptable media type(s) for the response. Default value for payment provider protocol is application/json

Request body

Example request

{
  "method": {
    "code": "CRYPTO"
  },
  "transaction": {
    "reference_id": "REF0000001",
    "account": "SBX000PO",
    "amount": {
      "currency": "usd",
      "to_currency": "btc"
    }
  }
}

Response

Cryptocurrencies quote.

Example response

{
  "quotation": {
    "amount": {
      "currency": "btc",
      "value": 250.89024957
    }
  },
  "transaction": {
    "reference_id": "REF0000001"
  }
}