Create a credit

Create a credit which can be used to adjust account balance

Path Params
string
required
string
required
Body Params
string

ID for the Note of this credit

string

Invoice item id for prepaid invoice

string

Id for prepaid product

string
enum

Status of the credit. Describes if it can be ACTIVE,INACTIVE,CANCELED or APPLIED

Allowed:
string
enum

Type of the credit. Can be CREDIT_NOTE,SERVICE,PREPAID

Allowed:
string
enum

Currency for the credit amount

number

Amount which can be applied

date

Expiration date for this credit

string
length between 0 and 255

Reason why this credit exists/created

string

Name of the credit

customFields
object

User configured custom fields for the credit

Headers
string
required

x-api-key is an authentication or authorization token used in API requests to verify the identity and permissions of the client

Responses

Language
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json