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

Get Settlement by ID

Get a specific settlement by its ID.

Retrieves the details of a specific settlement.

Endpoint

GET /v1/settlements/:id

Authentication

Header
Value

Authorization

Your API key

Path parameters

Parameter
Type
Description

id

string

Settlement UUID (validated by ParseUUIDPipe — must be a valid UUID)

Example request

curl -X GET https://ramp-api.ivorypay.io/api/v1/settlements/set-uuid-1 \
  -H "Authorization: your_api_key"
const response = await fetch("https://ramp-api.ivorypay.io/api/v1/settlements/set-uuid-1", {
  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/settlements/set-uuid-1",
    headers={
        "Authorization": "your_api_key",
    },
)

print(response.json())

Example response

The settlement entity has no reference column of its own; the deposit reference is only available via the joined deposit relation as deposit.reference.

{
  "success": true,
  "message": "Settlement retrieved",
  "data": {
    "id": "set-uuid-1",
    "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