Update credit block
This endpoint updates the metadata of a credit block. Keys you pass are added to the block’s existing
metadata or overwrite the value already stored for that key, and setting a key to null removes it. Passing
null for metadata clears all of the block’s metadata. The block’s increment entry in the
credits ledger reports the block’s metadata, so it shows the update too.
Other fields on a credit block cannot be changed through this endpoint. Deleted credit blocks return a 404.
Body
Response
OK
The Credit Block resource models prepaid credits within Orb.
How this credit block was created: allocation (a subscription's recurring credit allocation), top_up (an automatic balance-threshold top-up), commitment (a subscription commitment true-up rolled forward as credit), or manual (a manual credit ledger increment, including credits voided or expired off another block).
allocation, top_up, commitment, manual