> For the complete documentation index, see [llms.txt](https://docs.pagsmile.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pagsmile.com/reference/remittance-api/business/payment/payment-result-notification.md).

# Payment Result Notification

Notifies the partner when a payment order changes status and provides the settlement, fee, refund, and error details required for reconciliation.

**Notification delivery**

Pagsmile sends an HTTP `POST` request to the webhook URL configured for your integration.

**Content-Type:** `application/json; charset=UTF-8`

The notification uses the [Webhook Common envelope](https://docs.pagsmile.com/remittance-api/business/webhook/webhook-common). The fields below describe the decrypted `biz_data` object.

{% hint style="info" %}
**Requirement:** `M` = Mandatory, `O` = Optional, and `C` = Conditional. A conditional field is mandatory only when the condition stated in its description applies.
{% endhint %}

**Notification body**

**Decrypted `biz_data` fields**

| Field                   | Type    | Requirement | Description                                                                                                                                                                                                                                               |
| ----------------------- | ------- | ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `order_id`              | long    | M           | Pagsmile-assigned unique identifier of the order.                                                                                                                                                                                                         |
| `merchant_id`           | long    | M           | Pagsmile-assigned unique identifier of the merchant associated with the notification.                                                                                                                                                                     |
| `account_no`            | string  | O           | Merchant account number from which the payment amount is debited.                                                                                                                                                                                         |
| `transaction_id`        | long    | O           | Pagsmile-assigned unique identifier of the transaction.                                                                                                                                                                                                   |
| `order_no`              | string  | M           | Merchant-defined order number used to submit, query, and reconcile the payment order.                                                                                                                                                                     |
| `order_status`          | integer | M           | <p>Current processing status of the order.<br>See <a href="https://docs.pagsmile.com/reference/remittance-api/data/dictionary-item/order-status">Order Status</a> for supported values.</p>                                                               |
| `audit_status`          | integer | O           | <p>Current compliance or material review status of the record.<br>Supported values:<br><code>1</code> — Reviewing<br><code>2</code> — Approved<br><code>11</code> — Rejected<br><code>7</code> — To be linked<br><code>15</code> — To be supplemented</p> |
| `bank_country`          | string  | O           | Two-letter ISO 3166-1 alpha-2 code of the country where the bank account is held.                                                                                                                                                                         |
| `payment_currency`      | string  | O           | Three-letter ISO 4217 code of the payment currency.                                                                                                                                                                                                       |
| `payment_amount`        | string  | O           | Payment amount expressed in the payment currency.                                                                                                                                                                                                         |
| `fee`                   | string  | O           | Service fee charged for the transaction, expressed in the corresponding currency.                                                                                                                                                                         |
| `payed_at`              | string  | O           | <p>Date and time when the order was paid.<br>Format: <code>yyyy-MM-dd HH:mm:ss</code>.</p>                                                                                                                                                                |
| `refund_transaction_id` | long    | O           | Pagsmile-assigned unique identifier of the refund transaction.                                                                                                                                                                                            |
| `return_fee`            | string  | O           | Fee returned as part of the refund or reversal.                                                                                                                                                                                                           |
| `refunded_at`           | string  | O           | <p>Date and time when the refund was completed.<br>Format: <code>yyyy-MM-dd HH:mm:ss</code>.</p>                                                                                                                                                          |
| `beneficiary_name`      | string  | O           | Name of the payment beneficiary.                                                                                                                                                                                                                          |
| `beneficiary_id`        | long    | O           | Pagsmile-assigned unique identifier of the payment beneficiary.                                                                                                                                                                                           |
| `reference`             | string  | O           | Merchant-provided reference used to reconcile the transaction with the merchant's internal records.                                                                                                                                                       |
| `error_message`         | string  | O           | Human-readable explanation provided when processing fails.                                                                                                                                                                                                |
| `created_at`            | string  | O           | <p>Date and time when the payment order was created.<br>Format: <code>yyyy-MM-dd HH:mm:ss</code>.</p>                                                                                                                                                     |

**Plaintext `biz_data` example**

{% hint style="info" %}
This example includes mandatory fields and representative optional or conditional fields. Submit fields marked `C` only when the condition in the field description applies.
{% endhint %}

```json
{
  "order_id": 100001,
  "merchant_id": 100398,
  "account_no": "1234567890",
  "transaction_id": 100001,
  "order_no": "ORDER_202607200001",
  "order_status": 1,
  "audit_status": 1,
  "bank_country": "BR",
  "payment_currency": "USD",
  "payment_amount": "100.00",
  "fee": "100.00",
  "payed_at": "2026-07-20 10:30:00",
  "refund_transaction_id": 100001,
  "return_fee": "100.00",
  "refunded_at": "2026-07-20 10:30:00",
  "beneficiary_name": "Example Name",
  "beneficiary_id": 100001,
  "reference": "Example reference",
  "error_message": "Beneficiary account is invalid",
  "created_at": "2026-07-20 10:30:00"
}
```

**Acknowledgment**

Return any HTTP `2xx` status to acknowledge successful receipt. Any other status is treated as a delivery failure.

{% hint style="warning" %}
Failed deliveries are retried up to 7 times after approximately 10 seconds, 1 minute, 5 minutes, 30 minutes, 2 hours, 6 hours, and 24 hours. Process notifications idempotently because the same event may be delivered more than once.
{% endhint %}

**Related APIs**

* [Create Beneficiary](https://docs.pagsmile.com/remittance-api/business/payment/create-beneficiary)
* [Create Payment Order](https://docs.pagsmile.com/remittance-api/business/payment/create-payment-order)
* [Delete Beneficiary](https://docs.pagsmile.com/remittance-api/business/payment/delete-beneficiary)
* [Query Beneficiary Detail](https://docs.pagsmile.com/remittance-api/business/payment/query-beneficiary-detail)
* [Query Payment Fields](https://docs.pagsmile.com/remittance-api/business/payment/query-payment-fields)
* [Query Payment Orders](https://docs.pagsmile.com/remittance-api/business/payment/query-payment-orders)
* [Update Beneficiary](https://docs.pagsmile.com/remittance-api/business/payment/update-beneficiary)
