Our server will send callback requests to the configured webhook URL using the POST method with JSON payload. This callback provides the status and related information about the order processing.
Callback Request Format
The request body will contain the following JSON structure:
{
"status": "success",
"order_id": "173676981555849485",
"margin": 10.50,
"margin_percentage": 5.25,
"operator_ref_id": "OP123456789"
}
Field Descriptions
Note: Ensure that the webhook URL is properly configured to accept POST requests.
| Field Name | Type | Description |
|---|---|---|
| status | String | Indicates the result of the transaction. Possible values: success, failed. |
| order_id | String | Your unique identifier for the order. |
| margin | Number or Null | Represents the margin amount earned for the transaction, or null if not applicable. |
| margin_percentage | Number or Null | Represents the margin percentage, or null if not applicable. |
| operator_ref_id | String or Null | Operator reference ID for the transaction, or null if not available. |
