Refresh Off-Ramp Session
Extend an expired or expiring off-ramp session.
Endpoint
GET /v1/offramp/refresh/:referenceAuthentication
Header
Value
Path parameters
Parameter
Type
Description
Example request
curl -X GET https://ramp-api.ivorypay.io/api/v1/offramp/refresh/660e8400-e29b-41d4-a716-446655440001 \
-H "x-api-key: your_api_key"const response = await fetch(
"https://ramp-api.ivorypay.io/api/v1/offramp/refresh/660e8400-e29b-41d4-a716-446655440001",
{
method: "GET",
headers: {
"x-api-key": "your_api_key",
},
}
);
const data = await response.json();
console.log(data);import requests
response = requests.get(
"https://ramp-api.ivorypay.io/api/v1/offramp/refresh/660e8400-e29b-41d4-a716-446655440001",
headers={
"x-api-key": "your_api_key",
},
)
print(response.json())Example response
{
"statusCode": 200,
"success": true,
"message": "Session refreshed",
"data": {
"reference": "660e8400-e29b-41d4-a716-446655440001",
"status": "PENDING",
"address": "0xIvoryPayDepositAddress...",
"chain": "BSC_MAINNET",
"token": "USDT",
"amount": 62.5,
"expiresAt": "2026-03-26T14:00:00.000Z",
"sessionId": "session_refreshed_abc",
"duration": 3600
}
}Last updated