Skip to main content

[PayIn] BDT Payment Data

For shops with BDT currency, when creating a payin (POST /api/v1/payins) the following fields must be sent in the paymentData object.

Required fields in paymentData

ParameterTypeRequiredDescription
wallet_providerstringYesWallet provider. Possible values: Nagad, BKash.
mobile_numberstringYesCustomer Mobile Number
emailstringYesCustomer Email
customer_namestringYesCustomer Name

Example request body

{
"external_id": "PIN-BDT-001",
"amount": 5000.00,
"currency": "BDT",
"shop_code": "your_bdt_shop",
"paymentData": {
"wallet_provider": "BKash",
"mobile_number": "01872456789",
"email": "info@test.com",
"customer_name": "Test Name"
}
}

Without valid wallet_provider , mobile_number, email or customer_name in paymentData, the request will be rejected with a validation error (422, "Invalid paymentData").

Back to PayIn