跳转至

恢复未支付款项

恢复未支付的款项

HTTP 请求

POST /v1/whatsapp/message/send/PAYMENT_RECOVERY

Payment Recovery 请求

Request Headers
{
  "Content-Type": "application/json",
  "Authorization": "Bearer {{access_token}}",
  "x-api-key": "{{api_key}}"
}
Request Body
{
  "orderId": "123456",
  "phone": "11987654321",
  "countryCallingCode": "+55",
  "customerName": "Austin Bu",
  "headerImage": "https://static.wikia.nocookie.net/c__/images/6/6b/Quote.jpg/revision/latest?cb=20110107214657&path-prefix=cavestory",
  "currency": "BRL",
  "amountInCents": "10000",
  "createTime": "2023-10-16 10:30:30",
  "notificationUrl": "https://www.liquido.com"
}
Content-Type: application/json
{
  "msgId": "gBGGFRBQmGUvAglCIxywFV5mRRY"
}
Content-Type: application/json
{
  "errors":[
    {
      "code": "601",
      "errorMessage": 
      "This phone number does not have an associated whatsapp account."
    }
  ]
}
Content-Type: application/json
{
  "errors":[
    {
      "code": "500",
      "errorMessage": "Server internal error."
    }
  ]
}
Request Headers 字段说明
参数
Authorization "bearer" + " " + {{access_token}}
x-api-key {{api_key}}
Request Body 字段说明
参数 必填 类型 描述
orderId String 订单Id
phone String 电话号码,不包含国家编码
countryCallingCode String 国家编码, 如:中国“+86”
customerName String 客户名称
headerImage String 产品图片
currency String 货币代码, 如:人民币"RMB"
amountInCents Long 订单金额,单位:分
createTime String 支付记录创建时间
notificationUrl String 通知商家支付结果的连接
回到页面顶部