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: 3d7562b2-419b-4d9c-a8f1-29032f4abbe3
orderIdstring | nullOptional

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

Example: 54f0c63c-10d8-4411-b237-f6107a3fff6f
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": "3d7562b2-419b-4d9c-a8f1-29032f4abbe3",
  "orderId": "54f0c63c-10d8-4411-b237-f6107a3fff6f",
  "stage": "DEPOSIT",
  "status": "PROCESSED",
  "offset": 1,
  "limit": 1
}
200Success
{
  "success": true,
  "response": [
    {
      "id": "8786dbfb-f487-4ad4-b51f-18b9f8d3c5cf",
      "organizationId": "19539253-58da-4ab4-965f-3f23f0cd63f3",
      "orderId": "4b3399ee-3690-4984-8c39-a911c8b0aad4",
      "stage": "WITHDRAWAL",
      "status": "PENDING",
      "message": null,
      "currency": "BUSD",
      "network": "bsc",
      "amount": "200",
      "canWithdrawal": true,
      "inTransaction": {
        "addressType": "PAY_IN",
        "addressId": "258e95ed-a3c2-4c85-bf6f-09f8b8f1c0be",
        "address": "0x00000005707Bf50EfA35a2db020eDe9Ac0780b9f",
        "txId": "0x123456...",
        "amount": "200",
        "status": "processed"
      },
      "outTransactions": {
        "address": "0x00000005707Bf50EfA35a2db020eDe9Ac0780b9f",
        "txId": "0x123456...",
        "amount": "200",
        "status": "processed",
        "feeAmount": "1.2",
        "feeAmountUSD": "1.22",
        "withdrawalId": "1b9d4377-adb5-4cf0-85d5-f970c213a3e0",
        "createdAt": "2025-06-10T13:18:11.523Z"
      },
      "createdAt": "2025-06-09T13:18:11.523Z"
    }
  ]
}

Last updated