POST/api/v2/cards

Create a new card

UserId remains a required positive body field. Company API keys and platform administrators retain supported selected-user operations within tenant authorization; an ordinary JWT caller's valid body UserId is replaced by the authenticated user.

Authentication

Send your API key in the x-api-key header on every request.

Request body

application/json

Request body fields
FieldTypeRequiredDescription
UserIdunknownYesRequired positive selected company user for API-key integrations. Ordinary JWT callers resolve this valid body value to the authenticated user.
CardTypeIdunknownYes
ExternalCardIdstringNoOptional external identifier. The card provider assigns its own identifier when this value is omitted.
NicknamestringNo
CurrencystringNo
CardNamestringNo
BudgetIdstringNoRequired when the selected card type uses EqualsMoney; optional for card types.
BillingAddressobjectNo
DeliveryAddressobjectNo
DeliveryAddressIdstringNo
PhonestringYes
PhoneCodestringNoOptional when Phone is supplied in E.164 format. Otherwise provide the country calling code.
DesignIdstringNo
PhysicalCardDesignIdstringNo
DiscountCodestringNo
AutoLockEnabledbooleanNo

Responses

201 — Created

Response 201 fields
FieldTypeRequiredDescription
DiscountCodestringNoThe discount code saved on the issued card, if any.
IdunknownNo
UserIdunknownNo
ExternalCardIdstringNo
ProviderstringNoCanonical banking provider that owns the card (for example, the card platform or equalsmoney). This value is sourced from cards.bank_provider_type.
BudgetIdstringNoProvider budget identifier associated with the card.
DeliveryAddressIdstringNo
NicknamestringNo
CardTypestringNo
CardNetworkstringNoCard scheme resolved from the card tier's effective BIN range (for example, Visa or Mastercard).
CardNumberstringNoMasked number only, for example ****-****-****-1234; empty if no last four are available. Sensitive PAN is available through the secure widget.
ExpiryDatestringNo
StatusCardStatusV2NoCard lifecycle status returned by card creation, list, and detail operations. Possible values: PENDING, UNACTIVATED, ACTIVE, SUSPENDED, BLOCKED, FROZEN, EXPIRED, CANCELLED, PAYMENT_REQUIRED, FAILED, SHIPMENTPENDING, SHIPPED.
BalanceCardBalanceV2No
CurrencystringNo
VelocityControlobjectNo
CreatedAtstringNo
UpdatedAtstringNo
CardTypeIdunknownNo
CardTypeTierIdunknownNo
TierIdunknownNo
CanSetPinbooleanNoIndicates whether this card supports changing its PIN.
AutoLockEnabledbooleanNo
AutoLockActiveUntilstring (date-time)No
TransakOrderstringNo
RequiredAmountstringNo
AvailableAmountstringNo
ShortfallstringNo
MessagestringNo
Errorsarray of InterLaceCheckNo

400 — Bad Request

Response 400 fields
FieldTypeRequiredDescription
MessagestringNo
CodestringNo
StatusunknownNo
ValidationErrorsobjectNo
DetailsstringNo

404 — Not Found

Response 404 fields
FieldTypeRequiredDescription
MessagestringNo
CodestringNo
StatusunknownNo
ValidationErrorsobjectNo
DetailsstringNo

500 — Internal Server Error

Response 500 fields
FieldTypeRequiredDescription
MessagestringNo
CodestringNo
StatusunknownNo
ValidationErrorsobjectNo
DetailsstringNo

Example request

curl -X POST "https://{base_url}/api/v2/cards" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"UserId":"…","CardTypeId":"…","Phone":"…"}'

This page is generated from the live OpenAPI specification and always matches the current API.