Appearance
Confirm User Card
Endpoint details
Method:
POST
URL: BASE_URL/merchant/userCard/confirmUserCardCreate/
Header:
plaintext
api-key: kfggfgf.given_api_key_by_paylovRequest body
| Fields | Type | Required | Description |
|---|---|---|---|
| cardId | string | Yes | cid that is sent in “create user card” response |
| otp | string | Yes | SMS code |
| cardName | string | No | |
| pinfl | string | No | The PINFL (Personal Identification Number of an Individual) associated with the card |
json
{
"cardId": "string",
"otp": "string",
"cardName": "string",
"pinfl": "07803684736125"
}Success response
json
{
"result": {
"card": {
"userId": "1",
"cardId": "78a353ww-c4ff-42ee-qq0f-2a73baa5db4f",
"owner": "KAMINA KAMINA",
"cardName": "",
"number": "860000******9999",
"balance": 98280731,
"expireDate": "2612",
"bankId": "14",
"vendor": "Uzcard",
"processing": "Uzcard",
"status": {
"sms_info": true,
"is_active": true,
"status_message": "active"
},
}
},
"error": null
}Fail response
json
{
"result": null,
"error": {
"code": "card_is_already_activated",
"message": "card_is_already_activated"
}
}Status field might include error response