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"
}

Authorizations

Authorization
string
header
required

The user's access token. The program and environment come from the token.

Path Parameters

customerId
string
required

The customer's id.

accountId
string
required

The account the card belongs to. A customer can have several accounts; cards are issued against one.

cardId
string
required

The card id from create / get cards.

Body

application/json
amount
string
required

Required. Positive amount.

Example:

"100.00"

action
enum<string>
required

Required.

Available options:
LOAD,
UNLOAD

Response

Balance updated

success
boolean
Example:

true

availableBalance
number

Card balance after the operation.

transactionId
string
message
string