Create a new credit grant
Create a new credit grant
Headers
Your API credentials. Eg. Basic {credentials}
.
Use this header to select an API version
2024-07-30
Body
Sequence account ID
"dce9ae85-d8d0-42b4-bcad-f221a64363c6"
The ID of the customer credit is granted to
"61b083e0-1faa-47ca-9aeb-6205da8f6c47"
Name of the credit grant
"Onboarding Credits"
Type of the unit of credit
CURRENCY
, METRIC
"CURRENCY"
Currency of cash credit (if creditUnitType is CURRENCY)
ARS
, AUD
, BRL
, BGN
, CAD
, CHF
, CNY
, COP
, CZK
, DKK
, EUR
, GBP
, HKD
, ILS
, JPY
, KRW
, MXN
, NOK
, NZD
, PLN
, SEK
, SGD
, THB
, USD
, UYU
, ZAR
"GBP"
Amount of units granted
10
Metric ID (if creditUnitType is METRIC)
"f092246c-6b90-4106-bcca-304ccf06bf45"
Cost of credit grant, to be invoiced to the customer
10
First day credit grant can be consumed
"2023-01-01"
Last day credit grant can be consumed
"2023-01-31"
If true we will create an invoice to charge the customer for this grant
true
Response
Credit grant ID
"746fc7f2-8098-4fe7-953c-7d51c580a126"
Sequence account ID
"dce9ae85-d8d0-42b4-bcad-f221a64363c6"
The ID of the customer credit is granted to
"61b083e0-1faa-47ca-9aeb-6205da8f6c47"
Name of the credit grant
"Onboarding Credits"
Type of the unit of credit
CURRENCY
, METRIC
"CURRENCY"
Amount of units granted
10
The creation timestamp
"2022-10-07T14:12:08.826121Z"
IDs in external integrations
[
{
"service": "Xero",
"id": "74ed2615-4730-49ab-9445-74f31723a206",
"isPending": false
}
]
Currency of cash credit (if creditUnitType is CURRENCY)
ARS
, AUD
, BRL
, BGN
, CAD
, CHF
, CNY
, COP
, CZK
, DKK
, EUR
, GBP
, HKD
, ILS
, JPY
, KRW
, MXN
, NOK
, NZD
, PLN
, SEK
, SGD
, THB
, USD
, UYU
, ZAR
"GBP"
Metric ID (if creditUnitType is METRIC)
"f092246c-6b90-4106-bcca-304ccf06bf45"
Cost of credit grant, to be invoiced to the customer
10
First day credit grant can be consumed
"2023-01-01"
Last day credit grant can be consumed
"2023-01-31"