Skip to main content
PATCH
Update 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 the item belongs to.

id
string
required

The id of the subscription item to update.

Body

application/json
price_data
object

Definition of a new price for the item. Fintoc replaces the current price with a newly created one.

quantity
integer

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

Example:

3

Response

The updated subscription item.

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