GET
/
credits
/
{id}

Headers

Authorization
string
required

Your API credentials. Eg. Basic {credentials}.

Sequence-Version
enum<string>

Use this header to select an API version

Available options:
2024-07-30

Path Parameters

id
string
required

Credit grant ID

Response

200 - application/json
costOfCredit
string
required

Cost of credit grant

createdAt
string
required

The created at

currency
enum<string>
required

Currency

Available options:
ARS,
AUD,
BRL,
CAD,
CHF,
CNY,
COP,
CZK,
DKK,
EUR,
GBP,
HKD,
ILS,
JPY,
KRW,
MXN,
NOK,
NZD,
PLN,
SEK,
SGD,
THB,
USD,
UYU,
ZAR
currentBalance
string
required

Amount remaining of Credits Granted

customerId
string
required

Customer ID

id
string
required

Credit Grant ID

name
string
required

Name of the Credit - will either be the currency or name of the metric

originalAmount
string
required

Amount of credits originally granted

sequenceAccountId
string
required

Sequence account ID

type
enum<string>
required

Type of the Credit - will either be CASH or USAGE

Available options:
CASH,
USAGE
effectiveDate
string

First Day Credit Grant can be consumed

expiryDate
string

Last Day Credit Grant can be consumed

metricId
string

Usage metric ID (if type is USAGE)

taxRateId
string

Tax Rate ID for Credit Purchase