hilt-pay-api

Atomically consume metered entitlement usage

post/v1/access/entitlements/consume

Request

  • Base URL: https://api.hilt.so
  • URL: https://api.hilt.so/v1/access/entitlements/consume
  • Auth: none declared. Required headers: Idempotency-Key

Headers

Idempotency-Keystring required

Request body

product_idstring uuid nullable
external_product_idstring nullable
external_customer_idstring nullable
walletstring nullable
emailstring nullable
customer_referencestring nullable
unitsinteger
metadataobject

Response

Successful Response

consumedboolean required
unitsinteger required
idempotent_replayboolean nullable

Changes

No recorded changes to this operation across all 1 revision of this API.