Skip to main content
POST
Safely retire a credit purchase that never started
Authentication: workspace API key in Authorization: Bearer <key>.

Errors

Authorizations

Authorization
string
header
required

Create a workspace API key in the Deepline dashboard before calling authenticated endpoints.

Headers

Idempotency-Key
string
required

The original purchase idempotency key; never generate a replacement for recovery.

Required string length: 1 - 200

Body

application/json

The original purchase identity; org_id must match the authenticated workspace.

credits
integer
required
Required range: 1 <= x <= 9007199254740991
org_id
string
required
Minimum string length: 1

Response

A successful Runtime API response.

data
object
required
operation
object
required
request_id
string
required