Decrease Account Balance

Specifications

Request

JSON PATHDescriptionFormatSample/ExampleRequired
account_idThe Identifier associated to the AccountUUIDfcd0cecb-90dd-4ae2-879f-d0eda6fbddd4Yes
amountThe amount to be debited from the Accountinteger1000Yes
destinationDestination where the funds are to be sent tostringDebit CardNo
referenceOptional reference for the Decrease Account Balance requeststringReturn of fundsNo
reference_idOptional Identifier relating to the Account Balance changestringTransfer 20250705No

Example

{
    "account_id": "fcd0cecb-90dd-4ae2-879f-d0eda6fbddd4",
    "amount": ,
    "destination": "",
    "reference": "",
    "reference_id": ""
}

Response

Succesful

JSON PATHDescriptionSample/ExampleFormatRequired
previous_account_balanceThe previous balance of the Account. A minus figure indicates a debit balance200stringYes
new_account_balanceThe new Account balance following the request. A minus figure indicates a debit balance100stringYes
trace_idThe Identifier associated with the API15bfc289-de75-4668-bb11-3998aadf226dUUIDYes

Example

{
    "previous_account_balance": "200",
    "new_account_balance": "100",
    "trace_id": "15bfc289-de75-4668-bb11-3998aadf226d"
}