Fetch Beneficiary API

The Fetch Beneficiary API is used to fetch an existing 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 GET \
     --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 'entityId: 100' \
     --header 'secureCode: pu8gSMLNE7pNv36IlUmstU' \
     --header 'x-api-key: 4A02C4267C9A97A1488AB3259FD1A725'
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.
beneficiaryDataListObjectMandatoryBeneficiary details.
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
1030INVALID MESSAGE
1031INVALID BANK ID
1032INVALID_CLIENT_CHANNEL
1049INVALID SECURE CODE
1052SYSTEM_ERROR
1054DUPLICATE REQUEST
1055MALFORMED_REQUEST
1081OPERATION NOT ALLOWED
1085PRODUCT NOT ALLOWED
1093INVALID CLIENT TXN ID
1262CLIENT ID NOT PRESENT IN THE REQUEST
1263CUSTOMER ID NOT PRESENT IN THE REQUEST
1264BANK ID NOT PRESENT IN THE REQUEST
1310XCONSUMERKEY NOT PRESENT IN REQUEST
1311SECURE CODE NOT PRESENT IN REQUEST
1320REQUEST_DATETIME_IS_MANDATORY
9000NO BENEFICIARIES PRESENT
9006TRANSFER TYPE IS INVALID
10074ACTIVATION STATUS NOT PRESENT IN THE REQUEST
10075INVALID ACTIVATION STATUS
10079TRANSFER TYPE NOT PRESENT IN THE REQUEST
77101Invalid data type for field Message Code
85114Invalid data type for field Urn

Request parameters

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