Bank Transfer
How to use BankTransfer to submit a payin in Vietnam.
Payin by BankTransfer
POST https://gateway-test.pagsmile.com/trade/pay
This endpoint allows you to submit a payin by BankTransfer in Vietnam.
Headers
Content-Type*
string
Fixed value: application/json; charset=UTF-8.
Authorization*
string
Basic authentication generated from Base64(app_id:security_key).
Request Body
app_id*
string
App ID created in the dashboard. Maximum length: 32 characters.
method*
string
Fixed value: BankTransfer.
out_trade_no*
string
Unique transaction ID assigned by the merchant. Maximum length: 64 characters.
notify_url*
string
URL that receives the asynchronous payment result notification.
timestamp*
string
Request time in yyyy-MM-dd HH:mm:ss format. Maximum length: 19 characters.
subject*
string
Payment reason or item title. Maximum length: 128 characters.
order_amount*
string
Payment amount. From 10,000 to 299,999,999 VND; integers only.
order_currency*
string
Fixed value: VND.
content
string
Payment reason details or item details. Maximum length: 255 characters.
buyer_id*
string
Unique customer ID assigned by the merchant.
website_url
string
Merchant website URL. Maximum length: 128 characters.
return_url
string
URL to which the customer is redirected after completing checkout.
Responses
Example
Last updated