patch https://payusandbox-kong.pc.enstage-sas.com/uat/sbx/api/onboarding/v3/updateprofile
The Update Profile API will update a cardholder or wallet holder’s profile basis the input details shared. Profile parameters that can be updated are:
- KYC status (E.g. Min KYC to Full KYC).
- Email ID
- Mobile number
- Customer name and address
Note:
It is not recommended to update the customer mobile number if you are using it as an user identifier.
You can share customer’s customer ID, mobile number or URN as customer identifier basis which wallet-holder’s profile will be updated.
Environment
Sandbox | https://payusandbox-kong.pc.enstage-sas.com/uat/sbx/api/onboarding/v3/updateprofile |
Production | Contact your WIBMO KAM or support. |
Sample request
curl --request PATCH \
--url https://payusandbox-kong.pc.enstage-sas.com/uat/sbx/api/onboarding/v3/updateprofile \
--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": "cUVoolx+taCEhY4sg8p6N1AK4Y7FQvwqGRPuxvGhwqx1N0DBEh/qDiwzpyKDJd9qnLe13DOcDjLWXM0evUWUd+kcMrKUcySsDjAjHOruiD/XrMXW5eIuuSY5LqXAtXJmXWu/DkhuJS3MJ4TF9M0Cnqvoxk40gU3Iu8vN0dHEIn1m0oH1YUHLO7l1fm/+C8ZfeNlvo16ba9x3pPFbjMBnoWQ+Gf+abLHrqOrR1W4EUEjFMacnbDSiCoolCi1W9RdlsBk38BRxAXJsHVhpL569irIHMArl0nJMfrKuJzEPrCOsTue2P1W++jyt2+dd6DRZywyGzau9jlVyIqQj8UzI+UWrIob59dRYtKzeUtX0L6CBVU42riQppeIVoX0SnqsKNz3XFZDgDUYuc4qz4L55Rp8SDcN/N/KOuMiqu8kxF6G91NEo3S4VFyEwks51Bm5jhqCeELiUfcGwy1XN9rfVWtiwnZCYwOR3k3AqRwhoT4k="
}
'
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 |
---|---|---|---|
messageCode | numeric(4) | Mandatory | API Unique IDentifier. |
clientTxnId | string(100) | Mandatory | Value echoed from the request |
urn | numeric(11) | Optional | A unique reference number for the card(urn) |
description | string(100) | Optional | Reserved field to send information to client |
cardProfileId | numeric(2) | Mandatory | 150 - Full KYC, 30 – Min KYC, 300- Shortfall KYC |
Sample response (Decrypted)
{
"customerId": "62508ram44910",
"responseCode": "00",
"messageCode": 1281,
"clientTxnId": "12345ramn610012",
"clientId": "2000",
"responseDateTime": "20230804181306",
"accosaTransactionId": 3117,
"responseMessage": "SUCCESS",
"bankId": 7000,
"cardProfileId": 30
}
API response codes (Decrypted)
Error Code | Description |
---|---|
00 | SUCCESS |
1001 | CARD NOT FOUND |
1034 | INVALID_MOBILE_NUMBER |
1050 | INVALID PRODUCT |
1054 | DUPLICATE REQUEST |
1088 | INVALID REQUEST DATE format |
1090 | CARD_PROFILEID_MANDATORY |
1091 | INVALID_CARDPROFILE_ID |
1092 | INVALID_EMAIL_ADDRESS |
1231 | DATA_NOT_FOUND |
1237 | DUPLICATE_MOBILE_NUMBER_WITH_MULTIPLE_ACCOUNT |
1238 | INVALID_VOTERID_NUMBER |
1239 | INVALID_PASSPORT_NUMBER |
1240 | INVALID_ADHAR_NUMBER |
1241 | INVALID_DRIVING_LICENCE_NUMBER |
1242 | INVALID_PAN_NUMBER |
1245 | CUSTOMER_ID_CAN_NOT_BE_EMPTY |
1290 | FIRSTNAME_CANNOT_BE_BLANK |
1300 | DOC_TYPE_CANNOT_BE_BLANK |
1304 | MORE THAN ONE CUSTOMER IDENTIFIER NOT ALLOWED |
1305 | AML_NOT_CONFIGURED_FOR_PRODUCT |
1306 | PROFILE_NOTFOUND |
1309 | CARDPROFILE_MISTMATCH |
8007 | EXISTING CARDHOLDER PROFILE MATCHES WITH NEW CARDHOLDER PROFILE |
77101 | INVALID DATA TYPE FOR FIELD MESSAGECODE |
85114 | INVALID DATA TYPE FOR FIELD URN |