POST /smartlink/v2/smart-link with your configuration. Returns a smartLinkUrl ready to share.{
"publicMerchantId": "20000000103802320000",
"merchantName": "mi-comercio-mexico",
"paymentConfigType": "fixed",
"paymentConfig": {
"paymentType": "unique",
"paymentMethod": ["credit-card", "transfer", "cash"],
"amount": {
"subtotalIva": 0,
"subtotalIva0": 500,
"iva": 0,
"currency": "MXN"
}
},
"generalConfig": {
"productName": "Producto de ejemplo",
"description": "Descripción del producto",
"productImage": "https://yoursite.com/product.jpg",
"brandLogo": "https://yoursite.com/logo.png",
"executionLimit": 100,
"showTimer": false,
"enabled": true,
"termsAndConditions": "https://yoursite.com/terms"
},
"styleAndStructure": {
"structure": "checkout",
"buttonStyle": "round",
"primaryColor": "#1A4CFF"
},
"contact": {
"email": "user@example.com",
"phoneNumber": "+525512345678"
},
"formConfig": [
{
"name": "nombres",
"label": "Nombre completo",
"type": "input",
"required": true,
"selected": true
}
],
"language": "es"
}{
"smartLinkUrl": "https://pay.kushkipagos.com/smartlink/abc123xyz"
}smartLinkUrl via email, SMS, WhatsApp, or embed it as a button on your site. The customer opens it in their browser — no app or SDK required.GET /smartlink/v2/smart-link/{smartlinkId} to retrieve the current configuration, PATCH to update fields (e.g., disable the link or change the execution limit), and DELETE to permanently remove it.paymentConfigType | Description |
|---|---|
fixed | You define the amount — customer pays exactly that |
open | Customer enters the amount at checkout |
| Value | Description |
|---|---|
credit-card | Credit or debit card |
transfer | Bank transfer |
cash | Cash at partner collection points |
subscription | Recurring card payments |
| Value | Description |
|---|---|
unique | Single one-time payment |
subscription | Recurring subscription payments |
mixed | Offers both one-time and subscription options to the customer |
formConfig can be any of these types:| Type | Description |
|---|---|
input | Free-text input (name, email, etc.) |
select | Dropdown list of options |
date | Date picker |
area | Multi-line text area |
checkbox | Multi-select checkboxes |
radio | Single-choice radio buttons |
paymentConfigType: "open", use the paymentConfig object (note the trailing space — this is a separate property from paymentConfig):{
"paymentConfigType": "open",
"paymentConfig ": {
"paymentType": "unique",
"paymentMethod": ["credit-card", "transfer"],
"currency": "MXN",
"taxEnabled": false,
"minAmount": 100,
"maxAmount": 10000
}
}| Field | Description |
|---|---|
currency | MXN |
taxEnabled | Whether to apply tax at checkout |
taxPercentage | Tax rate (if taxEnabled: true) |
defaultAmount | Pre-filled amount suggestion |
minAmount | Minimum amount the customer can enter |
maxAmount | Maximum amount the customer can enter |
| Field | Required | Description |
|---|---|---|
productName | ✅ | Product or service name |
description | ✅ | Short description shown at checkout |
productImage | ✅ | URL of the product image |
brandLogo | ✅ | URL of your brand logo |
executionLimit | ✅ | Max number of times this link can be used |
showTimer | ✅ | Show a countdown timer on the payment page |
enabled | ✅ | true to activate the link |
termsAndConditions | ✅ | URL to your T&C page |
expirationDate | Optional | Unix timestamp — link expires after this date |
buyButtonText | Optional | Custom text for the pay button |
| Field | Options | Description |
|---|---|---|
structure | checkout, cover | Page layout |
coverModel | left, center, right | Image position (cover layout only) |
buttonStyle | square, semi, round | Pay button corner style |
primaryColor | Hex color | Main brand color |
secondaryColor | Hex color | Secondary brand color |
| Currency | Code | Notes |
|---|---|---|
| Mexican Peso | MXN | Two decimal places — amounts use cents (e.g., 500.00) |
language field:| Value | Language |
|---|---|
es | Spanish |
en | English |
br | Portuguese |
https://api.kushkipagos.com/Got a suggestion on this documentation? Contact us.