Skip to main content
POST
Set up a payment method

Authorizations

Authorization
string
header
required

Darwin API keys begin with darwin_ and are created 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

agentId
string
required

Response

Client details for confirming the SetupIntent.

clientSecret
string | null
required
publishableKey
string
required