For End Users
For Merchant Developers
Quick guide
Create an account, get your service-account keys, and make your first authenticated PaymentGateway API request.
Authentication
How to authenticate to the PaymentGateway API — secret keys, OAuth bearer tokens, test/live mode, and required headers.
Core concepts
The resource model, identifiers, livemode, pagination, idempotency, expand, and multi-tenancy basics every integrator should know.
Errors
The PaymentGateway error envelope, error-code ranges, and the live error catalog.
Expand
expand[] objects on retrieve and list responses.
Provider capability matrix
What each payment provider supports across the unified API — capture, refunds, disputes, settlement, and billing mode.
Webhook events by provider
Which webhook events each provider emits, which ones drive your payment state, and provider-specific caveats — starting with Stripe and Omise.
Charge events
What data you get for charge.created, charge.paid, charge.captured, charge.canceled, charge.expired, charge.refunded, and charge.requires_action.
Charge dispute events
What data you get for charge.dispute.created, .updated, .closed, .funds_withdrawn, and .funds_reinstated.
Checkout session events
What data you get for checkout.session.completed and checkout.session.expired.
Payment intent events
What data you get for payment_intent.canceled.
Payment link events
What data you get for payment_link.expired.
Refund events
What data you get for refund.created, refund.updated, and refund.failed.
Payout events
What data you get for payout.created, payout.pending, payout.sent, payout.canceled, and payout.failed.
Transfer events
What data you get for transfer.created, transfer.paid, transfer.captured, transfer.canceled, and transfer.reversed.
Bank account events
What data you get for bank_account.created and bank_account.deleted.
Provider credential events
What data you get for provider.credentials_invalid and provider.credentials_restored.
Subscription events
What data you get for subscription.created, .updated, .resumed, .paused, .canceled, and .trial_will_end.
Subscription schedule events
subscription_schedule.* events are reserved for a future feature and not sent yet.
Invoice events
What data you get for invoice.created, .finalized, .finalization_failed, .paid, .payment_failed, .payment_action_required, .overdue, .updated, .uncollectible, .void, and .creditnote.updated.
Billing portal events
What data you get for billing_portal.configuration.created, .configuration.updated, and .session.created.
Credit note events
What data you get for credit_note.created, credit_note.updated, and credit_note.canceled.
Customer events
What data you get for customer.created, .updated, .deleted, and customer.tax_id.created/.updated/.deleted.
Payment method events
What data you get for payment_method.created, payment_method.updated, and payment_method.deleted.
Product events
What data you get for product.created, product.updated, and product.deleted.
Price events
What data you get for price.created, price.updated, and price.deleted.
Coupon events
What data you get for coupon.created, coupon.updated, and coupon.deleted.
Promotion code events
What data you get for promotion_code.created, .updated, and .deleted.
Discount events
discount.applied and discount.removed are reserved and not sent yet.
Shipping rate events
What data you get for shipping_rate.created, .updated, and .deleted.
Tax rate events
tax_rate.created and tax_rate.updated carry no tax rate data.
Quote events
What data you get for quote.created, quote.finalized, quote.accepted, and quote.canceled.
Checkout SDK
Checkout SDK
Embeddable checkout for React, Vue, Svelte, SvelteKit, Nuxt, Solid, Angular, Next.js, jQuery and vanilla JS — card entry stays inside a cross-origin iframe.
SDK Configuration
Reference for EmbeddedCheckoutConfig, EmbeddedCheckoutOptions, configure(), styles, and the SDK error types.
Payment Providers
How the SDK resolves a card provider per session, which providers are live, and the separate createProvider/registerProvider API registry.
Embed & Vanilla API
The no-bundler path — the CheckoutSDK script-tag global, the jQuery plugin, and the 3DS return contract.
Framework Adapters
React, Next.js, Vue, Nuxt, Svelte, SvelteKit, Solid, and Angular usage of EmbeddedCheckout.
API Reference
Authentication
10 endpoints
Account
1 endpoint
Accounts
13 endpoints
Analytics
4 endpoints
Application
38 endpoints
Application Fees
7 endpoints
Audit Logs
1 endpoint
Balance
11 endpoints
Balance Transaction
2 endpoints
Bank Account
14 endpoints
Bank Codes
2 endpoints
Billing
8 endpoints
Billing Portal
5 endpoints
Callbacks
2 endpoints
Charge
14 endpoints
Checkout
6 endpoints
Country
27 endpoints
Coupon
6 endpoints
Credit Balance
4 endpoints
Credit Note
6 endpoints
Credit Programs
3 endpoints
Credit Wallets
12 endpoints
Cron
14 endpoints
Customer
15 endpoints
Dispute
6 endpoints
E2E
13 endpoints
Factory
1 endpoint
Fee
4 endpoints
File
3 endpoints
Financial Reports
2 endpoints
Forex
5 endpoints
GDPR
2 endpoints
Health
3 endpoints
Impersonation Requests
3 endpoints
Internal
2 endpoints
Internal (Ops)
20 endpoints
Invoice
19 endpoints
Invoice Payments
1 endpoint
Labels
25 endpoints
Lodash Link
6 endpoints
Log
2 endpoints
Meter
9 endpoints
Meter Event
2 endpoints
Node
1 endpoint
Onetime
48 endpoints
Payment Intent
8 endpoints
Payment Links
7 endpoints
Payment Method
10 endpoints
Payout
13 endpoints
Policies
2 endpoints
Price
6 endpoints
Product
5 endpoints
Promotion Code
5 endpoints
Quote
9 endpoints
Ready
1 endpoint
Receipt
4 endpoints
Reconciliation
3 endpoints
Reference Data
7 endpoints
Refund
11 endpoints
Registry
3 endpoints
Role
7 endpoints
Scheduler
3 endpoints
SDK
1 endpoint
Service Account
11 endpoints
Setup Intent
2 endpoints
Shipping Rate
5 endpoints
Subscription
16 endpoints
Superuser
19 endpoints
Survey
5 endpoints
System
1 endpoint
Table Metadata
3 endpoints
Tax Codes
3 endpoints
Tax ID
8 endpoints
Tax Rate
4 endpoints
Test Clocks
7 endpoints
Testing (dev only)
8 endpoints
Transfer
9 endpoints
Webhook (Receiver)
8 endpoints
Webhook Endpoint (Publisher)
6 endpoints
Webhook Event (Publisher)
1 endpoint
Webhook Job
1 endpoint

