Get Off-Ramp Status
Check the current status of an off-ramp transaction.
Retrieves the current status and details of an off-ramp transaction by its reference.
Endpoint
GET /v1/offramp/status/:referenceAuthentication
This endpoint accepts any one of three credentials in the Authorization header:
Credential
Header value
Merchant API key
Authorization: <api_key>
Business-user JWT
Authorization: Bearer <jwt>
Customer JWT
Authorization: Bearer <jwt>
Path parameters
Parameter
Type
Description
reference
string
Your unique transaction reference
Example request
curl -X GET https://ramp-api.ivorypay.io/api/v1/offramp/status/660e8400-e29b-41d4-a716-446655440001 \
-H "Authorization: your_api_key"const response = await fetch(
"https://ramp-api.ivorypay.io/api/v1/offramp/status/660e8400-e29b-41d4-a716-446655440001",
{
method: "GET",
headers: {
"Authorization": "your_api_key",
},
}
);
const data = await response.json();
console.log(data);import requests
response = requests.get(
"https://ramp-api.ivorypay.io/api/v1/offramp/status/660e8400-e29b-41d4-a716-446655440001",
headers={
"Authorization": "your_api_key",
},
)
print(response.json())Example response
Transaction statuses
Status
Description
INITIATED
Transaction created, awaiting crypto deposit
PENDING
Session active, waiting for crypto
CRYPTO_PAYMENT_RECEIVED
Crypto deposit detected on-chain
FIAT_PAYOUT_PROCESSING
Bank transfer in progress
SUCCESS
Fiat delivered to bank account
FAILED
Transaction failed
DECLINED
Transaction was declined
EXPIRED
Session expired before crypto was received
Last updated