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

Get Settlement by Deposit

Get the settlement associated with a specific deposit.

Retrieves the settlement record associated with a specific deposit ID.

Endpoint

GET /v1/settlements/deposit/:depositId

Authentication

Header
Value

Authorization

Your API key

Path parameters

Parameter
Type
Description

depositId

string

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

Example request

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

print(response.json())

Example response

{
  "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",
    "status": "COMPLETED",
    "transactionHash": "0xsettlement123..."
  }
}

Use this endpoint to trace the full lifecycle of a deposit — from fiat receipt to crypto settlement.

Last updated