Skip to main content
POST
/
accounts
/
{accountId}
/
tpas
Create TPA
curl --request POST \
  --url https://api.opencard.io/api/v1/application/accounts/{accountId}/tpas \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "card_issuer_id": 1,
  "name": "Acme AB",
  "country": "SE",
  "organization_number": "5561234567",
  "language": "sv"
}
'
{
  "id": 42,
  "account_id": 1,
  "card_issuer_id": 1,
  "name": "Acme AB",
  "country": "SE",
  "organization_number": "5561234567",
  "activated": false,
  "signatures_verified": false,
  "status": "pending-signatures"
}

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

Body

application/json
card_issuer_id
integer
required
name
string
required
country
enum<string>
required
Available options:
SE,
DK,
NO,
FI
organization_number
string
required
language
enum<string>
Available options:
sv,
no,
da,
en,
fi

Response

201 - application/json

TPA created