Getting Started
Ledger Balances
Transactions
Identities
Back DB To S3
POST
/
backup
/
s3
curl --request POST \
--url http://localhost:5001/backup/s3
{
"id": "txn_ea438725-e677-405c-9552-4c549837c622",
"tag": "",
"reference": "1jhbs3ozmen0k7y5e333feeme3rrr33ewwedffdew",
"amount": 30000,
"currency": "NGN",
"payment_method": "",
"description": "",
"drcr": "Credit",
"status": "QUEUED",
"ledger_id": "ldg_073f7ffe-9dfd-42ce-aa50-d1dca1788adc",
"balance_id": "bln_0be360ca-86fe-457d-be43-daa3f966d8f0",
"credit_balance_before": 600,
"debit_balance_before": 300,
"credit_balance_after": 30600,
"debit_balance_after": 300,
"balance_before": 300,
"balance_after": 30300,
"created_at": "2024-02-20T05:42:41.686457754Z",
"scheduled_for": "0001-01-01T00:00:00Z",
"risk_tolerance_threshold": 0,
"risk_score": 0.12020571428571429,
"group_ids": null
}
Response
201 - application/json; charset=utf-8
Created
The response is of type object
.
Was this page helpful?
curl --request POST \
--url http://localhost:5001/backup/s3
{
"id": "txn_ea438725-e677-405c-9552-4c549837c622",
"tag": "",
"reference": "1jhbs3ozmen0k7y5e333feeme3rrr33ewwedffdew",
"amount": 30000,
"currency": "NGN",
"payment_method": "",
"description": "",
"drcr": "Credit",
"status": "QUEUED",
"ledger_id": "ldg_073f7ffe-9dfd-42ce-aa50-d1dca1788adc",
"balance_id": "bln_0be360ca-86fe-457d-be43-daa3f966d8f0",
"credit_balance_before": 600,
"debit_balance_before": 300,
"credit_balance_after": 30600,
"debit_balance_after": 300,
"balance_before": 300,
"balance_after": 30300,
"created_at": "2024-02-20T05:42:41.686457754Z",
"scheduled_for": "0001-01-01T00:00:00Z",
"risk_tolerance_threshold": 0,
"risk_score": 0.12020571428571429,
"group_ids": null
}