Получение транзакции

Получение информации о сиротской транзакции по ее ID

Получение транзакции

post
Header parameters
x-api-public-keystringOptional

Публичный API-ключ

x-api-signaturestringOptional

Подпись тела запроса приватным API-ключем

Content-typestringOptional

Тип тела запроса

Example: application/json
Body
idstringRequired

Идентификатор транзакции в системе

Example: 3d7562b2-419b-4d9c-a8f1-29032f4abbe3
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": "3d7562b2-419b-4d9c-a8f1-29032f4abbe3"
}
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