Getting information about cross-chain transfer
The method allows you to get information on a previously created cross-chain transfer
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
Request body for getting cross-chain transfer data
idstringRequiredExample:
Cross-chain transfer ID
1a6dce87-3b34-480b-8055-51a821aeb5ea
Responses
200Success
application/json
post
POST /api-gateway/bridge/get HTTP/1.1
Host: ocp.onchainpay.io
Content-Type: application/json
Accept: */*
Content-Length: 45
{
"id": "1a6dce87-3b34-480b-8055-51a821aeb5ea"
}
200Success
{
"success": true,
"response": {
"id": "1a6dce87-3b34-480b-8055-51a821aeb5ea",
"clientId": "merchant_unique_id",
"currency": "USDT",
"networkFrom": "ethereum",
"networkTo": "tron",
"status": "PENDING",
"rejectMessage": null,
"amount": "200",
"amountUSD": "200",
"blockchainFee": "2",
"blockchainFeeUSD": "2.12",
"serviceFeeUSD": "0.50",
"webhookUrl": "https://merchant.domain/webhooks/bridge",
"createdAt": "2025-06-09T13:18:11.527Z"
}
}
Last updated