Skip to main content
POST
Create organization

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

FlowClient Credentials
Token URL
https://api.opencard.io/oauth/token
Scopes1
organizations-write
Create organizations

Path Parameters

accountId
integer
required

Your account ID

Body

application/json
reference_id
string
required

Your internal client ID — echoed in every webhook for this organization

tpa_id
integer
required

TPA id from POST .../tpas

billing_id
integer
required

Billing profile id from POST .../billings. Required for webhooks with transaction, receipt or Åland index events — the webhook is validated against the billing's product_* flags.

name
string

Response

201 - application/json

Organization created