For the complete documentation index, see llms.txt. This page is also available as Markdown.

Refresh Off-Ramp Session

Extend an expired or expiring off-ramp session.

Refreshes an off-ramp transaction session, extending the expiry time so the user has more time to send crypto.

Endpoint

GET /v1/offramp/refresh/:reference

Authentication

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/refresh/660e8400-e29b-41d4-a716-446655440001 \
  -H "Authorization: your_api_key"
const response = await fetch(
  "https://ramp-api.ivorypay.io/api/v1/offramp/refresh/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/refresh/660e8400-e29b-41d4-a716-446655440001",
    headers={
        "Authorization": "your_api_key",
    },
)

print(response.json())

Example response

The crypto amount may be recalculated based on current exchange rates when the session is refreshed.

Last updated