Deposit Callback (Operator)

After the operator sends a payment request to dopayment / deposit, the provider will process it. Once the provider receives the transaction status ( success or failure ), the provider will call this API to forward the transaction status.

For key, you need to decrypt with api_key and api_secret. Besides the key, we also send the transaction code in the transaction_code parameter and the transaction number in the transaction_no parameter, which is not encrypted.

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>"
}'

Parameters

  • Name
    transaction_code
    Type
    string
    Description
    The transaction code that is sent by the operator on dopayment.
  • Name
    transaction_status
    Type
    integer
    Description
    The status of the deposit transaction.
  • Name
    transaction_amount
    Type
    double
    Description
    The amount of the transaction.
  • Name
    transaction_fee
    Type
    double
    Description
    The amount of fee transaction.
  • Name
    currency_code
    Type
    string
    Description
    Currency Code, please refer to currency list.
  • Name
    transaction_no
    Type
    string
    Description
    The transaction code on the provider’s database.
  • Name
    transaction_actual_amount
    Type
    double
    Description
    The actual amount paid by the member.

After decrypting the parameters, you will find that the response object are:

Response Object
{
"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"
}