API Reference

SubscriptionUpdate

object
planName
string
example: Premium
periodicity
string
Allowed Values: daily, weekly, biweekly, monthly, quarterly, halfYearly, yearly, custom
example: monthly
contactDetails
object
firstName
string
1 validation + required
lastName
string
1 validation + required
email
string
1 validation + required
amount
object
$schema: http://json-schema.org/draft-04/schema#
id: Amount
currency
string
2 validations
subtotalIva
number
1 validation + required
subtotalIva0
number
1 validation + required
iva
number
1 validation + required
ice
number
1 validation
extraTaxes
object
startDate
string

Note: Use future date

format: date
language
string
Allowed Values: es, en
metadata
object
key0
string
1 validation
key1
string
1 validation
key2
string
1 validation