> ## Documentation Index
> Fetch the complete documentation index at: https://curlec.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# ShopeePay

> Offer your customers ShopeePay wallet and ShopeePay Pay Later (SPayLater) on Razorpay Curlec.

Available in
🇲🇾 Malaysia

ShopeePay lets your customers pay from their ShopeePay wallet balance or with ShopeePay Pay Later (SPayLater), which splits the purchase into instalments. One enablement gives you both. You are credited the full order amount, whichever option the customer uses.

| Option | Method Code | Wallet or Provider Code |
| - | - | - |
| ShopeePay wallet | `wallet` | `wallet`: `shopeepay` |
| ShopeePay Pay Later | `paylater` | `provider`: `shopeepay` |

> [!NOTE]
>
> **Payment Method Enablement**
>
> ShopeePay is not enabled by default. Contact your account manager or raise a request with our [Support team](https://curlec.com/support/). One enablement covers both the ShopeePay wallet and ShopeePay Pay Later. You cannot enable one without the other.

## Supported Products

| Product | Availability |
| - | - |
| [Standard Checkout](https://curlec.com/docs/payments/payment-gateway/web-integration/standard.md) | ✓ |
| [Payment Links](https://curlec.com/docs/payments/payment-links) | ✓ |
| [Payment Pages](https://curlec.com/docs/payments/payment-pages) | ✓ |
| [S2S Integration](https://curlec.com/docs/payments/payment-gateway/s2s-integration/payment-methods) | ✓ |
| Custom Checkout and mobile SDKs | Coming soon |
| Plugins | Not supported |

On Standard Checkout, Payment Links and Payment Pages, ShopeePay appears on its own once it is enabled. You do not need to change your integration.

## Payment Flow

1. The customer selects **Wallets** → **ShopeePay** or **Pay Later** → **ShopeePay** at checkout.
2. The customer is redirected to ShopeePay's page or app.
3. The customer completes the payment from their wallet balance or chooses a ShopeePay Pay Later instalment plan.
4. ShopeePay confirms the payment to us, and the customer is redirected back to your website or app.

> [!NOTE]
>
> **The customer can switch options on ShopeePay's page**
>
> Choosing wallet or Pay Later at checkout only pre-selects the option on ShopeePay's page. A customer who chose the wallet can pay with Pay Later, and the reverse. The payment keeps the `method` it was created with (`wallet` or `paylater`), whichever option the customer used.

## Integrate Using S2S

Create the payment with the existing S2S wallet flow. Only the wallet or provider value is new.

```json Wallet theme={null}
{
  "amount": 50000,
  "currency": "MYR",
  "order_id": "order_Ik2PnZ9nFEGnwu",
  "email": "nur.aisyah@example.com",
  "contact": "+60123456789",
  "method": "wallet",
  "wallet": "shopeepay",
  "callback_url": "https://example.com/payment/callback"
}
```

```json Pay Later theme={null}
{
  "amount": 50000,
  "currency": "MYR",
  "order_id": "order_Ik2PnZ9nFEGnwu",
  "email": "nur.aisyah@example.com",
  "contact": "+60123456789",
  "method": "paylater",
  "provider": "shopeepay",
  "callback_url": "https://example.com/payment/callback"
}
```

Send the request to `POST /v1/payments/create/json` and redirect the customer to the URL in the response. Know more about the [S2S wallet integration](https://curlec.com/docs/payments/payment-gateway/s2s-integration/payment-methods/wallet).

> [!WARNING]
>
> **Do not treat the redirect to your callback URL as a successful payment**
>
> Confirm the payment status from the `payment.captured` or `payment.failed` webhook, or by fetching the payment. ShopeePay Pay Later payments can stay in `created` state for a few minutes while the customer chooses an instalment plan.

ShopeePay payments carry ShopeePay's transaction reference in `acquirer_data.transaction_id`, like the other wallets. Webhook events and payloads are the same as for other wallets.

## Transaction Limits

| Limit | Value |
| - | - |
| Currency | MYR only |
| Minimum transaction amount | RM 1.00 |

## Refunds

You can refund ShopeePay payments in full or in part with the [Refunds API](https://curlec.com/docs/api/refunds.md) or from the Dashboard. Only normal refunds are supported. Instant refunds are not supported.

* ShopeePay processes one refund at a time for a payment. If you create a second refund while one is in progress, we queue it and submit it once the first completes. It shows as `created`. Do not create it again.
* ShopeePay does not process refunds between 12 AM and 5 AM MYT. We retry refunds created in that window automatically.

## Frequently Asked Questions

> [accordion] Can I offer only the ShopeePay wallet, without Pay Later?
>
> No. One enablement covers both, and ShopeePay shows both options on its page.

> [accordion] When do I get paid for a ShopeePay Pay Later payment?
>
> Your existing [settlement](https://curlec.com/docs/payments/settlements) cycle does not change. You receive the full order amount, and ShopeePay collects the instalments from your customer.

> [accordion] Can I take recurring payments with ShopeePay?
>
> No. ShopeePay is for one-off payments. Know more about the methods supported for [Recurring Payments](https://curlec.com/docs/payments/recurring-payments).

### Related Information

* [About Wallets](https://curlec.com/docs/payments/payment-methods/wallets)
* [Pay Later](https://curlec.com/docs/payments/payment-methods/pay-later.md)
