Skip to main content

[PayIn] BDT Payment Data

For shops with BDT currency, when creating a payin (POST /api/v1/payins) no additional fields are required in the paymentData object.

merchant_user_id and merchant_user_ip are mandatory root fields for this request.

paymentData fields

No BDT-specific paymentData fields are required for this payin contract.

Example request body

{
"external_id": "PIN-BDT-001",
"amount": "5000.00",
"currency": "BDT",
"shop_code": "your_bdt_shop",
"merchant_user_id": "merchant-user-001",
"merchant_user_ip": "203.0.113.10"
}

Response fields

ParameterTypeDescription
idnumberPayfield operation ID.
statusstringCurrent payin status.
external_idstringUnique payin identifier from the request.
amountstringPayin amount.
currencystringPayin currency.
shop_codestringShop code used for routing.
merchant_user_idstringMerchant user identifier from the request.
merchant_user_ipstringUser IP from the request.
paymentData.payment_linkstringPayment link for completing the payin.
transaction_typestringAlways payin.
created_atstringCreation timestamp.
updated_atstringLast update timestamp.
finalization_datestringReturned when the payin reaches a final status.

Example response body

{
"id": 12345,
"status": "pending",
"external_id": "PIN-BDT-001",
"amount": "5000.00",
"currency": "BDT",
"shop_code": "your_bdt_shop",
"merchant_user_id": "merchant-user-001",
"merchant_user_ip": "203.0.113.10",
"paymentData": {
"payment_link": "https://pay.example.com/bdt/PIN-BDT-001"
},
"transaction_type": "payin",
"created_at": "2025-12-05T10:00:00.000000Z",
"updated_at": "2025-12-05T10:00:00.000000Z"
}

Omit paymentData in the request for this BDT payin contract. The response includes paymentData.payment_link when the payment link is available.

Back to PayIn