API Reference
post

/smartlink/v1/smart-link

Request a smartLink that can later be used to charge a customer using the charge method for Smartlinks endpoint.

In the form you can include 3 different type of items:

  1. Inputs - useful to create tags so customers can include name, email and other important information for the business.
  2. Selects - useful to select from a list of available options.
  3. Dates - A calendar if you need the customer to select a specfic date.

Request Parameters

1 Header

Request Body

1 Example
Schema
object
publicMerchantId
string
required
colors
object
banner
string
1 validation
buttons
string
1 validation
steps
string
1 validation
logo
string
required
pattern: ^https://(.*)$
enabled
boolean
paymentMethod
string
required
Allowed Values: credit-card
expiration
integer

Expiration date in timestamp format

executionLimit
integer
required
metadata
object
required
title
string
required
description
string
image
string
1 validation
amount
object
required
subtotalIva
number
1 validation + required
subtotalIva0
number
1 validation + required
iva
number
1 validation + required
ice
number
1 validation
currency
string
1 validation + required
form
array[anyOf]
required
object
or
object
or
object

Responses

1 Example
Schema
object
smartLinkUrl
string
required

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
$$.env
No $$.env variables are being used in this request.