Transactions

entries.hold.release.undo

Undo Oatmilk's pairing of money back on a card with the hotel hold it gave back, by the money back's releaseEntryId with an idempotencyKey. The pair is never made again, a card fee booked with the hold is a fee again, the money back is reviewed again, and a hold it resolved is open again. Finance access required; a closed month blocks it.

POST/api/v1/accounting/entries.hold.release.undo

Permissions

accounting:readaccounting:write

Who can call it

admin, finance

Retries

Idempotency key required

MCP

accounting_entries_hold_release_undo

Fields

  • releaseEntryIdstring (ID)Required

    The ID of the related record.

  • idempotencyKeystringRequired

    Any unique text you generate once per intended change, so a retried request only happens once. Send it as the Idempotency-Key header instead if you prefer; if you send both they must match.

    8–200 characters

Example

curl https://app.getoatmilk.com/api/v1/accounting/entries.hold.release.undo \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "releaseEntryId": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d"
}'
Response
{
  "data": { … }
}

Try it

Try it

Checks your input with this action’s real schema and answers like the API, with synthetic data. No key needed, and nothing changes.

POST/api/v1/accounting/entries.hold.release.undo
curl https://app.getoatmilk.com/api/v1/accounting/entries.hold.release.undo \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "releaseEntryId": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d"
}'

More in Transactions.