Skip to main content
GET
/
api
/
v3
/
onramp
/
crypto
/
{referenceId}
Get Status Response
curl --request GET \
  --url https://sandbox-api.kotanipay.com/api/v3/onramp/crypto/{referenceId} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "Onramp crypto status successfully retrieved.",
  "data": {
    "referenceId": "<string>",
    "status": "<string>",
    "cryptoAmount": 123,
    "cryptoAmountReceived": 123,
    "feeInCrypto": 123,
    "feeType": "<string>",
    "cryptoWallet": "<string>",
    "chain": {},
    "token": {},
    "transactionHash": "<string>"
  }
}
This endpoint will be used to get the status of the crypto onramp transaction.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

referenceId
string
required

Response

success
boolean
Example:

true

message
string
Example:

"Onramp crypto status successfully retrieved."

data
object