Getting Started
Ledger Balances
Transactions
Identities
Update Inflight Transaction
PUT
/
transactions
/
inflight
/
{txID}
Update Inflight Transaction
Copy
curl --request PUT \
--url http://localhost:5001/transactions/inflight/{txID} \
--header 'Content-Type: application/json' \
--data '{
"status": "void"
}'
Copy
{
"amount": 74000,
"rate": 0,
"precision": 0,
"transaction_id": "txn_bd9ab37f-e353-450d-8210-1958bd50254a",
"parent_transaction": "txn_5cc1e86b-47be-4aba-a400-48e7b9edfedd",
"allow_overdraft": false,
"infligt": false,
"source": "bln_8ab15e8f-da33-428f-b3f8-ab3d1c1dda09",
"destination": "bln_76ceff93-fcac-47e0-84ee-88e086359064",
"reference": "reference",
"currency": "NGN",
"description": "",
"status": "VOID",
"hash": "032af5e26c8a2c2690f1bb70bdd7c044bbdf9c7f5576fc0f693200baf65a9ee3",
"created_at": "2024-04-07T08:20:06.494307542Z",
"scheduled_for": "0001-01-01T00:00:00Z",
"inflight_expiry_date": "0001-01-01T00:00:00Z"
}
Path Parameters
Example:
"txn_d0440bb5-e2c2-4937-bb4c-e91b50b7df22"
Body
application/json
The body is of type object
.
Response
200 - application/json; charset=utf-8
OK
The response is of type object
.
Was this page helpful?
Update Inflight Transaction
Copy
curl --request PUT \
--url http://localhost:5001/transactions/inflight/{txID} \
--header 'Content-Type: application/json' \
--data '{
"status": "void"
}'
Copy
{
"amount": 74000,
"rate": 0,
"precision": 0,
"transaction_id": "txn_bd9ab37f-e353-450d-8210-1958bd50254a",
"parent_transaction": "txn_5cc1e86b-47be-4aba-a400-48e7b9edfedd",
"allow_overdraft": false,
"infligt": false,
"source": "bln_8ab15e8f-da33-428f-b3f8-ab3d1c1dda09",
"destination": "bln_76ceff93-fcac-47e0-84ee-88e086359064",
"reference": "reference",
"currency": "NGN",
"description": "",
"status": "VOID",
"hash": "032af5e26c8a2c2690f1bb70bdd7c044bbdf9c7f5576fc0f693200baf65a9ee3",
"created_at": "2024-04-07T08:20:06.494307542Z",
"scheduled_for": "0001-01-01T00:00:00Z",
"inflight_expiry_date": "0001-01-01T00:00:00Z"
}
Assistant
Responses are generated using AI and may contain mistakes.