patch https://payusandbox-kong.pc.enstage-sas.com/uat/sbx/api/onboarding/v2/transactionProfile
The Card Wallet Channel Control API will be used to enable/disable the ECom/PoS/ATM transactions for the card.
Environment
Sandbox | https://payusandbox-kong.pc.enstage-sas.com/uat/sbx/api/onboarding/v2/transactionProfile |
Production | Contact your WIBMO KAM or support. |
Sample request
curl --request PATCH \
--url https://payusandbox-kong.pc.enstage-sas.com/uat/sbx/api/onboarding/v2/transactionProfile \
--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": "lJDa/wRlUCtCEQz1ItXbiQTXSmkAUj5+OsBWbNgkGFQf/+8kuRbY/beo+ncYomI4WnOZZNNzMXhltlglzZ/b+PcVP1hLF4v7Zdc/q2Hqig6XGFnY0OI8wY57wkozVyVWEMbSnhiL97s5CAiaRXCaCAWN3F+8kt9b08PeB5s/8acKsdk3Id4pNldWPebORA2lMcwHjNhXslRu3e97saSNKKORMSgnHIaj5uM6piZoa0zC2T/uZ2uprQD9YtCjK+KKCKiOrlOdW7KYUk9DiJpM8plR4IMa/MGn8lC3E3bex5/zwEBmtyoGNiSrJFgsyi2A"
}
'
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:
Parameter | Type | Parameter Requirement | Description | a |
---|---|---|---|---|
messageCode | numeric(4) | Mandatory | Unique API identifier. | |
clientTxnId | string(100) | Mandatory | Echoed from the request. | |
responseDateTime | numeric(14) | Mandatory | Response date time in the format YYYYMMDDHHMMSS with time in 24-hour format | |
accosaTransactionId | numeric(10) | Mandatory | Unique ID for a particular transaction generated in Prepaid system. | |
responseCode | string(4) | Mandatory | Represents the status of the transaction. | |
responseMessage | String(100) | Optional | Response message based on the response code. | |
bankId | numeric(4) | Mandatory | Echoed from the request. | |
clientId | String(15) | Mandatory | Echoed from the request. | |
description | String(100) | Optional | Reserved field to send information to client | |
urn | numeric(11) | Mandatory | Echoed from the request. | |
customerId | string(20) | Optional | Unique ID for the Customer reference. | |
transactionProfileId | numeric(2) | Mandatory | Echoed from the request. | |
status | boolean | Mandatory | Echoed from the request. | |
updateFlag | String(20) | Mandatory | Status of the transaction channel update. Success/Failure. | |
transactionType | boolean | Mandatory | Echoed from the request. |
Sample response
{
"urn": 70000000008,
"customerId": "1665383043918",
"description": "Transaction Status Update",
"responseCode": "00",
"messageCode": 3071,
"clientTxnId": "transProfile010",
"clientId": "2000",
"responseDateTime": "20221019234516",
"accosaTransactionId": 497619,
"responseMessage": "SUCCESS",
"bankId": 7000,
"transactionProfile": [
{
"transactionProfileId": 1,
"status": false,
"updateFlag": "SUCCESS",
"transactionType": "e-Com"
}
]
}
API Response Code
Error Code | Description |
---|---|
00 | SUCCESS |
1001 | CARD_NOT_FOUND |
1030 | INVALID MESSAGE |
1031 | INVALID BANK ID |
1032 | INVALID_CLIENT_CHANNEL |
1049 | INVALID SECURE CODE |
1051 | CHECKSUM FAILURE |
1052 | SYSTEM_ERROR |
1055 | MALFORMED_REQUEST |
1058 | INVALID WALLETS |
1080 | IP_NOT_ALLOWED |
1081 | OPERATION NOT ALLOWED |
1084 | CARD_CUSTOMER_ID_MISMATCH |
1088 | INVALID REQUEST DATE format |
1093 | INVALID CLIENT TXN ID |
1262 | CLIENT ID NOT PRESENT |
1264 | BANK ID NOT PRESENT |
1303 | CUSTOMER DETAILS NOT PRESENT |
1310 | XCONSUMERKEY NOT PRESENT |
1311 | SECURE CODE NOT PRESENT |
1320 | REQUEST_DATETIME_IS_MANDATORY |
1348 | TRANSACTION_PROFILE_IS_MANDATORY |
1349 | INVALID_TRANSACTION_TYPE |
1350 | TRANSACTION_PROFILE_STATUS_IS_MANDATORY |
1351 | TRANSACTION_TYPE_NOT_CONFIGURED |
1352 | TRANSACTION_PROFILE_NOT_CONFIGURED |
1370 | INVALID ENABLEMENT TYPE |
1362 | SUBWALLET ID AND ACCOUNT NUMBER BOTH CANNOT BE PASSED |
1377 | TRANSACTION PROFILE AND TRANSACTION TYPE MISMATCH |
1500 | SYSTEM ERROR |