BankTransfer
How to use BankTransfer to submit a payin in Philippines.
POST https://gateway-test.pagsmile.com/trade/pay
This endpoint allows you to submit a payin by BankTransfer in Philippines.
Refunds are not supported for this payment method.
Headers
Content-Type
Yes
Fixed value: application/json; charset=UTF-8.
Authorization
Yes
Basic authentication using Base64(app_id:security_key).
Request Body
app_id
string
Yes
Maximum length: 32 characters.
Merchant application ID assigned by Pagsmile.
out_trade_no
string
Yes
Maximum length: 64 characters. Must be unique for the merchant application.
Merchant order number.
method
string
Yes
Fixed value: BankTransfer.
Payment method.
order_amount
decimal
Yes
Supports up to two decimal places. No method-specific minimum or maximum is currently specified.
Payment amount in PHP.
order_currency
string
Yes
Fixed value: PHP.
Payment currency.
subject
string
Yes
Maximum length: 128 characters.
Payment subject or order title.
content
string
No
Maximum length: 255 characters.
Payment description or order details.
timestamp
string
Yes
Format: yyyy-MM-dd HH:mm:ss. Maximum length: 19 characters.
Time at which the request is sent.
notify_url
string
Yes
Must be a valid URL. HTTPS is recommended.
Merchant endpoint that receives asynchronous payment notifications.
buyer_id
string
Yes
Maximum length: 128 characters.
Merchant-side customer ID.
Example
Request
Response
Complete the payment
Redirect the customer to the complete
pay_urlreturned by Pagsmile.The customer must complete the payment before the returned
due_date.Use the payment notification or the Payin Detail API to determine the final payment status.
A response with code=10000 confirms that the payment request was created. trade_status=PROCESSING does not mean that the payment has been completed. Confirm the final successful status before delivering goods or services.
Last updated
Was this helpful?