Skip to main content
POST
/
v1
/
admin
/
action-ledger
/
approvals
/
request
Request an approval
curl --request POST \
  --url https://{operatorDomain}/v1/admin/action-ledger/approvals/request \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "action": "booking.refund",
  "subjectType": "booking",
  "subjectId": "01J9ZB..."
}
'
{
  "data": {
    "id": "apr_01J9",
    "status": "pending",
    "action": "booking.refund"
  }
}

Authorizations

Authorization
string
header
required

Staff session or API token issued by your Voyant app.

Body

application/json
action
string
Example:

"booking.refund"

subjectType
string
Example:

"booking"

subjectId
string
Example:

"01J9ZB..."

Response

201 - application/json

Created approval

data
object