Get webhook
The method allows you to get the original body of the webhook.
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/jsonBody
webhookIdstringRequiredExample: 
Webhook ID
8d7db145-80cc-4c43-9cfb-9cde10f8ef40Responses
200Success
application/json
post
/api-gateway/webhooks/getPOST /api-gateway/webhooks/get HTTP/1.1
Host: ocp.onchainpay.io
Content-Type: application/json
Accept: */*
Content-Length: 52
{
  "webhookId": "8d7db145-80cc-4c43-9cfb-9cde10f8ef40"
}200Success
{
  "success": true,
  "response": {
    "id": "b26e6931-1fed-46e1-b680-12ea179a959f",
    "advancedBalanceId": "316a59ea-be39-4eaa-9392-6fda708f24d8",
    "currency": "USDT",
    "network": "tron",
    "status": "processed",
    "order": "1",
    "description": "1",
    "address": "TUdtD3UDTD"
  }
}Last updated