Skip to main content
POST
Create a Mastercard credential account

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
accountAlias
string
required

The account alias (e.g. email address).

Maximum string length: 255
Example:

"user@example.com"

aliasType
enum<string>
required

The type of alias.

Available options:
EMAIL,
PHONE_NUMBER,
DOMAIN_NAME
Example:

"EMAIL"

status
enum<string>
required

The initial status of the account.

Available options:
ACTIVE,
SUSPEND,
DECOMMISSIONED
Example:

"ACTIVE"

kycLevel
enum<string>
required

The KYC level for the account.

Available options:
LEVEL_1,
LEVEL_2,
LEVEL_3
Example:

"LEVEL_1"

addressLine1
string

Address line 1.

Maximum string length: 255
addressLine2
string

Address line 2.

Maximum string length: 255
city
string

City.

Maximum string length: 255
state
string

State or province.

Maximum string length: 255
country
string

Country code.

Maximum string length: 255
postalCode
string

Postal code.

Maximum string length: 255

Response

201

Account created successfully.