Credit Card
How to use CreditCard to submit a payin in Europe.
Payin by CreditCard
POST https://gateway-test.pagsmile.com/trade/create
This endpoint allows you to submit a payin by CreditCard in Europe.
Headers
Content-Type*
string
application/json; chartset=UTF-8
Authorization*
string
Basic Base($app_id:$security_key)
Request Body
app_id*
string
created app's id at dashboard
- Max. 32 chars -
method*
string
Fixed value: CreditCard
out_trade_no*
string
ID given by the merchant in their system - Max. 64 chars -
notify_url*
string
Where Pagsmile will send notification to
return_url*
string
URL to which the customer is redirected after completing the payment flow. For this channel, the value must be a valid URI and must not exceed 1,024 characters.
timestamp*
string
yyyy-MM-dd HH:mm:ss - Max. 19 chars -
subject*
string
payment reason or item title
- Max. 128 chars -
order_amount*
string
payment amount - 0.01~ EUR -
order_currency*
string
Fixed value: EUR
content
string
payment reason detail or item detail
- Max. 255 chars -
buyer_id*
string
merchant user's id
version*
string
Fixed value: 2.0
trade_type*
string
Fixed value: WEB
timeout_express
string
m(minutes), h(hours), d(days), c(always end in current day).
Used to control the expiration time of submitting an order (from initial to processing). (90m in default, max 15d)
customer.email*
string
User's email
Example
Last updated