Card Transactions Status To Voided Notification

This API is used to notify card transactions status to Voided

  • URL (Set in the management system)

  • Method: POST

  • Content-Type

    application/json

  • Headers

Key
Type
Required
Comments

authorization

string

YES

Authorization Header

  • Body

Key
Type
Required
Comments

api_key

string

YES

api key

request_id

string

YES

Unique id; the shortest is 20 characters, the longest is 64 characters

timestamp

string

YES

13-digit; Valid for plus or minus 30 seconds

sign

string

YES

sign: MD5(api_key+timestamp+secret+request_id) lowercase hex

transaction_ids

array

YES

transaction id array

  • Example

    {
      transaction_ids: [ 'c9e5b4fb257641bdbd632ec42647c5e6' ],
      timestamp: '1701689169309',
      request_id: '19eac333cc3b4f8782508532e2dcca23',
      api_key: 'ac97c403062e94a094131aa332df6458',
      sign: 'a8afd47810df5bae1fcc3a9d9e9c12dd'
    }

    signature example:MD5(ac97c403062e94a094131aa332df64581701689169309a446b6660552582e08b043b84634e1fe19eac333cc3b4f8782508532e2dcca23)

  • Response

    {
      "code": 10200,
      "msg": "ok"
    }

Last updated