Modify Card Operating Status

This API is used to modify card operating status. If cause type is "Stolen/Lost" or "Fraud", card will be blocked.

  • Path: /api/v1/card/modifyOpStatus

  • 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.

card_id

string

YES

Card id; Get from "Create Account"

op_status

number

YES

11: Card Issue

op_cause_type

number

YES

Cause type: 1: Stolen/Lost; 2: Damaged;5: Activation Issue;6: Reset PIN issue;7: Delivery Issue; 8: Fraud

issue_transaction_id

string

Optional

Transaction id of Fraud card; Required if op_cause_type is 8

issue_date

string

Optional

Date of Fraud card; Required if op_cause_type is 8

issue_amount

string

Optional

Amount of Fraud card; Required if op_cause_type is 8

issue_merchant

string

Optional

Merchant name of Fraud card; Required if op_cause_type is 8

issue_text

string

Optional

Remarks on fraudulent card; Required if op_cause_type is 8

sign

string

YES

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

  • Example

    {
      api_key: 'fd01a53d7834b06c080cd1024ae9c60a',
      request_id: '1b608ec128f34834a176f70d7ca6e3f7',
      timestamp: '1683293970762',
      username: 'lili12',
      card_id: '4b7e1f659b2f413e8863ec88004ba1f8',
      op_status: 11,
      op_cause_type: 1,
      sign: '6d97e5373268d92bf9e799121899b7f4'
    }

    signature example:MD5(fd01a53d7834b06c080cd1024ae9c60alili12168329397076216388ce4331b35e8e0d32777ba57d7d91b608ec128f34834a176f70d7ca6e3f7)

  • Response

Key
Type
Comments

code

number

Response code

msg

string

Response message

  • Example

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

Last updated