Skip to main content
POST
Request a payment method

Authorizations

Authorization
string
header
required

Secret, platform or publishable API key. Platform keys require Payments-Account.

Headers

payments-account
string
payments-version
enum<string>
Available options:
2026-11-01
idempotency-key
string
required
Required string length: 1 - 255

Path Parameters

id
string
required
Pattern: ^processor_[a-f0-9]{12}$

Body

application/json
method
enum<string>
required
Available options:
card,
apple_pay,
google_pay,
link,
paypal,
klarna,
afterpay,
ideal

Response

Method request and any required action.

action
object | null
required
processor
object
required
requested_via
enum<string> | null
required
Available options:
api,
link,
null