The sandbox environment does not connect to real payment channels. Instead, it provides a simulator that lets you directly control payment outcomes and quickly verify your integration logic.Documentation Index
Fetch the complete documentation index at: https://waffo.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
One-time payment simulation
Open the checkout page
Open the checkout page in your browser. Simulation buttons will be displayed on the page.
Select a payment result
Click the corresponding button to simulate a payment result:
- Payment succeeded — Simulates the user completing payment. The order status changes to
PAY_SUCCESS. - Payment failed — Simulates a declined payment. The order status changes to
ORDER_CLOSE.
PAYMENT_NOTIFICATION webhook to your notifyUrl.
The sandbox checkout is a simulator interface — there is no real payment method selection or card number entry. The simulation flow is the same for all payment methods.
Subscription simulation
First payment
The first payment follows the same flow as a one-time payment:Simulate a renewal payment
After a subscription is activated, you can quickly test renewal without waiting for the real billing cycle to expire:Get the management page URL
Call
POST /api/v1/subscription/manage to retrieve the management page URL.Simulate a renewal result
The management page displays two simulation buttons:
- Simulate next payment succeeded — Triggers a successful renewal. Sends a
PAYMENT_NOTIFICATIONand aSUBSCRIPTION_PERIOD_CHANGED_NOTIFICATION. - Simulate next payment failed — Triggers a failed renewal. Sends a
PAYMENT_NOTIFICATION(failed).
Each button click simulates one renewal period. You can click multiple times to test multi-period scenarios (for example, period 2 succeeds, period 3 fails).

Simulate subscription cancellation
The management page also supports user-initiated cancellation, which triggers aSUBSCRIPTION_STATUS_NOTIFICATION with the status changed to USER_CANCELLED.
Test card numbers
Credit cards
| payMethodName | Success card number | Failure card number |
|---|---|---|
| CC_VISA | 4576750000000110 | 4576750000000220 |
| CC_MASTERCARD | 2226900000000110 | 2226900000000220 |
| CC_JCB | 3528000000000214 | 3528000000120006 |
| CC_AMEX | 3400000000000216 | 340000000200027 |
Debit cards
| payMethodName | Success card number | Failure card number |
|---|---|---|
| DC_VISA | 4001700000000110 | 4001700000000220 |
| DC_MASTERCARD | 2226930000000110 | 2226930000000220 |
| DC_JCB | 3088850000000116 | 3088850000200004 |
| DC_AMEX | 340034000100009 | 340034000400003 |
General information
- Expiry date: any future date
- CVV: any 3-digit number (4 digits for AMEX)
Sandbox environment information
| Item | Value |
|---|---|
| Base URL | https://api-sandbox.waffo.com |
| SDK configuration | Environment.SANDBOX |