Skip to main content
POST
/
v1
/
admin
/
action-ledger
/
entries
/
{id}
/
reversals
Record a reversal
curl --request POST \
  --url https://{operatorDomain}/v1/admin/action-ledger/entries/{id}/reversals \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "reason": "operator_error"
}
'
{
  "data": {
    "id": "ale_01J9",
    "action": "booking.cancel",
    "subjectType": "booking",
    "subjectId": "01J9ZB...",
    "actorId": "<string>",
    "createdAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Staff session or API token issued by your Voyant app.

Path Parameters

id
string
required

Body

application/json
reason
string
Example:

"operator_error"

Response

201 - application/json

Recorded reversal

data
object