Skip to main content
POST
Set up a payment method

Authorizations

Authorization
string
header
required

User keys begin with darwin_. Application service-account keys begin with darwin_sa_ and are restricted to linked agents.

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