API testing guide

Testing Sandbox mode endpoints

Sandbox mode offers a comprehensive insight into the functionality of the Instant Cash (IC) Web API gateway. With Sandbox mode, you can make requests and observe the anticipated responses. However, only specific parameter values are compatible with this mode. Refer to the list of API endpoints available for sandbox testing:

HTTP MethodEndpoint NameInput Parameter Name (required marked with *)Input Parameter Value
GETGetBalancen/a
GETGetExchangeRatesendingAgent(*)AE01BH
settlementCurrency(*)AED
destinationCountryPK
receivingAgentPK01RH
GETGetChargeSlabsourceCurrency(*)AED
targetCurrency(*)PKR
originatingCountry(*)AE
destinationCountry(*)PK
deliveryMode(*)7
sourceAmountany
targetAmountany
receivingAgentPK01RH
GETGetTransactionDetailsreference000000222
partnerReference
GETGetOutstandingRemittancesn/a
POSTGenerateICTCcount (*)any number from 1 to 999
GETGetTransactionListn/a
GETGet Transaction Reportlevel (*)H
fromDate*2023-11-01
toDate*2024-01-11
pageNumber1
pageSize1000
GETReceivePaymentreference000000222
GETGetAgentDatadestinationCountry(*)PH
deliveryMode(*)4
state
bankName
pageNumber1
pageSize1000
GETGetUpdatedAgentDatasendingAgentCountryCode (*)AE
sendingAgentLocalCurrency (*)AED
destinationCountry (*)PK
deliveryMode (*)7
updatedFrom (*)2022-01-O1
GETGetAnywherePayoutNetworksreceivingCountry(*)AE
deliveryMode(*)7
GETGetBankBranchesreceivingCountry(*)AE
deliveryMode (*)4
receivingAgentHeadOfficeCode(*)AE01BH
pageNumber1
pageSize1000
GETGetCitiescountryCodePH
stateCodeNCR
pageNumber1
pageSize1000
GETGetModalitydestinationCountryCodeAE
GETGetReceivingCountriescountryCodeAE
GETGetStatescountryCodePK
pageNumber1
pageSize1000
GETGetStaticDatafilter (*)remittance-purposes,source-of-funds,professions,relationships,employment-status,id-types,delivery-modes
GETGet Ictc Payment Statusreference (*)000000222
partnerReference
PUTSimulationreference (*)000000222
new status (*)Link
POSTCancelTransactionreference (*)000000222
reason (*)Incorrect data
PATCHModifyTransactionRecipes: Link
POSTCreate TransactionRecipes: Link
POSTConfirmTransactionLinkGuidelines: Link
POSTUnlockTransactionreference (*)Guidelines: Link
POSTAuthorizeTransactionreference (*)222
payingCurrency (*)PKR
payingAmount (*)100