存款回调 (运营商)

在运营商发送付款请求到 dopayment / deposit 后,提供商将处理请求。一旦提供商收到交易状态(成功或失败),提供商将调用此API以转发交易状态。

对于 key 参数,您需要使用 api_keyapi_secret 进行解密。除了 key 参数,我们还会发送 transaction_code 参数和 transaction_no 参数,这些参数未加密。

cURL
curl --request POST \
--url https://staging.s88pay.net/api/v1/transaction/resend-callback/SKU20210909025705 \
--header 'Content-Type: application/json' \
--data '{
"key": "<string>",
"transaction_code": "<string>",
"transaction_no": "<string>"
}'

参数

  • Name
    transaction_code
    Type
    string
    Description
    运营商在付款请求中发送的交易代码。
  • Name
    transaction_status
    Type
    integer
    Description
    存款交易的状态。
  • Name
    transaction_amount
    Type
    double
    Description
    交易金额。
  • Name
    transaction_fee
    Type
    double
    Description
    交易费用。
  • Name
    currency_code
    Type
    string
    Description
    货币代码,请参阅货币列表。
  • Name
    transaction_no
    Type
    string
    Description
    提供商数据库中的交易代码。
  • Name
    transaction_actual_amount
    Type
    double
    Description
    会员实际支付的金额。

解密参数后,您将看到响应对象如下:

响应对象
{
"transaction_code": "DP-16873xxxxx",
"transaction_status": 2,
"transaction_amount": "510.00",
"transaction_fee": "5.10",
"currency_code": "BDT",
"transaction_no": "DP16873387xxxxx",
"transaction_actual_amount": "504.9"
}