Accept a GrabPay payment
Learn how to accept GrabPay, a common payment method in Southeast Asia.
Note
Subscriptions and using GrabPay for future payments aren’t currently supported. Reach out to Stripe support for any support queries on these features.
GrabPay is a single-use payment method. Customers pay with GrabPay by redirecting from your website to GrabPay to authorize the payment. After that, they will automatically be redirected back to your website. You’ll get immediate notification on whether the payment succeeded or failed.
Assets such as logos and payment buttons are provided in the branding guidelines section.
Determine compatibility
A Checkout Session must satisfy all of the following conditions to support GrabPay payments:
- Prices for all line items must be in the same currency. If you have line items in different currencies, create separate Checkout Sessions for each currency.
- You can only use one-time line items (recurring subscription plans aren’t supported).
- The
sgdcurrency is supported for businesses based in Singapore. - The
myrcurrency is supported for businesses based in Malaysia.
Accept a payment
Note
This guide builds on the foundational accept a payment Checkout integration.
Enable GrabPay as a payment method
When creating a new Checkout Session, you need to:
- Enable GrabPay in your Dashboard. Stripe automatically displays GrabPay to eligible customers using dynamic payment methods. If you currently specify
payment_, see the migration guide.method_ types - Make sure all your
line_use the same currency.items
curl https://api.stripe.com/v1/checkout/sessions \ -u "sk_test_BQokikJOvBiI2HlWgH4olfQ2:" \ -d "line_items[0][price_data][currency]=sgd" \ -d "line_items[0][price_data][product_data][name]=T-shirt" \ -d "line_items[0][price_data][unit_amount]=2000" \ -d "line_items[0][quantity]=1" \ -d mode=payment \ --data-urlencode "success_url=https://example.com/success"
Fulfill your orders
After accepting a payment, learn how to fulfill orders.
Test your integration
When testing your Checkout integration, select GrabPay as the payment method and click the Pay button.