curl --location 'https://api-uat.kushkipagos.com/smartlink/v1/webcheckout' \
--header 'Private-Merchant-Id;' \
--header 'Content-Type: application/json' \
--data-raw '{
"kind": "webcheckout",
"contactDetail": {
"email": "user@example.com",
"name": "Catalina Fuentes"
},
"redirectURL": "https://www.tucomercio.cl/gracias",
"products": [
{
"description": "Producto de ejemplo",
"name": "Producto Premium",
"quantity": 1,
"unitPrice": 10000
}
],
"paymentConfig": {
"amount": {
"subtotalIva0": 10000,
"subtotalIva": 0,
"iva": 0,
"currency": "CLP"
},
"paymentMethod": [
"credit-card",
"transfer",
"cash"
]
},
"additionalInformation": {}
}'