API Reference

Subscription

object
token
string
required
example: AbCDef123456Z7Ghi8901234jkLMNopQ
planName
string
required
example: Premium
periodicity
string
required
Allowed Values: daily, weekly, biweekly, monthly, quarterly, halfYearly, yearly, custom
example: monthly
contactDetails
object
required
firstName
string
1 validation + required
lastName
string
1 validation + required
email
string
1 validation + required
amount
object
required
$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

YYYY-MM-DD

Note: Use future date

required
format: date
example: 2018-09-29
language
string
Allowed Values: es, en
metadata
object
key0
string
1 validation
key1
string
1 validation
key2
string
1 validation