Skip to main content

9. Tag Specifications

9.1 Request Response Specifications

Table below is to be referred along with the sample JSON request response provided above:

Data ItemsTypeLengthRequiredRemarksOccurrence
participantCodeA10YUnique code assigned to each xBorder participantCustomer-validation
participantServiceA10YService code allowed to consume by each participantCustomer-validation
requestUniqueIdAN35YUnique Request Id with specific format: Participant Code followed by unique IdCustomer-validation
amountNYTransaction AmountCustomer-validation
purposeAN10YPurpose code
remarksANMin:10 Max: 50YCustomer remarks of transaction
currencyA3YCurrency Code: NPRINR
payerDetailO
nameAMin: 5, Max: 50YFull name of payer/Payer
typeA20YPERSONORGANIZATION
accountTypeA10YVPAACCOUNT
accountDetailO
vpaAN30YCustomer’s virtual payment address followed by @ bank handle
accountNumberAN50CAccount Number of customers
bankCodeAN20CBank code
identificationTypeA20YCTZNPASSPORT
identificationNumberAN30YIdentification Number of Customer
addressO
countryA20YName of payer’s Country
cityA30YName of payer’s City
locationAN30YName of payer’s location
deviceInformationO
mobileAN15YMobile number of payers in +977- 9800000000 format
geoCodeAN30Ynn.nnnn,nn.nnnn format
locationAN30YCurrent location of payer
ipAN20YCurrent IP address of Device from where transaction is initiated.
osAN30YOperating system of device
teleComAN30OName of telecom service provider
payeeDetailO
typeA10YPERSONMTO
accountTypeA10YVPAACCOUNT Fixed keywords
accountDetailO
vpaAN30YPayee Virtual Payment Address
accountNumberAN30CAccount Number of payee agent
bankCodeANMin: 5, Max: 20YBank code of Payee Agent
payeeRelationShipAN5CPayee relationship – if participant add flow is not implemented
mobileNumberAN15OPayee mobile number.
emailAN30OPayee Mobile Number
ValCust Response
orgRequestUniqueIdAN35Origination Transaction IdValCust Response
validationTraceIdAN35Id generated from network used for transaction reconciliation
chargeAmountNCharge Amount
conversionRateNConversion Rate
Payment Request/Response
debitStatusA3Debit status
creditStatusA3Credit Status
customerValidatedDateDCustomer validation Date and Time
transactionRequestDateDTransaction requested Date
Format: YYYY-MM-DD HH:MM: SSS
transactionDateDActual Transaction Date
Charge and Limit
serviceAN4YTransaction service codeCharge and Limit Req
instrumentA10YTransaction Instrument Fixed Values: CIPSMB
purposeCodeAN10CTransaction purpose code
mccAN10CMCC code
chargeTypeA10Charge Type Fixed Values: SLABPERCENT
Charge and Limit Resp
minTxnAmountNMin Transaction Amount
maxTxnAmountNMax Transaction Amount
maxChargeAmountNMax Charge Amount per transaction
minChargeAmountNMin Charge Amount applicable per transaction.
minAmountNMin Transaction Amount for charge calculation
maxAmountNMax Transaction Amount for charge Calculation
chargePercentNIf charge type is of PERCENTAGE, then charge calculation will be based on this value.
countNTransaction Limit count
amountNTransaction Limit Amount
limitExceededBBoolean if true transaction limit is exceeded.
consentRequiredBIf consent is not provided by payee agent for xBorder payment than this field will be set to true.Customer KYC
consentUniqueIdAN35CUnique Id used to uniquely identify consent request
payerNameA50CPayer Name in consent notification request
payerVPAAN30CPayer VPA
payeeVPAAN30CPayee VPA
payeeNameA50CPayee Name
payerMobileNumberAN15CPayer Mobile Number
fullNameA50Full Name of Customer against VPA.Customer KYC Resp
accountNumberAN30Payee’s Bank account Number
documentNumberAN30Payee’s identity document number
documentTypeAN30Payee’s identity document Type: CTZNPASSPORT
permanentAddressANMAX:100Payee’s permanent Address
temporaryAddressANMAX:100Payee’s Temporary Address
typeAN20Payee’s type: PERSONORGANIZATION
riskScoreAN30Payee’s Risk Score
directionA10YTransaction’s direction: INWARDOUTWARD
consentA10YConsent value: Fixed: APPROVEDDECLINED
uniqueTransactingIdAN30YUnique Transacting Id like account number in case of bank and mobile number or email in case of PSP.

NOTE: AN: Alphanumeric, A: Alphabetic, N: Numeric, O: Object, B: Boolean, D: Date & Time, Y: Required, O: Optional, C: Conditional

Error Codes: Generic Error codes for xBorder payment are as follows where error code starting with B are business errors and starting with E are transactional errors.

SUCCESS ("000", "Success"),

ERROR ("999", "Error"),

// technical errors

SIGNATURE_MISMATCHED ("E001", "Signature mismatched.")

BANK_NOT_REACHABLE ("E002", "Bank Not reachable.")

ACCOUNT_VALIDATION_FAILED ("E003", "Account Validation Failed.")

PARTICIPANT_DETAIL_NOT_FOUND ("E004", "Participant not found.")

TRANSACTION_NOT_FOUND ("E005", "Transaction detail not found.")

// business Errors

TRANSACTION_LIMIT_EXCEEDED ("B001", "Transaction limit exceeded."),

INVALID_MIN_AMOUNT ("B002", "Invalid Min transaction amount."),

INVALID_MAX_AMOUNT ("B003", "Invalid Max transaction amount."),

INVALID_CHARGE_AMOUNT("B004", "Invalid Charge amount."),

INVALID_ACCOUNT("B005", "Invalid Account information."),

ACCOUNT_DETAIL_NOT_FOUND("B006", "Account information not found.")