付款成功提醒
提醒用户订单已支付
HTTP 请求
POST
/v1/whatsapp/message/send/PAYMENT_SETTLED_NOTIFICATION
Payment Settled 请求
Request Headers{
"Content-Type": "application/json",
"Authorization": "Bearer {{access_token}}",
"x-api-key": "{{api_key}}"
}
Request Body{
"phone": "11987654321",
"countryCallingCode": "+55",
"customerName": "Austin Bu",
"trackingLink": "https://www.liquido.com",
"orderId": "13490123",
"currency": "BRL",
"amountInCents": "100",
"contactInfo": "support@liquido.com",
"conversionId": "GUvAglCIx"
}
Content-Type: application/json{
"resultCode": 200,
"msgId": "gBGGFRBQmGUvAglCIxywFV5mRRY"
}
Content-Type: application/json{
"resultCode": "601",
"errorMessage": "This phone number does not have an associated whatsapp account."
}
Content-Type: application/json{
"resultCode": "500",
"errorMessage": "Server internal error."
}
参数 |
值 |
Authorization |
"bearer" + " " + {{access_token}} |
x-api-key |
{{api_key}} |
Request Body 字段说明
参数 |
必填 |
类型 |
描述 |
phone |
|
String |
电话号码,不包含国家编码 |
countryCallingCode |
|
String |
国家编码, 如:中国“+86” |
customerName |
|
String |
客户名称 |
redirectLink |
|
String |
重定向链接 |
orderId |
|
String |
订单Id |
currency |
|
String |
货币代码, 如:人民币"RMB" |
amountInCents |
|
String |
订单金额,单位:分 |
contactInfo |
|
String |
联系方式 |
idempotentKey |
|
String |
幂等Id |