Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

Name
Type
Description

Content-Type*

string

Fixed value: application/json; charset=UTF-8.

Authorization*

string

Basic authentication generated from Base64(app_id:security_key).

Request Body

Name
Type
Description

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

The beneficiary object is optional and may be omitted from the response. When returned, it contains the beneficiary bank account information assigned to the transaction.

Example

162************38 is Pagsmile's test App ID for the sandbox environment, and the value shown in the Authorization header is the token associated with that test App ID.

Last updated