patch https://payusandbox-kong.pc.enstage-sas.com/uat/sbx/limitService/api/limit/v2/control/card
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/limitService/api/limit/v2/control/card |
Production | Contact your WIBMO KAM or support. |
Sample request
curl --request PATCH \
--url https://payusandbox-kong.pc.enstage-sas.com/uat/sbx/limitService/api/limit/v2/control/card \
--header 'X-Consumer-Custom-ID: F42BC4E7B801C834B630DE498473533F' \
--header 'bankId: 6060' \
--header 'clientId: 1060' \
--header 'content-type: application/json' \
--header 'entityId: 100' \
--header 'secureCode: pu8gSMLNE7pNv36IlUmstU' \
--header 'x-api-key: 4A02C4267C9A97A1488AB3259FD1A725' \
--data '
{
"token": "0fnfhBHTiNC6eLz1jcloj692dOXvIhpdj18IH3DWbOWPUy/yz3KUMGnInDjWziWptUE8EKmtDkwAavsvaklWxxqyjTapdv7GcFbwMOIp1io="
}
'
Response parameters (Decrypted)
This API will provide a token in the response that must be decrypted using the Decrypt API. The decrypted response is similar to the following:
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)
{
"token": "edf6qNSjeDWepbl9Ju2NggQajV7fbHVNiP4RNpVYn7amjmHt8iIEs++P5H626P9VKMc+1nkzxnF089uje2cgvBvGyNb5gNY1Tv+pfB8/CBBW+dCMmBhLsmbOryr2fRJLHKLPRi8hFdOIOofwn2HP1yt+kEYpQqRQuynQKdIkCV/a7XBgtGYrZtjVWtLiUhLT2+fS7f33bo/UUBcbVjLdLszi/KRwtorzZ7SbcuijXTyPEv3SqJeHTk3PBvGG3kolwbDauUoGWHHqRxuWcECAdCV6RD9CCAoMKHRK8Pq4Fiv7jFzek+k10AUcFqWaipDJpgpzbQGk05JhXfWUL6+8o3f50lour1xn8alcbXPcSEE3xus4/Q44TOxKSZz12dUvt5Rq9I6fft8UdTXr37i1UTdvN3Q4Rq5RiT8F/vtA/1pFQj2JypTK2d9KaG+dFrE6DNamCewYpZrgKOchi+Jczlhhocxk2P57WZoX1uZsoqI="
}