Activate The Card

This API is used to activate the card. Once a card is created for an account, it is inactive until the account activates it.

  • Path: /api/v1/card/active

  • 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

pin

string

YES

The pin number which will be used for card transactions.Character length is 4.number only

sign

string

YES

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

  • Example

    {
      api_key: 'fd01a53d7834b06c080cd1024ae9c60a',
      request_id: '6bd5c3c256824bd6b3f8d47adfe60f9a',
      timestamp: '1683293861132',
      username: 'lili12',
      kit_number: '111111',
      pin: '1213',
      sign: 'ad990a3c8062c193720cda3ca09c3af9'
    }

    signature example:MD5(fd01a53d7834b06c080cd1024ae9c60alili12168329386113216388ce4331b35e8e0d32777ba57d7d96bd5c3c256824bd6b3f8d47adfe60f9a)

  • Response

Key
Type
Comments

code

number

Response code

msg

string

Response message

  • Example

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

Last updated