Sync card balance with provider
curl --request PATCH \
--url https://api.next.orenda.finance/customers/{customerId}/accounts/{accountId}/sync-card-balance \
--header 'Authorization: Bearer <token>'const options = {method: 'PATCH', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.next.orenda.finance/customers/{customerId}/accounts/{accountId}/sync-card-balance', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.next.orenda.finance/customers/{customerId}/accounts/{accountId}/sync-card-balance"
headers = {"Authorization": "Bearer <token>"}
response = requests.patch(url, headers=headers)
print(response.text){
"success": true,
"accountId": "a1b2c3d4-5e6f-7081-92a3-b4c5d6e7f809",
"currency": "EUR",
"balance": 12500,
"syncedAt": "2026-06-29T20:18:36.000Z"
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "The request could not be processed. Check the request parameters and body and try again."
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "The request could not be processed. Check the request parameters and body and try again."
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "The request could not be processed. Check the request parameters and body and try again."
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "The request could not be processed. Check the request parameters and body and try again."
}
}Card balance
Sync card balance with provider
Re-synchronises the account’s card balance with the card provider. The back office uses this to pull the authoritative balance from the provider when the locally stored balance is suspected to be out of date.
PATCH
/
customers
/
{customerId}
/
accounts
/
{accountId}
/
sync-card-balance
Sync card balance with provider
curl --request PATCH \
--url https://api.next.orenda.finance/customers/{customerId}/accounts/{accountId}/sync-card-balance \
--header 'Authorization: Bearer <token>'const options = {method: 'PATCH', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.next.orenda.finance/customers/{customerId}/accounts/{accountId}/sync-card-balance', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.next.orenda.finance/customers/{customerId}/accounts/{accountId}/sync-card-balance"
headers = {"Authorization": "Bearer <token>"}
response = requests.patch(url, headers=headers)
print(response.text){
"success": true,
"accountId": "a1b2c3d4-5e6f-7081-92a3-b4c5d6e7f809",
"currency": "EUR",
"balance": 12500,
"syncedAt": "2026-06-29T20:18:36.000Z"
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "The request could not be processed. Check the request parameters and body and try again."
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "The request could not be processed. Check the request parameters and body and try again."
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "The request could not be processed. Check the request parameters and body and try again."
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "The request could not be processed. Check the request parameters and body and try again."
}
}Authorizations
The back-office user's access token.
Path Parameters
The customer's ID.
The account's ID.
Query Parameters
The program the customer/account belongs to. Required on every request.
Response
The card balance was re-synchronised with the provider.
Standard mutation envelope. Additional fields may be present depending on the operation.
Example:
true
⌘I