Create Beneficiary API

The Create Beneficiary API creates a beneficiary for the customer in the prepaid system..

Environment

  
Sandboxhttps://payusandbox-kong.pc.enstage-sas.com/uat/sbx/api/onboarding/v3/beneficiary
ProductionContact your WIBMO KAM or support.
Sample request
curl --request POST \
     --url https://payusandbox-kong.pc.enstage-sas.com/uat/sbx/api/onboarding/v3/beneficiary \
     --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": "Mdu+z9xHTjUQ6XM3QYLcys+ZEFJl5mU/oSL5GSHcjaSPvdMtf/gX2svQlIFCgNsp0wBl3iTW1M0Qi+SOuy9iNYPLoDYzYkTByke1DSu6UxlW1Dy8sUelAXDaAuR8Tvrb55dqZKa4rVt80ZtIUJGOE//cjXS2Qm//J1rw00qKz781z4cayEWTQzfli1JVepOlqTb4xGADSmnqHtmdEPSNy5unc2WJrLM1rUsf3FGw5BEZcVbH/78LgfTfZenO8rO/JhWV2di8Nw8H/0xZDD0GpxqkZQ5fw08dgIIJnHp9Qy4U5p7CbiciBSdqyivuuXq2YvkbwoIOrLct9Q70wBEHZ4167S2I55brylfImBzntgBJqGSPrjHT3ERYUv9DSbnOCBTDZxzNB5cTOWTebZpL+AN+ifw5ENfaKipQ+Xl5HP8fkCPYzmaU6C3pW7b/tdGi/6MAn7GBNb5nAVbphsGLlw=="
}
'
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:

 ParameterTypeParameter RequirementDescription
messageCodeNumeric (4)MandatoryAPI response identifier.
clientTxnIdString (100)MandatoryValue echoed from the request.
responseDateTimeNumeric (14)MandatoryResponse date time in the format YYYYMMDDHHMMSS with time in 24-hour format.
urnNumeric (11)ConditionalA unique reference number for the card(urn)
clientIdString (10)MandatoryUnique ID for the client
bankIdString (10)MandatoryValue echoed from the request.
responseCodeString (4)MandatoryRepresents the status of the transaction.
responseMessageString (100)MandatoryResponse message based on the response code.
accosaTransactionIdNumeric (10)MandatoryUnique id for a particular transaction generated in Prepaid.
beneficiaryIdString (15)ConditionalA unique Beneficiary Id got generated for the beneficiary.
accountNumberString (15)ConditionalConditional with urn and customerId
beneficiaryTypeCodeNumeric (2)MandatoryValue echoed from the request.
beneficiaryMobileNumberNumeric (14)ConditionalValue echoed from the request.
maxTransactionAmountPerTxnNumeric (10)OptionalValue echoed from the request.
maxTransactionAmountPerDayNumeric (10)OptionalValue echoed from the request.
maxTransactionAmountPerMonthNumeric (10)OptionalValue echoed from the request.
maxCountTransactionPerDayNumeric (10)OptionalValue echoed from the request.
maxCountTransactionPerMonthNumeric (10)OptionalValue echoed from the request.
Sample response (Decrypted)
{
    "urn": 70000001234,
    "customerId": "000000000036",
    "responseCode": "00",
    "messageCode": 2011,
    "clientTxnId": "Bmpm6T1705651403",
    "clientId": "2030",
    "responseDateTime": "20220619143723",
    "accosaTransactionId": 11370,
    "responseMessage": "SUCCESS",
    "bankId": 7030,
    "beneficiaryId": 37477009,
    "beneficiaryTypeCode": 1
}
Error codes
Error CodeDescription
00SUCCESS
1009CARD CANCELLED CLOSED EXPIRED
1010CARD TEMPORARY BLOCKED
1011CARD PERMANENT BLOCKED
1012CARD PENDING CANCELLATION
1030INVALID MESSAGE
1031INVALID BANK ID
1032INVALID_CLIENT_CHANNEL
1034INVALID MOBILE NUMBER
1049INVALID SECURE CODE
1051CHECKSUM FAILURE
1052SYSTEM_ERROR
1054DUPLICATE REQUEST
1055MALFORMED_REQUEST
1080IP_NOT_ALLOWED
1081OPERATION NOT ALLOWED
1084URN AND CUSTOMER ID MISMATCH
1085PRODUCT NOT ALLOWED
1091INVALID CARDPROFILE ID
1093INVALID CLIENT TXN ID
1261BENEFICIARY NAME NOT PRESENT IN THE REQUEST
1262CLIENT ID NOT PRESENT
1263CUSTOMER ID NOT PRESENT IN THE REQUEST
1264BANK ID NOT PRESENT
1267MORE THAN ONE PAYMENT TYPE PRESENT IN THE REQUEST
1271BENEFICIARY WITH SAME PAYMENT(ACCOUNT/MOBILE/UPI) DETAILS EXISTS
1272BENEFICARY ID/ACCOUNT ALREADY EXISTS
1274INVALID UPI VPA ID
1275INVALID CUSTOMER ID
1276INVALID BENEFICIAY MOBILE NUMBER
1277CUSTOMER IS BLOCKED
1280INVALID BENEFICIARY NAME
1281INVALID BANK NAME
1288IFSC CODE IS INVALID
1303CUSTOMER DETAILS NOT PRESENT
1310XCONSUMERKEY NOT PRESENT
1311SECURE CODE NOT PRESENT
1320REQUEST_DATETIME_IS_MANDATORY
1343CARD STATUS LOCKED
7607WEEKLY BENEFICIARY LIMIT REACHED, NO MORE BENEFICIARIES CAN BE CREATED
7608MONTHLY BENEFICIARY LIMIT REACHED, NO MORE BENEFICIARIES CAN BE CREATED
7609YEARLY BENEFICIARY LIMIT REACHED, NO MORE BENEFICIARIES CAN BE CREATED
7902BENEFICIARY TXN LIMITS VALUES SHOULD BE EITHER POSITIVE OR ZERO
7903PAYMENT DETAILS SHOULD BE PROVIDED ACCORDING TO BENEFICIARY TYPE CODE
7906DAILY BENEFICIARY LIMIT REACHED, NO MORE BENEFICIARIES CAN BE CREATED
7924REQUEST AMOUNT PER TXN EXCEEDS GLOBAL LIMIT
7925REQEUST DAILY LIMIT EXCEEDS GLOBAL LIMIT
7926REQUEST MONTHLY LIMIT EXCEEDS GLOBAL LIMIT
7927REQUEST DAILY FREQUENCE EXCEEDS GLOBAL LIMIT
7928REQUEST MONTHLY FREQUENCE EXCEEDS GLOBAL LIMIT
7929DAILY LIMIT SHOULD BE WITHIN BENEFICIARY LEVEL LIMIT
10043MOBILE NO INVALID LENGTH
10048INVALID EMAIL FORMAT
10080INVALID BENEFICIARY ID
27301BENEFICIARY CREATION FAILED
303135CREATE BENEFICIARY FAILURE

Request parameters

Language
URL
Click Try It! to start a request and see the response here!