API Reference
Complete reference documentation for the Payments API.
Base URL
All API requests should be made to:
https://checkout.exodus.comAuthentication
All API requests require authentication using your API key in the Authorization header.
headers: {
'Authorization': 'Bearer sk_live_xxxxxxxxxxxxxxxx'
}🔐
See the Authorization guide for complete details.
Endpoints
Checkouts
Create and manage one-time payment sessions.
| Endpoint | Description |
|---|---|
POST /checkouts | Create a checkout |
GET /checkouts/:id | Get checkout details |
GET /checkouts | List all checkouts |
POST /checkouts/:id/cancel | Cancel a checkout |
Subscriptions
Create and manage recurring billing.
| Endpoint | Description |
|---|---|
POST /subscriptions | Create a subscription |
GET /subscriptions/:id | Get subscription details |
GET /subscriptions | List all subscriptions |
POST /subscriptions/:id/cancel | Cancel a subscription |
Payments
View payment details and manage captures and refunds for two-step payments.
| Endpoint | Description |
|---|---|
GET /payments/:id | Get payment details |
GET /payments | List all payments |
POST /payments/:id/capture | Capture a payment |
POST /payments/:id/refund | Refund a payment |
Webhooks
Receive real-time event notifications.
🔔
See the Webhooks guide for event types, payload structure, and signature verification.
