Create a new shared card
POST
/v2/cardsRequest
Use this request to create a new shared virtual card for a budget. Learn more about card types.Query parameters
string
required
The ID of the account that the budget belongs to.Allowable values: An existing
accountIdRequest body schema
string
required
The type of card owner. Set this to
BUDGET.Allowable values: BUDGETstring
The phone number associated with the shared card, including the area code. Do not include hyphens, spaces, or parentheses.Allowable values: A valid string, prepended by the
+ symbol and the 1- to 3-digit country calling codestring
required
The ID of the budget for which you’re creating the card.Allowable values: An existing
budgetId (≤ 36 characters)string
required
The name of the card. Any diacritics will be converted to the nearest English letter equivalent. Note that any name that is longer than 21 characters will be truncated.Allowable values: A valid string
Response
If your request is successful, you’ll receive a201 response.
Create a new individual card
POST
/v2/cardsRequest
Use this request to create a new individual virtual card for a person. Learn more about card types.Query parameters
string
required
The ID of the account that this person is associated with.Allowable values: An existing
accountId.Request body schema
string
required
The ID of the person for whom you want to create the card.Allowable values: An existing
personId (≤ 36 characters)string
required
The type of card owner. Set this to
PEOPLE.Allowable values: PEOPLEarray
required
Details about the budget(s) that the card should be associated with.Allowable values: A valid
budgets object containing the following fields: budgetId, activestring
required
The name of the card. Any diacritics will be converted to the nearest English letter equivalent. Note that any name that is longer than 21 characters will be truncated.Allowable values: A valid string
Response
If your request is successful, you’ll receive a201 response.