{
"id": "123e4567-e89b-12d3-a456-426614174000",
"type": "on-off-ramp.order.status-changed",
"createdAt": "2024-07-24T15:13:39.000Z",
"data": {
"order": {
"id": "623000c8-9bdf-4a2b-aa3d-6a6b44a7f6a0",
"type": "on-ramp",
"pricing": "locked",
"origin": {
"asset": "USD",
"amount": "100.00",
"rate": "2.07021435361804542440",
"node": {
"type": "external-account",
"id": "7dc5c846-5ac2-4853-b67f-005cb83d4017",
"ownerId": "cd21b26d-35d2-408a-9201-b8fdbef7a604",
"via": "card",
"network": "visa"
}
},
"destination": {
"asset": "XRP",
"amount": "46.125658",
"rate": "0.48304176727029881912",
"node": {
"type": "crypto-address",
"network": "xrp-ledger",
"address": "rfBtmHiLwwWH5maH2PT78GxubrSydRF9aY",
"reference": "67809592"
}
},
"denomination": {
"asset": "USD",
"amount": "100.00",
"rate": "1.00000000000000000000",
"target": "origin"
},
"fees": [
{
"type": "deposit",
"code": "on-ramp-deposit",
"asset": "USD",
"amount": "1.00",
"percentage": "1",
"beneficiary": "uphold"
},
{
"type": "network",
"code": "crypto-network",
"asset": "USD",
"amount": "3.51"
}
],
"status": "completed",
"timeline": [
{
"event": "deposit-processing",
"timestamp": "2024-07-24T15:03:39.000Z"
},
{
"event": "deposit-completed",
"timestamp": "2024-07-24T15:04:39.000Z"
},
{
"event": "withdrawal-processing",
"timestamp": "2024-07-24T15:05:39.000Z"
},
{
"event": "withdrawal-sent",
"timestamp": "2024-07-24T15:10:39.000Z"
},
{
"event": "withdrawal-completed",
"timestamp": "2024-07-24T15:13:39.000Z"
}
],
"quotedAt": "2024-07-24T15:02:39.000Z",
"createdAt": "2024-07-24T15:03:39.000Z",
"updatedAt": "2024-07-24T15:13:39.000Z",
"completedAt": "2024-07-24T15:13:39.000Z"
}
}
}Webhooks
Order status changed
The order status has been changed.
WEBHOOK
on-off-ramp.order.status-changed
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"type": "on-off-ramp.order.status-changed",
"createdAt": "2024-07-24T15:13:39.000Z",
"data": {
"order": {
"id": "623000c8-9bdf-4a2b-aa3d-6a6b44a7f6a0",
"type": "on-ramp",
"pricing": "locked",
"origin": {
"asset": "USD",
"amount": "100.00",
"rate": "2.07021435361804542440",
"node": {
"type": "external-account",
"id": "7dc5c846-5ac2-4853-b67f-005cb83d4017",
"ownerId": "cd21b26d-35d2-408a-9201-b8fdbef7a604",
"via": "card",
"network": "visa"
}
},
"destination": {
"asset": "XRP",
"amount": "46.125658",
"rate": "0.48304176727029881912",
"node": {
"type": "crypto-address",
"network": "xrp-ledger",
"address": "rfBtmHiLwwWH5maH2PT78GxubrSydRF9aY",
"reference": "67809592"
}
},
"denomination": {
"asset": "USD",
"amount": "100.00",
"rate": "1.00000000000000000000",
"target": "origin"
},
"fees": [
{
"type": "deposit",
"code": "on-ramp-deposit",
"asset": "USD",
"amount": "1.00",
"percentage": "1",
"beneficiary": "uphold"
},
{
"type": "network",
"code": "crypto-network",
"asset": "USD",
"amount": "3.51"
}
],
"status": "completed",
"timeline": [
{
"event": "deposit-processing",
"timestamp": "2024-07-24T15:03:39.000Z"
},
{
"event": "deposit-completed",
"timestamp": "2024-07-24T15:04:39.000Z"
},
{
"event": "withdrawal-processing",
"timestamp": "2024-07-24T15:05:39.000Z"
},
{
"event": "withdrawal-sent",
"timestamp": "2024-07-24T15:10:39.000Z"
},
{
"event": "withdrawal-completed",
"timestamp": "2024-07-24T15:13:39.000Z"
}
],
"quotedAt": "2024-07-24T15:02:39.000Z",
"createdAt": "2024-07-24T15:03:39.000Z",
"updatedAt": "2024-07-24T15:13:39.000Z",
"completedAt": "2024-07-24T15:13:39.000Z"
}
}
}Headers
Body
application/json
Order status changed event.
Response
200
Return a 200 status to indicate that the data was received successfully.
Was this page helpful?