This is an On-demand service only available for PCI DSS compliance companies.
deferred object that includes the creditType, graceMonths, and months parameters.graceMonths must be sent with the value of 00.| Country | Deferred Payment Type | creditType Value |
|---|
01 (Perú's Issuer Installments) "deferred": {
"graceMonths": "00",
"creditType": "01",
"months": 6
}months parameter."months": 3,threeDomainSecure object in your request.initialRecurrence in the transactionMode parameter and process the charge. For this initial transaction, you must send the CVV.subsequentRecurrence in the transactionMode parameter and include the transactionReference number in the initialRecurrenceReference field. Now you can omit the CVV.An alternative option to process external subscriptions is by sending the parameter externalSubscriptionID. Click here for more information.
curl --location 'https://api-uat.kushkipagos.com/card/v2/charges' \
--header 'Private-Merchant-Id;' \
--header 'Content-Type: application/json' \
--data-raw '{
"card": {
"name": "John Doe",
"number": "5311220000122112",
"expiryMonth": "03",
"expiryYear": "30",
"cvv": "123"
},
"amount": {
"subtotalIva": 0,
"subtotalIva0": 10000,
"ice": 0,
"iva": 0,
"currency": "PEN"
},
"isDeferred": false,
"metadata": {
"referencia": "999929"
},
"contactDetails": {
"documentType": "DNI",
"documentNumber": "1234567890",
"email": "user@example.com",
"firstName": "John",
"lastName": "Doe",
"phoneNumber": "+51912345678"
},
"orderDetails": {
"siteDomain": "example.com",
"shippingDetails": {
"name": "John Doe",
"phone": "+51912345678",
"address1": "Av. Javier Prado Este 123",
"city": "Lima",
"region": "Lima",
"country": "Peru"
},
"billingDetails": {
"name": "John Doe",
"phone": "+51912345678",
"address1": "Av. Javier Prado Este 123",
"city": "Lima",
"region": "Lima",
"country": "Peru"
}
},
"productDetails": {
"product": [
{
"id": "198952AB",
"title": "eBook Digital Services",
"price": 10000,
"sku": "10101042",
"quantity": 1
}
]
},
"fullResponse": "v2"
}'{
"details": {
"amount": {
"subtotalIva": 0,
"subtotalIva0": 5000,
"ice": 0,
"iva": 0,
"currency": "PEN",
"isDeferred": false
},
"approvalCode": "123456",
"approvedTransactionAmount": 5000,
"binInfo": {
"bank": "Banco de S.A.",
"binCard": "531122",
"cardCountry": "Peru",
"lastFourDigits": "2112",
"type": "credit"
},
"cardHolderName": "John Doe",
"created": 1712092118000,
"merchantId": "20000000101835540000",
"merchantName": "CENTRALIZADA NUEVA PRUEBA GOB",
"messageFields": {
"f38": "123456",
"f39": "00",
"f48": {
"s22": {
"se5": "C101"
}
}
},
"paymentBrand": "Mastercard",
"processorBankName": "Kushki",
"recap": "409321136945",
"requestAmount": 5000,
"responseCode": "000",
"responseText": "Approved or completed successfully.",
"transactionId": "821712092118240856443",
"transactionReference": "3d0d7e1f-02b5-46fa-9791-92722f42df5b",
"transactionStatus": "APPROVAL",
"transactionType": "SALE"
},
"ticketNumber": "821712092118240271",
"transactionReference": "3d0d7e1f-02b5-46fa-9791-92722f42df5b"
}