Skip to main content
GET
Get one credit

Authorizations

X-API-Key
string
header
required

Per-company partner API key (zupy_pk_…). Validated by Zupy against the company integration key hash (Story 14.x); send it on every request as the X-API-Key header. Scoped read-write to the owning company's data.

Path Parameters

credit_id
string<uuid>
required

Response

A credit your partner account made.

id
string<uuid>
required
external_reference
string
required
campaign_id
integer
required
quantity
string<decimal>
required
Pattern: ^-?\d{0,18}(?:\.\d{0,6})?$
unit
string
required
unit_value
string<decimal>
required
Pattern: ^-?\d{0,16}(?:\.\d{0,2})?$
amount
string<decimal>
required
Pattern: ^-?\d{0,16}(?:\.\d{0,2})?$
customer_id
string
required
status
string
required
read-only

settling: the Z$ is already spendable and its on-chain record is pending; settled: recorded on-chain; settlement_failed: the on-chain record failed for good; unknown: contact Zupy support.

created_at
string<date-time>
required