Suscripciones

Crear

Crea un nuevo objeto Subscription. Una vez creada la suscripción, el cliente debe autorizar su inicio.

post/subscriptions

Request

  • Base URL
    https://api.ventipay.com/v1
  • URL
    https://api.ventipay.com/v1/subscriptions
  • Auth
    HTTP bearer

Request body

billing_cycle_anchor'now' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | '13' | '14' | '15' | '16' | '17' | '18' | '19' | '20' | '21' | '22' | '23' | '24' | '25' | '26' | '27' | '28' | '29' | '30' | '31'
cancel_urlstring
cancel_url_method'get' | 'post'
currency'clp' | 'clf'
custom_fieldsstring[]
descriptionstring
durationinteger
interval'1day' | '1week' | '2weeks' | '1month' | '3months' | '6months' | '1year'
metadatastring json
namestring
proration_behavior'create_prorations' | 'full' | 'none'
success_urlstring
success_url_method'get' | 'post'
trial_daysinteger

Changes

No recorded changes to this operation across all 1 revision of this API.