curl --location --request POST '/smartlink/v1/webcheckout' \
--header 'Private-Merchant-Id: {{PE-Private-Merchant-Id}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"kind": "webcheckout",
"contactDetail": {
"name": "John Doe",
"email": "user@example.com"
},
"redirectURL": "https://www.kushki.com",
"products": [
{
"description": "Tenis",
"name": "runners",
"quantity": 2,
"unitPrice": 25
}
],
"paymentConfig": {
"amount": {
"subtotalIva": 0,
"subtotalIva0": 50,
"iva": 0,
"currency": "PEN"
},
"paymentMethod": "credit-card"
},
"transactionType": "PRE_AUTH",
"additionalInformation": {
"address": "centro 123"
}
}'