post https://payusandbox-kong.pc.enstage-sas.com/uat/sbx/api/issuance/v1/cards/customer/link
The **Link Card **API facilitates the association of a physical card with a specific customer account/wallet.
Environment
| Sandbox | <https://payusandbox-kong.pc.enstage-sas.com/uat/sbx/api/issuance/v1/cards/customer/link> |
| Production | Contact your WIBMO KAM or support. |
Sample request
curl --request POST \
--url https://payusandbox-kong.pc.enstage-sas.com/uat/sbx/api/issuance/v1/cards/customer/link \
--header 'X-Consumer-Custom-ID: F42BC4E7B801C834B630DE498473533F' \
--header 'bankId: 6060' \
--header 'clientId: 1060' \
--header 'content-type: application/json' \
--header 'secureCode: pu8gSMLNE7pNv36IlUmstU' \
--header 'x-api-key: 4A02C4267C9A97A1488AB3259FD1A725'Response parameters
| Attribute | Type | Parameter Requirement | Description |
|---|---|---|---|
| messageCode | Numeric (4) | Mandatory | Code to Identity “Link Card” API response |
| clientTxnId | String (100) | Mandatory | Echoed from the request. |
| customerMobile | Numeric (15) | Conditional | Echoed from the request. |
| customerId | String (20) | Conditional | Echoed from the request. |
| urn | Numeric (11) | Mandatory | Echoed from the request. |
| loadAmount | Numeric (12) | Optional | It is the amount for which card needs to be activated, send 0 if card needs to be activated for zero amount. It will be implied decimal by 2 digits. |
| txnfeeAmount | Numeric (12) | Optional | It is the amount which deducted as a transaction fee and won't be loaded to the card. It will be implied decimals. |
Sample response (Decrypted)
{
"urn": 70000001329,
"customerId": "000000000063",
"responseCode": "00",
"messageCode": 3611,
"clientTxnId": "CardLink_20240219120001",
"clientId": "2030",
"responseDateTime": "20240219163123",
"accosaTransactionId": 12291,
"responseMessage": "SUCCESS",
"bankId": 7030,
"customerMobile": "918105863748"
}Response parameters
| Error Code | Description |
|---|---|
| 00 | SUCCESS |
| 1001 | CARD NOT FOUND |
| 1004 | CARD ALREADY ACTIVATED |
| 1031 | INVALID BANK ID |
| 1032 | INVALID CLIENT CHANNEL |
| 1049 | INVALID SECURE CODE |
| 1052 | SYSTEM ERROR |
| 1053 | REQUEST NOT FOUND |
| 1056 | INVALID MESSAGE CODE |
| 1081 | OPERATION NOT ALLOWED |
| 1088 | INVALID DATE FORMAT |
| 1093 | INVALID CLIENT TXN ID |
| 1133 | Card is already expired. Please try with different card |
| 1134 | Card cannot be activated as Minimum Usage validity is 6 months for this Product. |
| 1283 | LOGIN SERVICE INTEGRATION CALL FAILURE |
| 1303 | CUSTOMER DETAILS NOT PRESENT |
| 1320 | REQUEST_DATETIME_IS_MANDATORY |
| 1342 | UNIQUE IDENTIFIER REQUIRED LIKE URN OR CUSTOMERID |
| 1346 | URN IS MANDATORY |
| 1359 | INVALID LOAD AMOUNT |
| 1376 | INVALID UNLOAD AMOUNT |
| 1500 | SYSTEM ERROR |
| 1502 | SYSTEM ERROR |
| 1502 | SYSTEM ERROR |
| 3001 | ACS CARD PUSH API INTEGRATION CALL FAILURE |
| 3002 | ACS CARD PUSH BIN VALIDATION FAILED |
| 5003 | BANK ID NOT WITH CLIENT |
| 9343 | CLIENT TXN ID IS MANDATORY |
| 303178 | Request DateTime Length should not be more than 14 characters |