Skip to main content
POST
Create a subscription item
v2 · Base URL https://api.fintoc.com/v2

Authorizations

Authorization
string
header
required

Path Parameters

subscription_id
string
required

The id of the subscription to add the item to.

Body

application/json
price_data
object
required

Definition of the price the item bills for. Fintoc creates a new price for the item.

quantity
integer
required

Number of units of the price the item bills for. Must be greater than zero.

Example:

2

Response

Subscription item created. Fintoc bills it starting from the subscription's next invoice.

id
string
required

Unique identifier of the subscription item.

Example:

"si_2c4mDfkPLLrLTCJ3wPCEHGYpkVf"

object
any
required

Type of the object. Always subscription_item.

price
object
required

Price the item bills for on every billing cycle.

quantity
integer
required

Number of units of the price the item bills for.

Example:

1