跳转至

付款提醒

提醒用户待支付订单

HTTP 请求

POST /v1/whatsapp/message/send/PAYMENT_REMINDER

Payment Reminder 请求

Request Headers
{
  "Content-Type": "application/json",
  "Authorization": "Bearer {{access_token}}",
  "x-api-key": "{{api_key}}"
}
Request Body
{
  "phone": "11987654321",
  "countryCallingCode": "+55",
  "customerName": "Austin Bu",
  "redirectLink": "https://www.liquido.com",
  "headerImage": "https://static.wikia.nocookie.net/c__/images/6/6b/Quote.jpg/revision/latest?cb=20110107214657&path-prefix=cavestory",
  "currency": "BRL",
  "amountInCents": "100",
  "vendor": "LIQUIDO",
  "createTime": "2022-04-28 10:00:00",
  "idempotentKey": "gBGGFRBQmGUvAg"
}
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."
}
Request Headers 字段说明
参数
Authorization "bearer" + " " + {{access_token}}
x-api-key {{api_key}}
Request Body 字段说明
参数 必填 类型 描述
phone String 电话号码,不包含国家编码
countryCallingCode String 国家编码, 如:中国“+86”
customerName String 客户名称
redirectLink String 重定向链接
headerImage String 消息头部图片
currency String 货币代码, 如:人民币"RMB"
amountInCents Long 订单金额,单位:分
createTime String 支付记录创建时间
vendor String Liquido的支付订单填"LIQUIDO", 其他的填"OTHER". 用来做数据统计
idempotentKey String 幂等Id
回到页面顶部