Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 24 additions & 2 deletions content/payments/billpay/mobile-prepaid-recharge/webhooks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ The system appends specific routes to your base `webhook_url` based on the event
**Request Body**:

<CodeBlockWithCopy language="json">{`{
"transactionRefId": "string",
"transactionRefId": "string (may be empty for timeout failures)",
"trace_id": "string",
"operatorRefId": "string",
"status": "Successful | Failure",
Expand All @@ -58,7 +58,7 @@ The system appends specific routes to your base `webhook_url` based on the event

| Field | Type | Description | Mandatory? |
|-------|------|-------------|------------|
| `transactionRefId` | string | Transaction reference ID from the original recharge request | Yes |
| `transactionRefId` | string | Transaction reference ID from the original recharge request | Yes (may be empty) |
| `trace_id` | string | System reference number (internal trace ID) | Yes |
| `operatorRefId` | string | Operator transaction ID (if available) | No |
| `status` | string | Transaction status - one of: `"Successful"`, `"Failure"` | Yes |
Expand Down Expand Up @@ -112,6 +112,28 @@ The system appends specific routes to your base `webhook_url` based on the event
</details>
</Card>

<Card padding="nano" shape="rounded">
<details>
<summary>
<Text weight="600" marginBottom="none">
Payment status webhook example (Timeout failure)
</Text>
</summary>
<CodeBlockWithCopy language="json">
{`{
"transactionRefId": "",
"trace_id": "SYS-ABC-125",
"status": "Failure",
"amount": "99.00",
"mobile_number": "9876543210",
"provider": "Airtel",
"failureReason": "Transaction timed out",
"timestamp": "2026-01-09T11:56:26+05:30"
}`}
</CodeBlockWithCopy>
</details>
</Card>

<hr class="primary" />

### 2. Payment Reversal Webhook
Expand Down
Loading