Void
Void a credit grant
post/v1/credits/voidGrant
Void a credit grant
Body Parameters
idstring
formatuuid
release_uniqueness_keyboolean
optional
If true, resets the uniqueness key on this grant so it can be re-used
void_credit_purchase_invoiceboolean
optional
If true, void the purchase invoice associated with the grant
Returns
dataidstringID
curl https://api.metronome.com/v1/credits/voidGrant \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $METRONOME_BEARER_TOKEN" \
-d '{
"id": "9b85c1c1-5238-4f2a-a409-61412905e1e1"
}'
200 Example
{
"data": {
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
}
}