VM_API
English
  • 简体中文
  • English
  1. Notification
VM_API
English
  • 简体中文
  • English
  • Integration Guide
  • Environment Configuration
  • Global Error Codes
  • Stored Value Card
    • Apply for Card
      POST
    • Card Details
      POST
    • Freeze/Unfreeze Card
      POST
    • Delete Card
      POST
    • Card Top-up
      POST
    • Card Refund
      POST
    • Transaction Records
      POST
    • Get Card Product Code
      POST
    • Get Account Balance
      POST
  • Notification
    • WebHook
  • Get accessToken
    GET
  1. Notification

WebHook

Brief Description#
Webhook Notification
Request Method#
POST
参数#
ParameterTypeDescription
auth_idstringTransaction ID
cardIdstringCard ID
auth_timestringAuthorization time
auth_amountdoubleAuthorized amount
auth_currencystringAuthorization currency
settle_amountdoubleSettlement amount
settle_currencystringSettlement currency
statusstringTransaction status
typestringTransaction type
merchant_namestringMerchant name
create_timestringCreation time
descriptionstringTransaction 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"
}
Remarks#
For more error codes, please refer to the error code descriptions on the homepage.
上一页
Get Account Balance
下一页
Get accessToken
Built with