Skip to main content

POST

Register customer/beneficiary details on Simpaisa. Once a customer is registered, their details are not required when initiating a disbursement — only the customer reference number is used.

Applies to: Pakistan


Endpoint

MethodPOST
Path/merchants/{merchantId}/disbursements/register-customer
Sandboxhttps://sandbox.simpaisa.com

Request Parameters

ParameterRequiredTypeLengthDescription
referenceYesString45A unique reference per customer, attached to the bank or wallet account provided by the beneficiary. Used as customerReference in the initiate disbursement request.
customerNameYesString45The customer's name shared by the merchant
customerContactYesString45The customer's contact number (mobile) with country code (e.g. +92, +1, +47)
customerEmailYesString100The customer's email address
customerDobYesString25The customer's date of birth, formatted as per ISO 8601
customerGenderYesString10The customer's gender — MALE, FEMALE, or OTHER
customerAddressNoObjectThe residential address of the customer
customerAddress.countryNoString45The country of the address as an ISO 3166 Alpha-2 code. Required if address is provided.
customerAddress.cityNoString45The city of the address
customerAddress.stateNoString45The region/state of the address. Required if address is provided.
customerAddress.streetAddressNoString45The street address
customerAddress.postalCodeNoString25The postal code of the address
customerAddress.landmarkNoString45A landmark for the address
customerAddress.freeformAddressNoString150A free-form description of the address
customerMaritalStatusNoString10The marital status — SINGLE, MARRIED, or DIVORCED
customerIdNumberNoString45The customer's national identification or identity card number
customerIdExpirationDateNoString25The expiration date of the national ID (e.g. CNIC), formatted as per ISO 8601
customerNtnNumberNoString15The national taxation number of the customer
customerAccountYesString45The customer's account number (IBAN or wallet) shared for disbursement
accountTypeYesString3The account type — BA for bank accounts, DW for digital wallets
destinationBankYesString25The name of the bank/wallet entity holding the customer's account
branchCodeNoString15The unique code assigned to the bank branch holding the customer's account

Sample

curl --location --request POST 'https://sandbox.simpaisa.com/merchants/{merchantId}/disbursements/register-customer' \
--header 'Content-Type: application/json' \
--header 'Cookie: JSESSIONID=54DA2859F23201F2DDE1E20F6FE74E44' \
--data-raw '{
"request": {
"reference": "AJDfldjlafdJADJ000",
"customerName": "John Doe",
"customerContact": "923000000000",
"customerEmail": "f6990600-3f30-4a55-b45b-ebad0524b1a1@simpaisa.com",
"customerDob": "1989-12-19",
"customerGender": "MALE",
"customerAddress": {
"country": "PK",
"city": "PK",
"state": "Sindh",
"streetAddress": "Steet 1c",
"postalCode": "75600",
"landmark": "Leaning tower of Pisa",
"freeformAddress": "123 Main"
},
"customerMaritalStatus": "SINGLE",
"customerIdNumber": "4288888888888888",
"customerIdExpirationDate": "2024-04-12",
"customerNtnNumber": "NTN-8546",
"customerAccount": "BBBBAAAAAAAAAAAAAA",
"accountType": "DW",
"destinationBank": "Easypaisa",
"branchCode": "646416"
},
"signature": "0x650c9f2e6701e3fe73d3054904a9a4bbdb96733f1c4c743ef573ad6ac14c5a3bf8a4731f6e6276faea5247303677fb8dbdf24ff78e53c25052cdca87eecfee85476bcb8a05cb9a1efef7cb87dd68223e117ce800ac46177172544757a487be32f5ab8fe0879fa8add78be465ea8f8d5acf977e9f1ae36d4d47816ea6ed41372b"
}'
info

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