Checkout Page
How to request a checkout page.
This endpoint allows you to request a checkout page.
POST
https://sandbox.transfersmile.com /api/checkout
Headers
Content-Type*
String
application/json; charset=UTF-8
Authorization*
String
SHA256($sorted_params + $app_key)
AppId*
String
Your App ID in payout platform
Request Body
user_id*
String
user id
custom_code*
String
merchant payout id
fee_bear*
String
one of [beneficiary | merchant]
source_currency*
String
Merchant Account Currency
- One of: USD, EUR, GBP, BRL -
payout_currency*
String
Payout/Arrival Currency
- One of: USD, BRL, MXN -
payout_amount*
String
Payout Amount, Numeric
timeout
Integer
default & max 1800 seconds
notify_url*
String
Where pagsmile will send notification to.
return_url*
String
When a user completes the payout, where will return back to.
additional_remark*
String
transaction description
- Length must less than 40 -
country
String
BRA for Brazil
MEX for Mexico
GLOBAL for PayPal
method
String
Payment Method
- e.g. PIX, SPEI, PayPal,BANKTRANSFER -
Request Example
Note: 94FAC**********************68548 is pagsmile's test merchant id for sandbox, and d6181db0d6548b94b162e75d095b59147172d914699f83b2bd17951a671b6302 is authorization token associated with the test App ID.
Checkout Logo
WEB
128px * 64px
H5
42px * 42px
Supported Countries
BRA(Brazil)
PIX, Banktransfer
USD, BRL
BRL
MEX(Mexico)
SPEI
USD, MXN
MXN
GLOBAL
PayPal
USD
USD
Last updated