# Callback Notification

**Endpoint:** `/yourCallbackURL`\
**Method:** `POST`

#### Headers

* `bodySign`: Body Signature

**Callback Parameter:**

| Name                      | Description                  |
| ------------------------- | ---------------------------- |
| `user_id`                 | Merchant user id             |
| `merchant_transaction_id` | Merchant transaction id      |
| `status_code`             | Status code of transactions  |
| `payment_method`          | Transaction Payment Method   |
| `amount`                  | Amount Transaction           |
| `status`                  | Status of transactions       |
| `currency`                | Currency used for payment    |
| `item_name`               | Item Name Transaction        |
| `item_id`                 | Item id                      |
| `reference_id`            | Transaction id from our side |

#### Example Request:

```json
{
  "user_id": "53g4h5327",
  "merchant_transaction_id": "238574542h6",
  "status_code": 1000,
  "payment_method": "telkomsel_airtime",
  "amount": "10000",
  "status": "success",
  "currency": "IDR",
  "item_name": "Test Coin 10000",
  "item_id": "452562",
  "reference_id": "0196aa25-1c50-7ea0-8c06-58493ce8b5e1"
}
```

**Status Code**

| Status Code | Description                              |
| ----------- | ---------------------------------------- |
| 1000        | Success / Payment Complete               |
| 1001        | Created                                  |
| 1002        | Waiting for Payment                      |
| 1003        | Waiting for Notification / Send Callback |
| 1005        | Failed / Expired                         |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://redpay.gitbook.io/redpay-docs/callback-notification.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
