API v2

REST. JSON. Idempotency keys on every mutation.

Backwards compatible until the heat death of your startup. Breaking changes always ship with a v3 namespace.

Core resources

  • POST /v2/payments
  • GET /v2/payments/:id
  • POST /v2/payments/:id/captures
  • POST /v2/payments/:id/refunds

Customers & vault

  • POST /v2/customers
  • POST /v2/customers/:id/sources
  • DELETE /v2/sources/:id

Payouts & balances

  • GET /v2/balances
  • POST /v2/payouts
  • GET /v2/payouts/:id

Disputes

  • GET /v2/disputes
  • POST /v2/disputes/:id/evidence

Webhooks

  • POST /v2/webhook_endpoints
  • GET /v2/events/:id