Request Physical Card API

The Request Physical Card API fulfils the purpose of requesting a physical card on top of an existing virtual card available to the user. The API captures card identifiers and the address where the physical card shall be delivered after the printing.

Environment

Sandboxhttps://payusandbox-kong.pc.enstage-sas.com/uat/sbx/api/issuance/v1/enroll
ProductionContact your WIBMO KAM or support.

Request parameters

ParameterTypeParameter RequirementDescription
api-keyString (15)MandatoryThis parameter must contain the API key.
tokenString (360)MandatoryThis parameter must contain the token generated using the Encrypt API.

Sample request

curl --request POST \
     --url https://payusandbox-kong.pc.enstage-sas.com/uat/sbx/api/issuance/v1/enroll \
     --header 'X-Consumer-Custom-ID: F42BC4E7B801C834B630DE498473533F' \
     --header 'accept: application/json' \\
     --header 'x-api-key: 4A02C4267C9A97A1488AB3259FD1A725' \
     --data '
{
  "token": "e3ln1sSCTF9rgy9AjN5QNAkJruloChEdm7C39FVnfczb5gfIGv"
}
'

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:

ParameterDatatypeParameter RequirementDescription
messageCodenumeric (4)ConditionalCode to Identity ‘Request physical card API response
clientTxnIdstring (100)ConditionalEchoed from the request.
customerIdstring(20)conditionalEchoed from the request.
cardUrnnumeric(11)MandatoryEchoed from the request.
reserveField1string(50)OptionalEchoed from the request.
reserveField2string(50)OptionalEchoed from the request.

Sample response (Decrypted)

{
    "customerId": "000000000429",
    "responseCode": "00",
    "clientTxnId": "Req_Phy_Card04758474s291ram683",
    "responseDateTime": "2024-06-19T15:19:55.620318625",
    "accosaTransactionId": 4638,
    "responseMessage": "SUCCESS",
    "cardUrn": "10000810"
}

API response codes

Response CodeDescription
00SUCCESS
1001Card not found
1030INVALID MESSAGE
1031INVALID BANK ID
1032INVALID_CLIENT_CHANNEL
1045UNABLE TO PROCESS REQUEST CAUSE OF UNKNOWN FIELD
1049INVALID SECURE CODE
1051CHECKSUM FAILURE
1052SYSTEM_ERROR
1054DUPLICATE REQUEST
1055MALFORMED_REQUEST
1058INVALID_WALLETS
1080IP_NOT_ALLOWED
1081OPERATION NOT ALLOWED
1085PRODUCT NOT ALLOWED
1088INVALID REQUEST DATE FORMAT
1093INVALID CLIENT TXN ID
1103Invalid transaction amount
1104TRANSACTION AMOUNT MISMATCH
1107SENDER CARD NOT FOUND
1110RECEIVER CARD NOT FOUND
1111Sender and receiver cannot be the same
1262CLIENT ID NOT PRESENT IN THE REQUEST
1264BANK ID NOT PRESENT IN THE REQUEST
1310XCONSUMERKEY NOT PRESENT IN THE REQUEST
1311SECURE CODE NOT PRESENT IN REQUEST
1320REQUEST_DATETIME_IS_MANDATORY
1501SYSTEM_ERROR_DB
1504SYSTEM_CAS_FAILURE
6900SENDER ACCOUNT NUMBER NULL OR EMPTY
6901RECEIVER ACCOUNT NUMBER NULL OR EMPTY
6902SENDER RECEIVER INVALID ACCOUNT NUMBER
6903Sender URN and Customer ID both missing
6904Receiver URN and Customer ID both missing
6905INVALID ACCOUNT NUMBER IN REQUEST
6906SENDER IMPL ID MISMATCH
6907RECEIVER IMPL ID MISMATCH
6908Customer not found
6909SENDER CUSTOMER NOT FOUND
6910RECEIVER CUSTOMER NOT FOUND
6911INVALID RESERVED FIELD 1
6912INVALID RESERVED FIELD 2
6913INVALID RESERVED FIELD 3
6914INVALID RESERVED FIELD 4
6915INVALID RESERVED FIELD 5
6916INVALID RESERVED FIELD 6
6917MORE THAN ONE CUSTOMER IDENTIFIER NOT ALLOWED FOR SENDER
6918MORE THAN ONE CUSTOMER IDENTIFIER NOT ALLOWED FOR RECEIVER
6919TRANSFER AMOUNT MORE THAN AVAILABLE BALANCE OF SENDER
6920SOURCE ACCOUNT TYPE MUST BE A NUMBER WITH MAX LENGTH 2
6921SENDER TRANSACTION AMOUNT IS ZERO OR INVALID
6922SENDER URN LENGTH EXCEEDED
6923SENDER ACCOUNT NUMBER LENGTH EXCEEDED
6924SENDER TRANSACTION AMOUNT LENGTH EXCEEDED
6925SENDER SOURCE ACCOUNT LENGTH EXCEEDED
6926SENDER ACCOUNT NUMBER CURRENCY LENGTH EXCEEDED
6927RECEIVER URN LENGTH EXCEEDED
6928RECEIVER TRANSACTION AMOUNT LENGTH EXCEEDED
6929RECEIVER ACCOUNT NUMBER LENGTH EXCEEDED
6930SENDER CUSTOMER ID LENGTH EXCEEDED
6931RECEIVER CUSTOMER ID LENGTH EXCEEDED
6932SENDER RESERVED FIELD LENGTH EXCEEDED
6933RECEIVER RESERVED FIELD LENGTH EXCEEDED
6934RECEIVER TRANSACTION AMOUNT IS ZERO OR INVALID
6936FIELD OUT OF RANGE FOR DATA TYPE
7937SENDER_IMPL_ID_IMPL_TYPE_MISMATCH
7938RECEIVER_IMPL_ID_IMPL_TYPE_MISMATCH
7945RECEIVER_BENEFICIARY_NOT_PRESENT
7946Improper beneficiary implementation ID combination
10027CURRENCY NOT PRESENT
10049Invalid source account type
10099Database exception
10212RESERVED FIELD 1 IS MANDATORY
10213RESERVED FIELD 2 IS MANDATORY
10214RESERVED FIELD 3 IS MANDATORY
10215RESERVED FIELD 4 IS MANDATORY
10216RESERVED FIELD 5 IS MANDATORY
10217RESERVED FIELD 6 IS MANDATORY
30082BENEFICIARY_ID_NOT_PRESENT
303042FUND_TRANSFER_FAIL
303178Request Date Time Length should not be more than 14 characters
303193Message Code cannot be Blank, Empty, or null