Get Card Unsettled Transaction

This API is used to get card's unsettled transaction details.

  • Path: /api/v1/card/getUnsettledTransaction

  • 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

username

string

YES

Unique username of the account.

kit_number

string

YES

Show on card

sign

string

YES

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

  • Example

    {
      api_key: 'fd01a53d7834b06c080cd1024ae9c60a',
      request_id: '0f817ab66154454fadeea20ae2bfecc2',
      timestamp: '1682075328711',
      username: 'lili111',
      kit_number: '2000001791317913',
      sign: '90f158bc350412a421891aead6abe553'
    }

    signature example:MD5(fd01a53d7834b06c080cd1024ae9c60alili111168207532871116388ce4331b35e8e0d32777ba57d7d90f817ab66154454fadeea20ae2bfecc2)

  • Response

Key
Type
Comments

code

number

Response code

msg

string

Response message

data

object

details

Key
Type
Comments

list

Transaction list

object details

Key
Type
Comments

timestamp

number

timestamp

amount

string

Transaction amount. e.g "+10.23" "-102.32"

category

string

Transaction category.CR have positive "+" amounts.DR have negative "-" amounts Appendix I: Transaction Category Example

detail

string

Transaction detail

transaction_id

string

Unique transaction id

transaction_status

number

Transaction status. 1:approved(most transactions are approved) 2:voided(transactions that are stopped by merchants). The transaction status may change from approved to voided.

txn_date

string

Transaction date

base_currency

string

  • Example

最后更新于