Skip to main content
POST
/
accounts
/
{accountId}
/
organizations
/
{organizationId}
/
cardholders
Create card holder
curl --request POST \
  --url https://api.opencard.io/api/v1/application/accounts/{accountId}/organizations/{organizationId}/cardholders \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "reference_id": "employee_john_42",
  "email": "john@acme.se",
  "language": "sv"
}
'
{
  "id": 15,
  "reference_id": "employee_john_42",
  "organization_id": 3,
  "meta": {
    "signed": false,
    "pdpc_url": "https://sandbox-api.opencard.io/accounts/1/pdpcs/8/sign/abc...",
    "email_delivered": true
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

accountId
integer
required

Your account ID

organizationId
integer
required

Organization ID

Body

application/json
reference_id
string
required
email
string
identity_id
integer
skip_pdpc_email
boolean
language
string

Response

201 - application/json

Card holder created