Get a list of transactions
Getting a list of orphan transactions with the ability to filter by certain criteria
Header parameters
x-api-public-keystringOptional
Public API-key
x-api-signaturestringOptional
Signing the request body with a private API-key
Content-typestringOptionalExample:
Request content type
application/json
Body
idstringOptionalExample:
Transaction ID in the system
47e00ba7-c792-4b44-adb3-a52978aa29e7
orderIdstring | nullOptionalExample:
The ID of the order to which the address was linked at the time of the transaction discovery
118e308d-b1e9-44ea-9701-66f7b27bdbe8
stagestring · enumOptionalExample:
The current stage of the transaction. There are 2 values available: DEPOSIT
and WITHDRAWAL
DEPOSIT
Possible values: statusstring · enumOptionalExample:
Status of the current stage of the transaction
PROCESSED
Possible values: offsetintegerOptional
Offset (for pagination)
limitintegerOptional
Limit (for pagination)
Responses
200Success
application/json
post
POST /api-gateway/orphan-deposits/get-deposits HTTP/1.1
Host: ocp.onchainpay.io
Content-Type: application/json
Accept: */*
Content-Length: 154
{
"id": "47e00ba7-c792-4b44-adb3-a52978aa29e7",
"orderId": "118e308d-b1e9-44ea-9701-66f7b27bdbe8",
"stage": "DEPOSIT",
"status": "PROCESSED",
"offset": 1,
"limit": 1
}
200Success
{
"success": true,
"response": [
{
"id": "00ab98a0-3b66-48bd-9dc4-16cf2917e517",
"organizationId": "b6a16714-ac8c-4c81-b46e-8153d192e1f5",
"orderId": "ceff4073-10b6-474e-a235-b73427202c16",
"stage": "WITHDRAWAL",
"status": "PENDING",
"message": null,
"currency": "BUSD",
"network": "bsc",
"amount": "200",
"canWithdrawal": true,
"inTransaction": {
"addressType": "PAY_IN",
"addressId": "3632eaf6-402b-4479-9b3d-a54c9eba4c95",
"address": "0x00000005707Bf50EfA35a2db020eDe9Ac0780b9f",
"txId": "0x123456...",
"amount": "200",
"status": "processed"
},
"outTransactions": {
"address": "0x00000005707Bf50EfA35a2db020eDe9Ac0780b9f",
"txId": "0x123456...",
"amount": "200",
"status": "processed",
"feeAmount": "1.2",
"feeAmountUSD": "1.22",
"withdrawalId": "7b7f72c5-71f1-4c76-8a17-4659f5429ef6",
"createdAt": "2025-06-10T11:38:26.563Z"
},
"createdAt": "2025-06-09T11:38:26.563Z"
}
]
}
Last updated