Skip to main content
POST
Set up a payment method

Authorizations

Authorization
string
header
required

Production keys begin with darwin_. Isolated sandbox keys begin with darwin_test_. Create keys in Developer settings.

Headers

Idempotency-Key
string
required

A caller-generated key, unique to this operation and payload.

Required string length: 1 - 200

Path Parameters

aiId
string
required

Response

Client details for confirming the SetupIntent.

clientSecret
string | null
required
publishableKey
string
required