Quickstart
v1- 1Create merchant account
- 2Generate sandbox keys
- 3Create payment intent
- 4Redirect to hosted checkout
- 5Verify webhook signature
- 6Reconcile settlement report
Developer platform
멱등성 키, 서명된 웹훅, 호스팅 체크아웃 세션을 포함한 REST 결제 API입니다.
Start here
| Method | Path | Use |
|---|---|---|
| POST | /api/v1/payments |
Create a live hosted-checkout payment through the WQN key and OneCloudPay provider route |
| GET | /api/v1/payments |
List recent payments for the authenticated merchant API key |
| GET | /api/v1/payments/{id} |
Read payment state, checkout URL, and provider references |
| GET | /api/v1/wallet |
Read merchant wallet balances and recent ledger entries |
| GET | /api/v1/bank-accounts |
List masked bank accounts configured for the authenticated merchant |
| GET | /api/v1/kyc |
Read merchant KYC/KYB profile status |
| GET | /api/v1/withdrawals |
List merchant withdrawal requests |
| POST | /api/v1/withdrawals |
Create a withdrawal request and lock wallet balance for operations approval |
| GET | /api/v1/settlements |
List merchant settlement batches |
| GET | /api/v1/reports/summary |
Read payment, wallet, settlement, and withdrawal totals |
| GET | /api/v1/notifications |
List merchant notifications |
| GET | /api/v1/support-tickets |
List support tickets opened by the merchant |
| POST | /api/v1/support-tickets |
Open a support ticket for integration, settlement, webhook, or payment issues |
| GET | /api/v1/payment-links |
List merchant payment links |
| GET | /api/v1/qr-codes |
List merchant QR payment codes |
| GET | /api/v1/webhooks |
List configured merchant webhook endpoints |
| POST | /v1/checkout/sessions |
Planned hosted checkout session abstraction for future provider routing |
| POST | /v1/provider-routes/2c2p |
Select 2C2P-style route for card, wallet, QR, BNPL, or counter payment |
| POST | /v1/providers/2c2p/payment-token |
Create a provider session token before redirect, direct, or SDK payment |
| POST | /v1/providers/2c2p/webhook |
Receive encrypted/signed provider notification and normalize WQN event |
| POST | /v1/refunds |
Create full or partial refund |
| POST | /v1/payments/{id}/cancel |
Cancel or void eligible pending provider transaction |
| POST | /v1/webhooks/test |
Send a signed test webhook to merchant endpoint |
| GET | /v1/settlements |
List settlement batches and reconciliation files |
curl -X POST "https://gateway.wqnwqn.com/api/v1/payments" \
-H "Authorization: Bearer wqn_sandbox_your_merchant_key" \
-H "Idempotency-Key: ORDER-1001-create" \
-H "Content-Type: application/json" \
-d '{
"amount": 50,
"currency": "USD",
"merchant_reference": "ORDER-1001",
"description": "Order 1001",
"return_url": "https://merchant.example.com/success",
"cancel_url": "https://merchant.example.com/cancel"
}'
{
"data": {
"id": "wqn_pay_9a41c20bd1ee4552",
"object": "payment",
"status": "pending",
"amount": 50,
"currency": "USD",
"merchant_reference": "ORDER-1001",
"checkout_url": "https://gateway.wqnwqn.com/sandbox/checkout/...",
"provider": "sandbox",
"provider_payment_id": "pay_test_provider_..."
}
}
자신 있게 구축