CardActive API
Endpoints
Live POST
https://pay.onlinepay.ai/card/active
Sandbox POST
https://testpay.onlinepay.ai/card/active
Request Parameters
Basic Information
Parameter | Type | Required | Description |
---|---|---|---|
merNo | Integer | Yes | Merchant Number, Unique identifier assigned to the merchant by the onlinepay payment platform when registering with onlinepay |
cardNo | String | Yes | card number |
cvv | String | Yes | |
expireDate | String | Yes | |
idNumber | String | Yes | idCard number |
birthday | String | Yes | YYYYMMDD |
sign | string | Yes | Signature, MD5(merNo+cardNo+cvv+expireDate+idNumber+birthday+privateKey) or RSA |
Example Request
{
"merNo": "104001001",
"cardNo": "4083870020395826",
"cvv": "111",
"expireDate": "2905",
"idNumber": "331001200001010011",
"birthday": "20000101",
"sign": "e8b6b0b9f0b0f8b0b8b0a0b0c0d0e0f"
}
Responses Body
Parameter | Type | Required | Description |
---|---|---|---|
code | string | Yes | If the value is 00000, it will return success, other please refer to Error Code |
message | string | Yes | Interface returns description |
Example Responses
{
"code":"00000",
"message":"SUCCESS"
}