Set or Reset PIN API

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

The Set/Reset PIN API is used to set or reset the PIN for the card.

Environment

  
Sandboxhttps://payusandbox-kong.pc.enstage-sas.com/uat/sbx/api/onboarding/v2/fundTransfer
ProductionContact your WIBMO KAM or support.
Sample request
curl --request POST \
     --url https://payusandbox-kong.pc.enstage-sas.com/resetPin \
     --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": "lO+YNouaBSM4g7C+33YxbAIOg5SL053shNBmew7bP2Vwbqa245hIpaJJgaO8Vu2czuOXDo7D4e2S58697mvuapEOXTxZtpV4hLyx56i5kFh6In9X68vnfeDCa1gFBWgFWlHqQTIzIXPo6zHsRcz3QhNIQnI3tDW93vU71zNg1MIglZ9z9htSFF0YbMcfedxgAPgYZlGEI8HUFY9mlChpvBa2c4myBQ3Xr9O2KymfZyRvS0HpbBKL/Cdyxsr8B+rEiaDQb9nITaUA2Kka45xB7w=="
}
'
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)MandatoryCode to Identify Reset pin response type.
clientTxnIdstring(100)MandatoryValue echoed from the request
urnnumeric(11)MandatoryValue echoed from the request
accosaRefNonumeric(20)MandatoryAuto-generated sequence number.
responseDateTimenumeric(14)MandatoryResponse date time in the format YYYYMMDDHHMMSS with time in 24-hour format
customerIdstring(20)MandatoryCustomer ID which uniquely identifies the cardholder in the client system.
accosaTransactionIdnumeric(10)MandatoryUnique ID for a particular transaction/request generated in Prepaid
responseCodestring(4)MandatoryRepresents the status of the transaction.
responseMessagestring(100)OptionalResponse message based on the response code.
descriptionstring(100)OptionalReserved field to send information to the client.
bankIdnumeric(4)MandatoryValue echoed from the request header
clientIdString(15)MandatoryValue echoed from header
Sample response (Decrypted)
{ 
    "urn": 70000000008, 
    "customerId": "IN00001201001868", 
    "description": "Reset Pin", 
    "responseCode": "00", 
    "messageCode": "1121", 
    "clientTxnId": "201507271458370149gM90jY0", 
    "clientId": "2000", 
    "responseDateTime": "20160715025837", 
    "accosaTransactionId": 1031, 
    "responseMessage": "Success", 
    "accosaRefNo": "6007283", 
    "bankId": 7000 
}
Error codes
 Error CodeDescription
00SUCCESS
1001CARD NOT FOUND
1016ERROR RESET PIN
1031INVALID BANK ID
1032INVALID CLIENT CHANNEL
1049INVALID SECURE CODE
1054DUPLICATE REQUEST
1056INVALID MESSAGE CODE
1081OPERATION NOT ALLOWED
1083URN AND LAST 4 DIGITS MISMATCH
1084URN AND CUSTOMER ID MISMATCH
1085REQUESTOR UNAUTHORIZED FOR URN OR PRODUCT
1088INVALID REQUEST DATE format
1093INVALID CLIENT TXN ID
1099INVALID_PIN
1116CARD AML PROFILE MISSING
1302INVALID_CUSTOMER
1303CUSTOMER DETAILS NOT PRESENT
1304MORE THAN ONE CUSTOMER IDENTIFIER NOT ALLOWED
1342UNIQUE_IDENTIFIER_REQUIRED_URN_OR_CUSTOMERID
1366PROGRAM NOT FOUND
1366PROGRAM IS INACTIVE
1367PROGRAM_INACTIVE
1367PROGRAM NOT FOUND
1500SYSTEM ERROR
1501SYSTEM ERROR
1502SYSTEM ERROR
5003CLIENT_NOT_CONFIGURED_UNDER_BANK_ID
9301PIN_MISSING

Request parameters

Body Params
string
required

This parameter must contain the token generated using the Encrypt API.

Headers
string
required

This parameter must contain the API key provided by Wibmo.

integer
required

This parameter must contain the Unique ID for the client shared by Wibmo.

integer
required

This parameter must contain the bank ID. Include 6060 for PayU.

integer
required

This parameter must contain the child corporate/branch entity ID under the client. This will be generated from the CMS. The default value is 100.

string
required

This parameter must contain the secure code that uniquely identifies the client on payload level for performing operations. Secure code will be shared by Wibmo separately.

string
required

This parameter must contain the unique consumer ID provided by the vendor for which bill is being paid or recharged.

Response
200
Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here!