Skip to main content
DELETE
Delete a credit grant

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

OK

id
string
required

Credit grant ID

Example:

"746fc7f2-8098-4fe7-953c-7d51c580a126"

sequenceAccountId
string
required

Sequence account ID

Example:

"dce9ae85-d8d0-42b4-bcad-f221a64363c6"

customerId
string
required

The ID of the customer credit is granted to

Example:

"61b083e0-1faa-47ca-9aeb-6205da8f6c47"

name
string
required

Name of the credit grant

Example:

"Onboarding Credits"

creditUnitType
enum<string>
required

Type of the unit of credit

Available options:
CURRENCY,
METRIC
Example:

"CURRENCY"

amount
number
required

Amount of units granted

Example:

10

createdAt
string
required

The creation timestamp

Example:

"2022-10-07T14:12:08.826121Z"

integrationIds
object[]
required

IDs in external integrations

Example:
currency
enum<string>

Currency of cash credit (if creditUnitType is CURRENCY)

Available options:
AED,
ARS,
AUD,
BRL,
BGN,
CAD,
CHF,
CLP,
CNY,
COP,
CZK,
DKK,
EGP,
EUR,
GBP,
HKD,
ILS,
INR,
ISK,
JPY,
KRW,
MXN,
NOK,
NZD,
PLN,
SAR,
SEK,
SGD,
THB,
USD,
UYU,
ZAR
Example:

"GBP"

metricId
string

Metric ID (if creditUnitType is METRIC)

Example:

"f092246c-6b90-4106-bcca-304ccf06bf45"

costOfCredit
number

Cost of credit grant, to be invoiced to the customer

Example:

10

effectiveDate
string

First day credit grant can be consumed

Example:

"2023-01-01"

expiryDate
string

Last day credit grant can be consumed

Example:

"2023-01-31"