Skip to main content
POST
Reverse a balance credit

Authorizations

X-API-Key
string
header
required

Organization API key. Format: "hp_live_{key}". Organization admins manage the key in the dashboard.

Path Parameters

batchId
string
required

Body

application/json
reason
string
required
Required string length: 3 - 200
Example:

"Credited in error"

accountIds
string[]

Reverse only these accounts' credits. All applied credits of the batch when omitted.

Required array length: 1 - 5000 elements
Example:
preview
boolean
default:false

When true, only report how many credits, and how much, would be reversed.

Response

Preview - What would be reversed (only with preview: true)

success
boolean
Example:

true

data
object