Skip to main content
POST
Confirm a card setup

Authorizations

Authorization
string
header
required

Bearer token for the authenticated caller.

Headers

akua-context
string

Optional workspace/scope context for the request. Carries a single workspace wire id (ws_…) today. Only needed for broad tokens - a workspace-owned token implies its workspace.

Required string length: 1 - 53
Example:

"ws_j572abc123def4"

Path Parameters

billing_account
string
required
Required string length: 3 - 54

Body

application/json
session_id
string
required
Pattern: ^cs_(live|test)_[A-Za-z0-9]{1,250}$

Response

BillingAccount

id
string
required
Required string length: 3 - 54
name
string
required
Pattern: ^billingAccounts\/bac_[A-Za-z0-9]+$
Example:

"billingAccounts/bac_4kQ9mXr2Tz7Lw1"

organization_id
string
required
Required string length: 3 - 54
display_name
string
required
Required string length: 1 - 100
state
enum<string>
required
Available options:
PENDING,
ACTIVE,
CLOSED
payment_method
object
required
currency_code
enum<string>
required
Available options:
EUR
conditions
object[]
required

Problems and notable facts that hold now, beside state; empty when there are none. See each reason in the resource description.

Maximum array length: 32
created_at
integer
required

Unix timestamp (seconds)

Required range: 0 <= x <= 9007199254740991
updated_at
integer
required

Unix timestamp (seconds)

Required range: 0 <= x <= 9007199254740991
closed_at
integer | null
required

Unix timestamp (seconds)

Required range: 0 <= x <= 9007199254740991
etag
string
required
Maximum string length: 64