Skip to main content

Fetch Account Title

Fetch the account title information of a customer. This is useful for checking whether a provided account is valid before initiating a disbursement.

Applies to: Pakistan


Endpoint

MethodPOST
Path/merchants/{merchantId}/disbursements/fetch-account
Sandboxhttps://sandbox.simpaisa.com

Request Parameters

ParameterRequiredTypeDescription
destinationBankYesStringThe bank name as provided by the customer
customerAccountYesStringThe account number as provided by the customer

Response Parameters

ParameterTypeDescription
customerAccountStringThe account number that was provided
accountTitleStringTitle of the provided account (e.g. John Doe)
bankTitleStringThe bank name where the account exists
destinationBankStringThe bank name as provided by the customer
ibanStringThe IBAN of the provided account

Sample

curl --location --request POST 'https://sandbox.simpaisa.com/merchants/{merchantId}/disbursements/fetch-account' \
--header 'Content-Type: application/json' \
--header 'Cookie: JSESSIONID=54DA2859F23201F2DDE1E20F6FE74E44' \
--data-raw '{
"request": {
"destinationBank": "BAFL",
"customerAccount": "00089521717459"
},
"signature": "g9TYRxajdaeriaicaclksaJJKKOPAPOA989734kaljnancmasnkarjopASHFIAEHN=="
}'
info

The signature is generated only for the request and response sections.