token provided by Kushki. The customer needs to be redirected in order to finalize the registration.4051885600446623.4051884239937763.5186059559590568.5186008541233829.500 RechazadaGot a suggestion on this documentation? Contact Us.
curl --location --request POST 'https://api-uat.kushkipagos.com/subscriptions/v1/card-async/init' \
--header 'Private-Merchant-Id;' \
--header 'Content-Type: application/json' \
--data-raw '{
"token": "string",
"planName": "string",
"periodicity": "daily",
"contactDetails": {
"firstName": "John",
"lastName": "Doe",
"email": "user@example.com",
"documentType": "RUT",
"documentNumber": "11111111-1",
"phoneNumber": "+56912345678"
},
"amount": {
"currency": "CLP",
"subtotalIva": 0,
"subtotalIva0": 0,
"iva": 0,
"ice": 0,
"extraTaxes": {
"iac": 0,
"tasaAeroportuaria": 0,
"agenciaDeViaje": 0
}
},
"startDate": "2019-08-24",
"endDate": "2019-08-24",
"language": "es",
"retryConfiguration": "Three days in a row starting at startDate",
"metadata": {
"key0": "value0",
"key1": "value1",
"key2": "value2"
},
"fullResponse": "v2"
}'{
"redirectUrl": "string",
"details": {
"merchantName": "string",
"amount": {
"currency": "CLP",
"subtotalIva": 0,
"subtotalIva0": 0,
"iva": 0,
"ice": 0,
"extraTaxes": {
"iac": 0,
"tasaAeroportuaria": 0,
"agenciaDeViaje": 0
}
},
"created": 0,
"email": "string",
"firstName": "string",
"lastName": "string",
"merchantId": "string",
"periodicity": "string",
"planName": "string",
"status": "string",
"totalAmount": 0
},
"subscriptionId": "string"
}