curl --request POST \
--url https://api.next.orenda.finance/v1/customers/{customerId}/accounts/{accountId}/cards/{cardId}/balance \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"amount": "100.00",
"action": "LOAD"
}
'{
"success": true,
"availableBalance": 100,
"transactionId": "txn_3c9a7e1d",
"message": "Card loaded successfully"
}{
"success": false,
"code": "VALIDATION_ERROR",
"message": "newPin must be 4 digits"
}{
"success": false,
"code": "CARD_NOT_FOUND",
"message": "Card not found"
}{
"success": false,
"code": "VALIDATION_ERROR",
"message": "newPin must be 4 digits"
}Cards
Load / unload card balance
Move money between the account and the card.
POST
/
v1
/
customers
/
{customerId}
/
accounts
/
{accountId}
/
cards
/
{cardId}
/
balance
curl --request POST \
--url https://api.next.orenda.finance/v1/customers/{customerId}/accounts/{accountId}/cards/{cardId}/balance \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"amount": "100.00",
"action": "LOAD"
}
'{
"success": true,
"availableBalance": 100,
"transactionId": "txn_3c9a7e1d",
"message": "Card loaded successfully"
}{
"success": false,
"code": "VALIDATION_ERROR",
"message": "newPin must be 4 digits"
}{
"success": false,
"code": "CARD_NOT_FOUND",
"message": "Card not found"
}{
"success": false,
"code": "VALIDATION_ERROR",
"message": "newPin must be 4 digits"
}Moves money between the account and the card:
action: "LOAD"— fund the card from the account.action: "UNLOAD"— move card funds back to the account.
availableBalance after the operation and a
transactionId for tracking.
Only available on programs whose card provider keeps a separate card balance. On other
programs the card spends directly from the account and this endpoint returns an
unsupported-provider error.
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
⌘I