curl --request PATCH \
--url https://api.next.orenda.finance/v1/customers/{customerId}/accounts/{accountId}/cards/{cardId}/limits \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"limitGroupId": "lg_123",
"cardType": "VIRTUAL"
}
'{
"success": true,
"message": "Card limit group updated successfully",
"data": {
"status": "success"
}
}{
"success": false,
"code": "VALIDATION_ERROR",
"message": "newPin must be 4 digits"
}{
"success": false,
"code": "UNAUTHORIZED",
"message": "Unauthorized"
}{
"success": false,
"code": "CARD_NOT_FOUND",
"message": "Card not found"
}{
"success": false,
"code": "INVALID_CARD_STATE",
"message": "Card is already active"
}Cards
Update card limit group
Change a card’s spending limits.
PATCH
/
v1
/
customers
/
{customerId}
/
accounts
/
{accountId}
/
cards
/
{cardId}
/
limits
curl --request PATCH \
--url https://api.next.orenda.finance/v1/customers/{customerId}/accounts/{accountId}/cards/{cardId}/limits \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"limitGroupId": "lg_123",
"cardType": "VIRTUAL"
}
'{
"success": true,
"message": "Card limit group updated successfully",
"data": {
"status": "success"
}
}{
"success": false,
"code": "VALIDATION_ERROR",
"message": "newPin must be 4 digits"
}{
"success": false,
"code": "UNAUTHORIZED",
"message": "Unauthorized"
}{
"success": false,
"code": "CARD_NOT_FOUND",
"message": "Card not found"
}{
"success": false,
"code": "INVALID_CARD_STATE",
"message": "Card is already active"
}Changes a card’s spending limits. The fields depend on the program’s card provider: send a
limitGroupId (+ cardType) to move the card to an existing limit group, or a limit
amount (+ type period) to set a limit directly. See the examples in the request below.
Limit groups are configured per program at the card provider. If you don’t know your
program’s group IDs, contact the team.
Authorizations
The user's access token. The program and environment come from the token.
Path Parameters
The customer's id.
The account the card belongs to. A customer can have several accounts; cards are issued against one.
The card id from create / get cards.
Body
application/json
Move the card to this existing limit group. Send with cardType.
The card format, sent with limitGroupId.
Available options:
VIRTUAL, PHYSICAL Set a limit amount directly. Send with type.
Example:
"1000.00"
The limit period, sent with limit.
Available options:
DAY, WEEK, MONTH, YEAR, LIFETIME ⌘I