# OTP Information Notification

### **Webhook** URL <a href="#payin-by-creditcard" id="payin-by-creditcard"></a>

&#x20;     REQUEST BODY SCHEMA: application/json required

### **Webhook Body(Notify)**

<table><thead><tr><th width="259">Name</th><th>Type</th><th>Description</th></tr></thead><tbody><tr><td>partner_id</td><td>string</td><td>Assigned by Pagsmile</td></tr><tr><td>timestamp<mark style="color:red;">*</mark></td><td>string</td><td>yyyy-MM-dd HH:mm:ss - Max. 19 chars -</td></tr><tr><td>version<mark style="color:red;">*</mark></td><td>string</td><td>Fixed value 1.0</td></tr><tr><td>random_key</td><td>string</td><td>Reserved fields</td></tr><tr><td>sign_type</td><td>string</td><td><p>Reserved fields，</p><p>If the field is empty, no encryption is required</p></td></tr><tr><td>request_id<mark style="color:red;">*</mark></td><td>string</td><td>Request serial number, globally unique.</td></tr><tr><td>notify_type<mark style="color:red;">*</mark></td><td>integer</td><td>Refer to <a href="../../data/dictionary-item/webhooktype">webhookType</a></td></tr><tr><td>biz_data<mark style="color:red;">*</mark></td><td>obj</td><td>Business params</td></tr></tbody></table>

**biz\_data**

| Name                                                | Type   | Description                         |
| --------------------------------------------------- | ------ | ----------------------------------- |
| validation\_value<mark style="color:red;">\*</mark> | string | OTP Value                           |
| card\_token<mark style="color:red;">\*</mark>       | string | Card Token                          |
| card\_pan<mark style="color:red;">\*</mark>         | string | Card PAN                            |
| amount<mark style="color:red;">\*</mark>            | string | Amount                              |
| currency<mark style="color:red;">\*</mark>          | string | Currency                            |
| created\_seconds<mark style="color:red;">\*</mark>  | long   | <p>Created Seconds<br>Timestamp</p> |
| merchant\_name                                      | string | Merchant Name                       |

### Response Example <a href="#example" id="example"></a>

http code :

{% tabs %}
{% tab title="200～299:success" %}

```json
{
    "biz_data": {
        "merchant_name": "xxxx",
        "validation_value": "192200",
        "amount": "0.00",
        "currency": "USD",
        "card_token": "12398711482",
        "card_pan": "658705******1110",
        "created_seconds": 1741751417
    },
    "notify_type": 6,
    "partner_id": "100021",
    "timestamp": "2025-01-01 03:50:30",
    "version": "1.0",
    "request_id": "IC00000000000000",
    "sign_type": "",
    "app_id": ""
}
```

{% endtab %}

{% tab title="other fail" %}

<pre><code><strong>Retry 7 times.
</strong>
Delay time：10s 1m 5m 30m 2h 6h 24h
</code></pre>

{% endtab %}
{% endtabs %}
