Get Settlement by ID
Get a specific settlement by its ID.
Endpoint
GET /v1/settlements/:idAuthentication
Header
Value
Path parameters
Parameter
Type
Description
Example request
curl -X GET https://ramp-api.ivorypay.io/api/v1/settlements/set-uuid-1 \
-H "x-api-key: your_api_key"const response = await fetch("https://ramp-api.ivorypay.io/api/v1/settlements/set-uuid-1", {
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/settlements/set-uuid-1",
headers={
"x-api-key": "your_api_key",
},
)
print(response.json())Example response
{
"statusCode": 200,
"success": true,
"message": "Query successful",
"data": {
"id": "set-uuid-1",
"reference": "set_abc123",
"depositId": "dep-uuid-1",
"fiatAmount": 99500,
"fiatCurrency": "NGN",
"cryptoAmount": 62.18,
"token": "USDT",
"chain": "BSC_MAINNET",
"destinationAddress": "0xYourWallet...",
"conversionRate": 1600,
"platformFee": 0.31,
"businessFee": 0,
"gasFee": 0.5,
"transactionHash": "0xsettlement123...",
"status": "COMPLETED"
}
}Last updated