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
    • 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
      • MoMo
      • Zalopay
      • VNPT Wallet
    • 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
      • Bank Transfer in Nigeria
      • Bank Transfer in South Africa
      • Bank transfer in Vietnam
    • QR Payments
      • QRIS
      • PromptPay
    • Real-time Payments
      • PIX
      • PayNow
      • UPI
      • SPEI
    • Mobile Money
      • Mobile Money - Multi-Country Integration Guide
  • More payment scenarios
    • Save a customer's payment method when they use it for a payment
      • Save payment details during payment with Direct API
      • Save payment method during payment with Drop-in
    • Save a customer's payment method without making a payment
      • Save a payment method with Wooshpay Checkout
      • Save a payment method with Drop-in
      • Save a payment method with Direct API
  • SaaS platform integration
    • Shopify Plugin
    • WooCommerce
    • Shoplazza 店匠
    • Shopastro 星盘
    • Shopline Plugin
    • Sage Connection
  • Payouts
    • Overview
    • Cameroon
    • Europe
    • Ghana
    • Kenya
    • Nigeria
    • Philippines
    • Rwanda
    • South Africa
    • Tanzania
    • Uganda
    • United Kindom
    • United States of America
    • Monitor your payout results
    • Pakistan
    • Indonesia
  • Resources
    • Supported currencies
Product DocumentAPI ReferenceJS SDK ReferenceSaaS Platform Integration
Product DocumentAPI ReferenceJS SDK ReferenceSaaS Platform Integration
Back to WooshPay Website
  1. Wallets

ShopeePay

ShopeePay has experienced significant grow in South East Asia e-wallet market, since its official launch in 2020,. In a survey conducted by Indonesia local media Bisnis Indonesia, 76% of the respondents reported to have used ShopeePay.

Features#

Processing currenciesIDR,MYR,THB
Settlement currenciesEUR
Maximum transaction amount5,000 MYR /7,000THB
Refunds✅
Partial Refunds✅
Multiple partial refund❌
Chargeback❌

Integration Method#

Payment method enumeration values: shopeepay
There is integration method for ShopeePay
1.
Direct API

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 shopeepay to the list of payment method types.
Request
{
    "amount":100,
    "currency":"MYR",
    "confirm":true,
    "payment_method_data" : {
        "type":"shopeepay"
    },
    "return_url":"https://your.website"
}
Response
{
    "id": "pi_1670649173596176384",
    "object": "payment_intent",
    "created": 1687148777000,
    "livemode": false,
    "currency": "MYR",
    "amount": 100,
    "status": "requires_action",
    "client_secret": "pi_1670649173596176384_secret_lgvuBbzHLiCEvfbg0j21Abhu",
    "next_action": {
        "type": "shopeepay_handle_redirect",
        "shopeepay_handle_redirect": {
            "url": "https://apitest.wooshpay.com/v1/receives/c12/pay/pi_1670649173596176384"
        }
    },
    "payment_method_types": [
        "shopeepay"
    ],
    "confirmation_method": "automatic",
    "return_url": "https://your.website",
    "payment_method": "pm_1670649173478735872",
    "capture_method": "automatic"
}

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 2024-07-15 07:01:31
Previous
Touch'n Go
Next
UnionPay
Built with