Skip to main content
POST
Only for programs where ZBD tracks earnings. If you track earnings yourself, this returns 403 feature_not_enabled.
Reverses a credit you made, for example when a reward is canceled. The debit references the original credit, and you can only debit value you credited. A debit only succeeds while the user still has that value, so it can’t recover an amount they’ve already spent or cashed out.

Configuration

Header Parameters

string
required
Your ZBD API key.
string
required
A UUID you generate for this debit.
string
Content Type

Body Parameters

string
required
The ZBD user ID returned by Create a User.
string
required
The transaction_id of the credit you’re reversing.
integer
required
Amount in the currency’s smallest unit. Up to the amount of the original credit.
string
required
The currency of the original credit.
string
Your own ID for this debit.

Errors