Get a transaction

Getting information about an orphan transaction by its ID

Get a transaction

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
idstringRequired

Transaction ID in the system

Example: 47e00ba7-c792-4b44-adb3-a52978aa29e7
Responses
200Success
application/json
post
POST /api-gateway/orphan-deposits/get-deposit HTTP/1.1
Host: ocp.onchainpay.io
Content-Type: application/json
Accept: */*
Content-Length: 45

{
  "id": "47e00ba7-c792-4b44-adb3-a52978aa29e7"
}
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