API reference
Loading the interactive reference…
Endpoint index
Setup
Store enablement, keys and webhook URL.
- POST
/v1/setupEnable your store
Cards
Card sessions to save or update cards. Called from your server with the secret key.
- POST
/v1/card_sessionsAuthorise a card capture, or a saved card update, for a customer - GET
/v1/card_sessions/{id}Retrieve a card session
Payments
Payment intents. Called from your server with the secret key.
- POST
/v1/payment_intentsCreate a payment intent - GET
/v1/payment_intents/{id}Retrieve a payment intent - POST
/v1/payment_intents/{id}/cancelCancel a payment intent
Refunds
Full refunds of paid payment intents. Called from your server with the secret key.
- POST
/v1/refundsRefund a payment intent - GET
/v1/refunds/{id}Retrieve a refund
Events
Reading events and their delivery state, resending them and sending a test webhook.
- GET
/v1/eventsList events - GET
/v1/events/{id}Retrieve an event - POST
/v1/events/{id}/resendResend an event - POST
/v1/webhooks/testSend a test event
Service status
Health probes of the service. No authentication required.
- GET
/healthReadiness probe - GET
/health/liveLiveness probe