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

Confirm Crypto Sent

Manually confirm that crypto has been sent for an off-ramp transaction.

Manually confirms that a user has sent crypto for an off-ramp transaction. Use this when the user sends crypto from an external wallet and you need to provide the transaction hash.

Endpoint

POST /v1/offramp/crypto-sent

Authentication

Header
Value

Authorization

<api_key> — Merchant API key (this endpoint is API-key only)

Request body

Field
Type
Required
Description

reference

string

Yes

Transaction reference (UUID)

settledCryptoAmount

number

Yes

Exact crypto amount that was sent

transactionHash

string

Yes

Blockchain transaction hash as proof

Example request

curl -X POST https://ramp-api.ivorypay.io/api/v1/offramp/crypto-sent \
  -H "Authorization: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "reference": "660e8400-e29b-41d4-a716-446655440001",
    "settledCryptoAmount": 62.5,
    "transactionHash": "0xdef456789abc..."
  }'
const response = await fetch("https://ramp-api.ivorypay.io/api/v1/offramp/crypto-sent", {
  method: "POST",
  headers: {
    "Authorization": "your_api_key",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    reference: "660e8400-e29b-41d4-a716-446655440001",
    settledCryptoAmount: 62.5,
    transactionHash: "0xdef456789abc...",
  }),
});

const data = await response.json();
console.log(data);

Example response

Last updated