Saltar al contenido principal
POST
Create Checkout Session
v1 · Base URL https://api.fintoc.com/v1

Encabezados

Authorization
string

Fintoc API Secret Key

Cuerpo

application/json
amount
integer<int32>
predeterminado:1000
requerido

Amount to pay, represented as an integer [blocked]. This value must always be greater than 0 and less than 7,000,000, which is the maximum amount allowed by any bank.

currency
string
predeterminado:CLP
requerido

Currency ISO code. For now, we only support CLP and MXN.

flow
enum<string>
predeterminado:payment
Opciones disponibles:
payment
customer_email
string
predeterminado:customer@example.com

A customer email linked to a Checkout Session. This is used to notify a user in case of a refund.

expires_at
string

ISO 8601 format (YYYY-MM-DD) timestamp that indicates when the session will expire

metadata
string<json>
predeterminado:{"order":"123456"}

Set of key-value [blocked] pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.

success_url
string
predeterminado:htttps://merchant.com/success

URL to redirect the user in case of payment succeeded. Required if you want to use the redirection payment flow.

cancel_url
string
predeterminado:htttps://merchant.com/cancel

URL to redirect the user in case they decide to cancel the payment and return to your website. Required if you want to use the redirection payment flow.

customer
object

Information about the customer of the session

payment_method_types
string[]

Optional definition of the available payment method(s) for the session. Methods current available are bank_transfer and card

payment_method_options
object

Optional list of settings to configure the payment method used to complete the payment

business_profile
object

Enrolled merchant identifier used for category-based billing. It can be set as required in your organization's billing configuration.

Respuesta

200

The response is of type object.