Authorization Details Notification

Real-time authorization attempt notifications.

Webhook URL

REQUEST BODY SCHEMA: application/json required

Webhook Body(Notify)

Name
Type
Description

partner_id

string

Assigned by Pagsmile

sub_partner_id

string

Assigned by Pagsmile

timestamp*

string

yyyy-MM-dd HH:mm:ss - Max. 19 chars -

version*

string

Fixed value 1.0

random_key

string

Reserved fields

sign_type

string

Reserved fields,

If the field is empty, no encryption is required

request_id*

string

Request serial number, globally unique.

notify_type*

integer

Refer to webhookType

biz_data*

obj

Business params

biz_data

Name
Type
Description

auth_id

string

Auth ID

data_type

string

Data Type

(cardAuthorization、

cardSettlement、cardAuthorizationExpired)

card_token

string

Card token

card_pan

string

Card Pan

transaction_id

string

Transaction ID

transaction_type

integer

Transaction type

refer to: TransactionType

process_status

integer

Process Status

refer to: ProcessStatus

original_auth_id

string

Original Auth ID

auth_status

integer

Auth status

refer to:AuthStatus

auth_code

string

Auth Code

response_code

string

Response Code:

responseCode

settle_status

integer

Settle Status

refer to:SettleStatus

mcc_code

string

Mcc Code

merchant_id

string

Merchant ID

merchant_name

string

Merchant Name

note

string

Note

transaction_amount

string

Transaction Amount

transaction_currency

string

Transaction Currency

transaction_country_code

string

Transaction Country code

bill_amount

string

Billing Amount

bill_currency

string

Billing Currency

fee

string

Fee

settled_amount

string

Settled Amount

base_exchange_rate

string

Exchange Rate

create_time

string

Create time

Response Example

{
    "biz_data": {
        "auth_id": "100000000058",
        "data_type": "cardAuthorization",
        "card_pan": "658704******1102",
        "card_token": "111093279108",
        "transaction_id": "100000091288",
        "transaction_type": 151,
        "process_status": 2,
        "auth_status": 1,
        "auth_code": "000000",
        "response_code": "00",
        "acquirer_id": "0000038172718",
        "mcc_code": "8062",
        "merchant_id": "100000000000 ",
        "merchant_name": "Test Merchant",
        "transaction_amount": "-7.12",
        "transaction_currency": "CNY",
        "transaction_country_code": "CN",
        "bill_amount": "-1.00",
        "bill_currency": "USD",
        "fee": "0.00",
        "settled_amount": "0.00",
        "base_exchange_rate": "0.139897",
        "create_time": "2025-04-10 08:02:06"
    },
    "notify_type": 4,
    "partner_id": "100000",
    "sub_partner_id": "100000",
    "timestamp": "2025-04-10 08:02:06",
    "version": "1.0",
    "request_id": "IC1910000000000000",
    "sign_type": "",
    "app_id": ""
}

Last updated

Was this helpful?