Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.cryptoprocessing.com/llms.txt

Use this file to discover all available pages before exploring further.

Processing payment request callbacks

Payment request callbacks are sent whenever the status of a payment request changes. When you receive a callback with "status": "paid", the payment request has been successfully paid and can be treated as completed on your side. Use foreign_id to identify the payment request or order in your system and map it to the user for whom the payment request was created.

Payment request callback payload examples

Sent when the payment request is created with a fixed exchange rate and is waiting for payment. At this stage, no funds have been received yet.
{
"payment_request_id":"019c0ebf-81e5-751d-aa57-fb9e2cba23c2",
"foreign_id":"order_12345",
"type":"payment_request",
"status":"processing",
"end_user_email":"[email protected]",
"payment_request_address":{
  "id":"019c0ebf-84a1-7bdc-a09c-8b62294cc75d",
  "currency":{
     "iso":"BTC",
     "network_name":"bitcoin"
  },
  "convert_to":{
     "iso":"ETH",
     "network_name":"ethereum"
  },
  "address":"tb1qj0d4rsczat6dx3yy065g98rrz5hewkrdcrz7je"
},
"payment_request_amount":{
  "currency":{
     "iso":"ETH",
     "network_name":"ethereum"
  },
  "amount":"0.3"
},
"currency_sent":{
  "currency":{
     "iso":"BTC",
     "network_name":"bitcoin"
  },
  "expected_amount":"0.0094",
  "received_amount":"0",
  "remaining_amount":"0.0094"
},
"fixed_at":1769773958,
"expires_at":1769774157,
"valid_until":1769774157
}

Last modified on May 11, 2026