
PRE_AUTH).POST /smartlink/v1/webcheckout with the order details and payment configuration. Kushki returns a webcheckoutUrl — a unique, hosted payment page.webcheckoutUrl. Kushki handles the entire payment experience: method selection, card entry, 3DS, OTP, and confirmation.redirectURL. Kushki also sends a Webhook notification with the transaction result and any additionalInformation you included in the request.| Field | Description |
|---|---|
kind | Always "webcheckout" |
redirectURL | URL where the customer lands after payment |
products | Array of at least one product (see below) |
paymentConfig | Amount breakdown and enabled payment methods |
| Field | Description |
|---|---|
contactDetail.email | Pre-fill the customer's email on the payment form |
contactDetail.name | Pre-fill the customer's name |
transactionType | Send "PRE_AUTH" to use authorization and capture flow |
additionalInformation | Free-form object — fields appear in the webhook metadata |
products array requires:| Field | Type | Description |
|---|---|---|
name | string | Product name |
description | string | Product description |
quantity | number | Units |
unitPrice | number | Price per unit |
| Field | Required | Description |
|---|---|---|
amount.subtotalIva | ✅ | Subtotal subject to VAT |
amount.subtotalIva0 | ✅ | Subtotal not subject to VAT |
amount.iva | ✅ | VAT amount |
amount.currency | ✅ | Always USD for Ecuador |
paymentMethod | ✅ | Array of enabled methods: cash, transfer, credit-card |
{
"kind": "webcheckout",
"redirectURL": "https://www.tucomercio.com",
"contactDetail": {
"email": "customer@example.com",
"name": "John Doe"
},
"products": [
{
"name": "Trekking Pro",
"description": "Tenis",
"quantity": 1,
"unitPrice": 100.00
}
],
"paymentConfig": {
"amount": {
"subtotalIva": 89.28,
"subtotalIva0": 0,
"iva": 10.71,
"currency": "USD"
},
"paymentMethod": ["credit-card", "transfer", "cash"]
}
}{
"webcheckoutId": "mpEtCyMJV",
"webcheckoutUrl": "https://uat-webcheckout.kushkipagos.com/webcheckout/mpEtCyMJV"
}| Field | Description |
|---|---|
webcheckoutId | Unique identifier for this webcheckout session |
webcheckoutUrl | Hosted payment page URL — redirect the customer here immediately |
| Code | Message | Cause |
|---|---|---|
K004 | ID de comercio o credencial no válido | Invalid or unauthorized Private-Merchant-Id |
WCH001 | Cuerpo de la petición inválido | Malformed or missing required fields |
https://api.kushkipagos.com/Got a suggestion on this documentation? Contact us.