Card information pre-verification
Interface address: /api/v1/card/valid
Note: Through this interface, you can pre-verify the card information.
| Parameter | Type | Mandatory | Description |
|---|
| userId | String | Y | User's unique tag |
| merchantUserId | String | Y | The merchant side user ID, if transmitted, will be bound to the OSL Pay user. |
| ip | String | Y | IP address |
| cardNumber | String | Y | Card number |
| expiryMonth | String | Y | Validity month |
| expiryYear | String | Y | Validity year |
| businessType | String | Y | Business type: BUY/SELL |
| firstName | String | Y | firstName |
| lastName | String | Y | lastName |
Output parameters
| Parameter | Type | Mandatory | Description |
|---|
| status | String | Y | Verification status 0: Passed 2: Card authenticity verification failed 3: Card bin blacklist 4: Card issuing country blacklist restrictions |