Skip to main content
POST
/
v1
/
mastercard
/
credentials
Create a Mastercard credential account
curl --request POST \
  --url https://sandbox-api.borderless.xyz/v1/mastercard/credentials \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "accountAlias": "user@example.com",
  "aliasType": "EMAIL",
  "status": "ACTIVE",
  "kycLevel": "LEVEL_1",
  "addressLine1": "<string>",
  "addressLine2": "<string>",
  "city": "<string>",
  "state": "<string>",
  "country": "<string>",
  "postalCode": "<string>"
}
'

Documentation Index

Fetch the complete documentation index at: https://docs.borderless.xyz/llms.txt

Use this file to discover all available pages before exploring further.

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.