Applicable scenarios
- Server-to-server payment processing
- You already have your own hosted checkout page or payment form
- Custom integration requiring maximum flexibility
Integration roadmap
1
Choose the product
Choose one-time payment for single-charge orders, or subscription payment for recurring billing.
2
Integrate required APIs
One-time payment requires order create, order inquiry, and payment notification. Subscription requires subscription create, subscription inquiry, subscription status notification, and subscription payment notification.
3
Add conditional APIs as needed
Add cancel, refund, refund inquiry, refund notification, subscription manage, or subscription change only when your business flow needs them.
4
Use API Reference for field details
Request fields, response fields, enums, and signing rules are maintained in API Reference. Do not copy field definitions from offline PDFs.
5
Test in sandbox
Use Sandbox and testing, including Apple Pay and Google Pay checks if needed.
6
Submit acceptance materials
For your first integration, download the one-time payment acceptance template or subscription acceptance template. Only for a subsequent one-time payment integration, download the one-time payment additional integration acceptance template. Fill in the executed cases and submit the result to the Waffo technical support group.
Base URL
Request format
- Content-Type:
application/json(UTF-8 encoding) - All requests use HTTP POST
- Request headers must include
X-API-KEYandX-SIGNATURE - Raw HTTP requests must explicitly send
X-API-VERSION: 1.0.0. SDKs manage this header automatically; do not set or override it. Thev1.3value in API version history identifies documentation and external contract revisions and must not be used as this request header subscriptionManagementUrlis required for every/api/v1/subscription/createrequest
Response format
codeis"0"indicates success- On failure,
codeis an error code (for example"A0003"), anddatais empty - Response header
X-SIGNATUREcontains the Waffo signature and must be verified
Core APIs
One-time payment
Subscription payment
Configuration lookup
Acceptance templates
After API integration and sandbox testing, choose the template for your integration stage:- First one-time payment integration: One-time payment acceptance template
- First subscription payment integration: Subscription acceptance template
- Subsequent one-time payment integration: One-time payment additional integration acceptance template
This template applies to
ONE_TIME_PAYMENT. Use it only after you have completed at least one integration acceptance and the current integration is not your first. Do not use it for your first integration.