Create credit product
Create a credit entity for a given product with an optional balance for a customer.
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Body
application/json
Create credit payload
Credit product ID.
Example:
"itm_3kXODDF42QXtnL"
Credit name
Example:
"Credit name"
Value indicating a low threshold.
Example:
10
Current credit balance.
Example:
2000
Response
201 - application/json
Credit created
Credit product ID.
Example:
"itm_3kXODDF42QXtnL"
Current credit balance.
Example:
2000
Customer ID related to the credit
Example:
"cus_Typ0px2W0aiEtl"
Credit name
Example:
"Credit name"
Value indicating a low threshold.
Example:
10
Credit last refresh date.
Example:
"2023-11-23T09:00:01.860Z"
Credit creation date.
Example:
"2023-10-12T07:00:01.860Z"
Credit last edition date.
Example:
"2023-10-13T10:00:01.860Z"
Was this page helpful?