curl --location --request POST '/smartlink/v1/webcheckout' \
--header 'Private-Merchant-Id: {{EC-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": 5000
}
],
"paymentConfig": {
"amount": {
"subtotalIva": 0,
"subtotalIva0": 10000,
"iva": 0,
"currency": "USD"
},
"paymentMethod": "credit-card"
},
"additionalInformation": {
"address": "centro 123"
}
}'