Get a list of transactions

Getting a list of orphan transactions with the ability to filter by certain criteria

Get a list of transactions

post
Header parameters
x-api-public-keystringOptional

Public API-key

x-api-signaturestringOptional

Signing the request body with a private API-key

Content-typestringOptional

Request content type

Example: application/json
Body
idstringOptional

Transaction ID in the system

Example: 5aca05fd-ad24-4d48-947f-66a1f2b236f4
orderIdstring | nullOptional

The ID of the order to which the address was linked at the time of the transaction discovery

Example: e183f76a-880d-4071-934c-a26a12e10b6e
stagestring · enumOptional

The current stage of the transaction. There are 2 values available: DEPOSIT and WITHDRAWAL

Example: DEPOSITPossible values:
statusstring · enumOptional

Status of the current stage of the transaction

Example: PROCESSEDPossible 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": "5aca05fd-ad24-4d48-947f-66a1f2b236f4",
  "orderId": "e183f76a-880d-4071-934c-a26a12e10b6e",
  "stage": "DEPOSIT",
  "status": "PROCESSED",
  "offset": 1,
  "limit": 1
}
200Success
{
  "success": true,
  "response": [
    {
      "id": "ae3d10a0-634c-48c9-8cbf-d3da946ec299",
      "organizationId": "345028e0-c671-4a68-9aee-b5af6ef644f6",
      "orderId": "602f03ec-ed7e-458a-b61a-6b05b0f1a5af",
      "stage": "WITHDRAWAL",
      "status": "PENDING",
      "message": null,
      "currency": "BUSD",
      "network": "bsc",
      "amount": "200",
      "canWithdrawal": true,
      "inTransaction": {
        "addressType": "PAY_IN",
        "addressId": "ed7c4941-a5ab-4f53-afb1-195f3a217a62",
        "address": "0x00000005707Bf50EfA35a2db020eDe9Ac0780b9f",
        "txId": "0x123456...",
        "amount": "200",
        "status": "processed"
      },
      "outTransactions": {
        "address": "0x00000005707Bf50EfA35a2db020eDe9Ac0780b9f",
        "txId": "0x123456...",
        "amount": "200",
        "status": "processed",
        "feeAmount": "1.2",
        "feeAmountUSD": "1.22",
        "withdrawalId": "0878bc1a-a566-440b-ac3b-1c553f2278e1",
        "createdAt": "2025-07-16T10:50:46.076Z"
      },
      "createdAt": "2025-07-15T10:50:46.076Z"
    }
  ]
}

Last updated