PUT/transaction

Advance a transaction

Move a transaction group to a new status. Illegal transitions return 409 conflict.

Required Attributes

statusstringrequired

posted | reversed | failed | canceled | disputed

Example: "posted"

transaction_group_idstringrequired

The group to update

Example: "trx-grp_49202f18"

Request
PUT/transaction
curl --location 'https://api.ledgr.dev/v1/transaction' \
--header 'Authorization: {api_key}' \
--header 'Content-Type: application/json' \
--data '{
  "status": "posted",
  "transaction_group_id": "trx-grp_49202f18"
}'
Response

The transaction was advanced

{
  "status": "success"
}
Advance a transaction - Ledgr | Padle