UOB EZ Pay

Direct Debit payment method by Bank UOB. Upon making purchase, customer will be redirected to the UOB Personal Internet Banking website to complete payment.

Steps to integrate :

  1. Send the charge API request to Midtrans.
  2. Redirect your customer back to your page by configuring Finish URL in Midtrans's Dashboard > Snap Preferences or via [API Request] (/docs/snap-advanced-feature#custom-finish-url).
  3. Handle notifications.

By default, expiry time for UOB EzPay is 14 minutes unless specified by merchant (min 20s, max 180 days).




Sample JSON Request Body


{
  "transaction_details": {
    "order_id": "ORDER-101",
    "gross_amount": 10000
  },
  "item_details": [{
    "id": "ITEM1",
    "price": 10000,
    "quantity": 1,
    "name": "Midtrans Bear",
    "brand": "Midtrans",
    "category": "Toys",
    "merchant_name": "Midtrans"
  }],
  "customer_details": {
    "first_name": "TEST",
    "last_name": "MIDTRANSER",
    "email": "[email protected]",
    "phone": "+628123456"
  },
  "enabled_payments": ["uob_ezpay"],
  "uob_ezpay": {
    "callback_url": "http://uobezpay.com"
  }
}
ParameterDescription
transaction_details
Transaction Details Object (required)
Unique transaction ID
item_details
[Item Details]/reference/json-objects#item-details-object) Object (optional)
Item details will be paid by customer
customer_details
Customer Details Object (optional)
Details of the customer
enabled_payments
Array (optional)
Set what payment method to show in Snap's payment list. Value: uob_ezpay
uob_ezpay
UOB EZ Pay (optional)
UOB EZ Pay payment options

For a full list of request body parameters please refer to the Request Body (JSON Parameter) section.