token provided by Kushki which represents the customer's credit card.startDate.startDate. For example, for a monthly subscription with start date: 10-01-2021, with a rejection on 10-02-2021, payment will be retried until 13-02-2021, 3 times each day, for a total of 9 payment attempts.retryConfiguration object as follows:retryType:"schedule". If you choose schedule, you can specify in the value field how often the collection will be reattempted.{
"retryConfiguration":{
"retryType":"schedule",
"value":[2]
}
}retryType:"fixed". Send the specific days of the month to retry. Ex. 10th, 20th, 30th.{
"retryConfiguration":{
"retryType":"fixed",
"value":[10,20,30]
}
}Send the retryTypeasfixedif you do not want to retry collection for the entire month.
periodicity field:threeDomainSecure object in your request.Got a suggestion on this documentation? Contact Us.
curl --location --request POST 'https://api-uat.kushkipagos.com/subscriptions/v1/card' \
--header 'Private-Merchant-Id;' \
--header 'Content-Type: application/json' \
--data-raw '{
"token": "gV3ox6100000sAxClU033646vnnJsT83",
"planName": "Premium",
"periodicity": "monthly",
"contactDetails": {
"documentType": "CI",
"documentNumber": "1716458334",
"email": "user@example.com",
"firstName": "John",
"lastName": "Doe",
"phoneNumber": "+593912345678"
},
"amount": {
"subtotalIva": 1,
"subtotalIva0": 0,
"ice": 0,
"iva": 0.14,
"currency": "USD"
},
"startDate": "2022-05-25",
"metadata": {
"plan": {
"fitness": {
"cardio": "include",
"rumba": "include",
"pool": "include"
}
}
}
}'{
"subscriptionId": "1601594972296000"
}