Card Status Notification

This API is used to notify new card status

  • 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

card_ids

array

YES

Card id; Get from "Create Account"

op_status

number

YES

22:Preparing; 10: Mailed; 6:Active; 8:block;

sign

string

YES

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

  • Example

    {
      api_key: 'fd01a53d7834b06c080cd1024ae9c60a',
      request_id: '0f817ab66154454fadeea20ae2bfecc2',
      timestamp: '1682075328711',
      card_ids: ['300ff6a8122c4f0498fee1b59e9970e9'],
      op_status: 22,
      sign: '786b0623ead8c40049265e03497af503'
    }

    signature example:MD5(fd01a53d7834b06c080cd1024ae9c60a168207532871116388ce4331b35e8e0d32777ba57d7d90f817ab66154454fadeea20ae2bfecc2)

  • Response

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

Last updated