View Categories

API Documentation

1. System flow #

1.1. Login to API to get a bearer token
1.2. Perform transaction API accordingly

2. API #

2.1. Login Token
This is to generate the bearer token that going to use for the rest of the API

URL: api/login

Content-Typeapplication/json
FieldField Length RequiredDescriptions
midstring(50) Ymerchant id
secret
key 
string(50) Ysecret key provided

2.2. Create order
Once user requests to create oder, an unique orderID is required. , The API will send through
the method of POST (ContentType=”application/json”), parameters as below;

URL: api/pay/order

Content-Typeapplication/json
FieldField Length RequiredDescriptions
order_idstring(50) YUnique self-generated id for the
order
amountstring(12) YThe format will be 00.00,two
decimal places。
Ex:$10,the amount submitted
should be 10.00
product_namestring(100) Y
currencystring(3) Y“THB” OR “PHP”
notify_urlstring(255) YAfter successful payment, the
server will push the result page ,
merchants can process
accordingly to update the
database
payment_typestring(255) Y“Qr”

After the deposit request completed, the result will response via POST method to, parameters as below:

ContentTypeapplication/json
FieldField NameField LengthRequiredDescriptions
status_codeDeposit
request
status
code
string(2) V00:Successful
order_id Order ID string(50) Unique id for the order
amountstringThe format will be 00.00,two
decimal places.
Ex:$10,the amount submitted
should be 10.00
product_nameproductstring(100) 
currencycurrencystring(3) “THB” OR “PHP”
urlRedirect urlIf you get field url, please
redirect this to webpage

Annex: #

Payment Currency & Payment Type List

CurrencypaytypeMethod Name
THBQRQR
PHPpaymayaE-wallet – Maya
PHPbrankas_bdoBDO Online via Brankas
PHPbrankas_landbankLandbank Online via Brankas
PHPmetrobankMetrobank Online via Brankas
PHPdobBPI Online
PHPdob_ubpUnionBank Online
PHPgrab_payE-Wallet – GrabPay
PHPgcashGcash
MXNspeiSpei Bank Transfer
BRLpixPIX Payment
VNDp2pP2P Solution
Updated on November 12, 2024
This website uses cookies and asks your personal data to enhance your browsing experience. We are committed to protecting your privacy and ensuring your data is handled in compliance with the General Data Protection Regulation (GDPR).