Create customer credit
Creates a new customer credit for a business.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The UUID of the business to create the customer credit for.
Body
List of line items for this customer credit.
External identifier for the customer credit.
UUID of the customer this credit is associated with.
External identifier of the customer this credit is associated with.
Timestamp when the customer credit was sent.
List of allocations for this customer credit.
List of tags associated with this customer credit.
Memo for any text you would like to associate with the customer credit (for example, to display to end users).
Arbitrary custom metadata in JSON format with a size limit of 1KB.
{
"custom_field": "value",
"any valid json": "below 1kb",
"nested": { "meaning of life": 42, "array": [] }
}Any (typically user-visible) identifier you would like to associate with the customer credit. Can be used to filter when listing customer credits.
Response
Existing customer credit found or updated.
Unique identifier for the customer credit.
The customer associated with this credit.
List of line items for this customer credit.
Timestamp when the customer credit was created.
Timestamp when the customer credit was last updated.
List of tags associated with this customer credit.
External identifier for the customer credit.
Timestamp when the customer credit was sent.
List of allocations for this customer credit.
Timestamp when the customer credit was deleted, if applicable.
Memo for any text you would like to associate with the customer credit (for example, to display to end users).
Arbitrary custom metadata in JSON format with a size limit of 1KB.
{
"custom_field": "value",
"any valid json": "below 1kb",
"nested": { "meaning of life": 42, "array": [] }
}Any (typically user-visible) identifier you would like to associate with the customer credit. Can be used to filter when listing customer credits.