Setup Intents

Crear

Crea un nuevo objeto SetupIntent. Una vez creada la intención, el cliente podrá inscribir un método de pago en la URL indicada por el objeto.

post/setup_intents

Request

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

Request body

customer_idstring

ID de Customer. Debe enviarse customer_id o customer_email.

customer_emailstring

Email de Customer. Si no existe, se creará. Debe enviarse customer_id o customer_email.

metadatastring json

Conjunto de pares llave-valor asociado al objeto.

notification_eventsstring[]

setup_intent.created, setup_intent.succeeded, setup_intent.expired, setup_intent.canceled

notification_urlstring
success_urlstring

Una URL a la cual el cliente será redirigido al inscribir un método de pago exitosamente.

success_url_method'get' | 'post'
cancel_urlstring

Una URL a la cual el cliente será redirigido para volver al comercio.

cancel_url_method'get' | 'post'

Changes

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