WooshPay OpenAPI
Product DocumentAPI ReferenceJS SDK ReferenceSaaS Platform Integration
Product DocumentAPI ReferenceJS SDK ReferenceSaaS Platform Integration
Back to WooshPay Website
  1. Wallets
  • Online payments
    • Quick Start
    • Integration overview
    • Wooshpay JS SDK
    • Wooshpay Checkout
    • Wooshpay Direct API
    • Payment Link
    • Authorize and capture
    • Build subscriptions integration
    • Testing cards
  • After the payment
    • Payouts
    • Webhook
    • Check the webhook signatures
    • 校验webhook签名
  • Add more payment methods
    • Supported payment method
    • Cards
    • Wallets
      • Alipay
      • Alipay HK
      • Apple Pay
      • Google Pay
      • Wechat Pay
      • 微信支付
      • Kakao Pay
      • DANA
      • Boost
      • Grabpay
      • Mcash
      • Touch'n Go
      • ShopeePay
      • UnionPay
      • 9Pay
      • OVO
      • GCash
      • TrueMoney
    • Bank redirects
      • Bancontact
      • BPI
      • Trustly
      • EPS
      • Giropay
      • iDEAL
      • Przelewy24
      • FPX
    • Buy Now Pay Later
      • Klarna
    • Bank Debits
      • Sepa Direct Debit
    • Bank Transfer
      • Bank Transfer in Europe
      • Bank Transfer in United Kingdom
      • Bank Transfer in Indonesia
    • QR Payments
      • QRIS
      • PromptPay
    • Real-time payments
      • PIX
      • PayNow
      • UPI
      • SPEI
  • More payment scenarios
    • Set up future payments
    • Save payment method during payment
  • SaaS platform integration
    • Shopify Plugin
    • Shopastro 星盘
    • WooCommerce
    • Shoplazza 店匠
    • Shopline Plugin
    • Sage Connection
  • Resources
    • Supported currencies
  1. Wallets

Boost

In 2017, Boost launched its digital wallet with support from Axiata Digital, a digital telecommunication and infrastructure group in Asia. Users can use an app through which they can choose between a basic wallet and a premium wallet, which determine the balance limit and transaction limit.

Features#

Processing currenciesMYR,GBP,USD,EUR
Settlement currenciesGBP,USD,EUR,HKD
Minimum transaction amount0.01 MYR
Maximum transaction amount5,000.00 MYR
Refunds✅
Partial Refunds✅
Multiple partial refund❌
Chargeback❌

Integration Method#

Payment method enumeration values: boost
There is integration method for Boost
1.
Direct API
2.
Checkout

Direct API#

How to integration#

For direct API integration, you can create a PaymentIntent and get url in only one step. The following is the demo of creating payment intent:
Create a PaymentIntent
A PaymentIntent is an object that represents your intent to collect payment from your customer and tracks the lifecycle of the payment process. Create a PaymentIntent on your server and specify the amount to collect and a supported currency. If you have an existing Payment Intents integration, add boost to the list of payment method types.
Request
{
    "amount":200,
    "currency":"USD",
    "confirm":true,
    "payment_method_options":{
        "boost":{
            "terminal_type":"WEB"
        }
    },
    "payment_method_data" : {
        "type":"boost"
    },
    "return_url":"https://wooshpay.com"
}
Response
{
    "id": "pi_1744691520084115456",
    "object": "payment_intent",
    "created": 1704801848000,
    "livemode": false,
    "currency": "USD",
    "amount": 200,
    "status": "requires_action",
    "client_secret": "pi_1744691520084115456_secret_aQEpQKOc8Cz1QlZRR6Q7Xmil",
    "next_action": {
        "type": "boost_handle_redirect",
        "boost_handle_redirect": {
            "url": "https://psp.ac.alipay.com/page/simulation-wallet/acwallet/alipayconnectcode.html?code=281666040096G2L30bsyA304Wp1jz6k2swi6&pspName=BOOST&loadMode=2&needPull=false"
        }
    },
    "payment_method_types": [
        "boost"
    ],
    "confirmation_method": "automatic",
    "payment_method_options": {
        "boost": {
            "terminal_type": "WEB"
        }
    },
    "return_url": "https://wooshpay.com",
    "payment_method": "pm_1744691519979257856",
    "capture_method": "automatic"
}

Checkout#

Payment flow#

1.
Customer selects Boost from the list of payment methods available and clicks on the Pay botton
18a77133-227c-45f1-b71a-fe006b04b023.png
2.
Customers will be redirected to Boost's page. Scan QR and approve the payment

Create a Session#

Request
{
    "cancel_url": "www.wooshpay.com",
    "mode": "payment",
    "success_url": "https://wooshpay.com/",
    "payment_method_types": ["truemoney"],
    "line_items": [
        {
            "price_data": {
                "currency": "MYR",
                "unit_amount": 2000,
                "product_data": {
                    "name": "apple"
                },
                "billing_scheme": "testscheme",
                "lookup_key": "test_lookup_key"
            },
            "quantity": 1
        }
    ]
}
Response
{
    "id": "cs_1680921737639755776",
    "object": "checkout.session",
    "created": 1689597947000,
    "livemode": false,
    "currency": "MYR",
    "customer": "",
    "mode": "payment",
    "status": "open",
    "url": "https://checkouttest.wooshpay.com/pay/cs_test_1680921737639755776?key=pk_test_NTE2Njg1MDgwNDUzOTY4MDc2ODAxOm9Oa3pjN043U2dYWE84VVhGZmF4cThvTTE2ODY2MzgyOTYzMjU",
    "cancel_url": "www.wooshpay.com",
    "line_items": {
        "object": "list",
        "data": [
            {
                "id": "li_1680921737673310208",
                "object": "item",
                "currency": "MYR",
                "description": "apple",
                "price": {
                    "id": "price_1680921737681698816",
                    "object": "price",
                    "created": 1689597947000,
                    "livemode": false,
                    "active": false,
                    "currency": "MYR",
                    "product": {
                        "id": "prod_1680921737694281728",
                        "object": "product",
                        "created": 1689597947000,
                        "livemode": false,
                        "active": false,
                        "name": "apple",
                        "updated": 1689597947000
                    },
                    "type": "one_time",
                    "unit_amount": 2000,
                    "billing_scheme": "per_unit",
                    "lookup_key": "test_lookup_key"
                },
                "quantity": 1,
                "amount_subtotal": 2000,
                "amount_total": 2000
            }
        ]
    },
    "payment_intent": "pi_1680921737866248192",
    "payment_method_types": [
        "truemoney"
    ],
    "payment_status": "unpaid",
    "success_url": "https://wooshpay.com/",
    "amount_subtotal": 2000,
    "amount_total": 2000,
    "billing_address_collection": "auto",
    "expires_at": 1689684346928,
    "payment_link": "",
    "client_secret": "pi_1680921737866248192_secret_bKslLOpffohD4ni828W4Ilpu"
}

Next step#

You can add more features to your integration as needed

Create a Webhook#

Listen to events on your WooshPay account so your integration can automatically trigger reactions. Create a webhook that mainly focuses on enabled_events and url.

Create a Refund#

Create a refund to repay funds to your customer. You can also perform partial refunds, but not every payment method supports them. A partial refund is when you refund only part of the original transaction amount.
Modified at 2025-01-23 07:51:00
Previous
DANA
Next
Grabpay
Built with