WebHook
Brief Description
Request Method
参数
Parameter | Type | Description |
---|---|---|
auth_id | string | Transaction ID |
cardId | string | Card ID |
auth_time | string | Authorization time |
auth_amount | double | Authorized amount |
auth_currency | string | Authorization currency |
settle_amount | double | Settlement amount |
settle_currency | string | Settlement currency |
status | string | Transaction status |
type | string | Transaction type |
merchant_name | string | Merchant name |
create_time | string | Creation time |
description | string | Transaction details (failure info) |
Request Example
{
"auth_id": "545645*****",
"card_id": "card4156132878******",
"auth_time": "2024-12-03 15:55:20",
"auth_amount": 0.32,
"auth_currency": "USD",
"settle_amount": 0.32,
"settle_currency": "USD",
"status": "COMPLETE",
"type": "Authorization",
"merchant_name": "FACEBK *WJJQCG4BC2 ",
"create_time": "",
"description": ""
}
Response Example Explanation (To confirm successful receipt, a response must be returned; if no response is received, the webhook will retry sending up to three times by default.)
{
"code":0,
"msg":"ok"
}