Bank Card Activation

POST Bank Card Activation

POST /api/mastercard/masterCardBind.html

Bank card activation: Activation status: 1 - Success, 2 - Failure

Request Body

{
  "cardId": "card123456",
  "cardNo": "1234567890",
  "holderId": "holder123456",
  "randomStr": "abcdef1234567890"
}

Request Parameters

Name
Type
Required
Base64 Encoding
Field Name
Description

cardId

string

false

none

Card token

Either cardId or cardNo must be provided

cardNo

string

false

none

Card number

Either cardId or cardNo must be provided

holderId

string

true

none

Cardholder ID

Cardholder ID

randomStr

string

true

none

Randomstr

A random string of 32 characters

Example Response

200 Response

{
    "activeStatus": 1,
    "errMsg": "Activation successful, 1: Success, 2: Failure"
  
}

Response Fields

Name
Type
Required
Constraints
Description

activeStatus

integer

true

none

Activation status: 1 - Success, 2 - Failure

errMsg

string

true

none

Status description

Last updated