Kushki Developer Portal
  1. CARD
Kushki Developer Portal
  • Back to home
  • Ecuador 🇪🇨
  • Bienvenidos
  • ONLINE PAYMENTS
    • CARD
      • 1. Request a card token
        POST
      • 2. Make a charge or deferred charge
        POST
      • 3. Void a transaction
        DELETE
      • 4. Refund a transaction
        DELETE
      • 5. Request deferred options
        GET
      • 6. Bin Info
        GET
      • 7. Bin Info V2
        GET
      • 8. Validate OTP
        POST
      • 7. Bin Info V2
        GET
      • 1. Request a card token
        POST
      • 4. Refund a transaction
        DELETE
      • 8. Validate OTP
        POST
      • 3. Void a transaction
        DELETE
      • 2. Make a charge or deferred charge
        POST
      • 5. Request deferred options
        GET
      • 6. Bin Info
        GET
    • ONE-CLICK & SCHEDULED PAYMENTS
      • 1. Request a recurring charge token
      • 2. Create a recurring charge
      • 3. Update recurring charge card data
      • 4. Make an One-click payment
      • 5. Cancel a recurring charge
      • 6. Update a recurring charge
      • 7. Add a temporary charge or discount
      • 8. Get recurring charge Info
      • 7. Add a temporary charge or discount
      • 4. Make an One-click payment
      • 3. Update recurring charge card data
      • 6. Update a recurring charge
      • 5. Cancel a recurring charge
      • 1. Request a recurring charge token
      • 8. Get recurring charge Info
      • 2. Create a recurring charge
    • TRANSFER IN
      • 1. Get Bank List
      • 2. Request a Transfer In token
      • 3. Init Transaction
      • 4. Get Status
      • 4. Get Status
      • 2. Request a Transfer In token
      • 3. Init Transaction
      • 1. Get Bank List
    • CASH IN
      • 1. Request a cash in token
      • 2. Init Transaction
      • 3. Transaction Status
      • 4. Update a cash in transaction
      • 5. Delete a cash in transaction
      • 1. Request a cash in token
      • 3. Transaction Status
      • 5. Delete a cash in transaction
      • 2. Init Transaction
      • 4. Update a cash in transaction
    • SMARTLINKS V2
      • 1. Create a Smartlink
      • 2. Get a Smartlink
      • 3. Delete a Smartlink
      • 4. Update a Smartlink
      • 3. Delete a Smartlink
      • 1. Create a Smartlink
      • 2. Get a Smartlink
      • 4. Update a Smartlink
    • ANALYTICS
      • 1. Get transactions list
      • 1. Get transactions list
    • GATEWAY STATUS
      • 1. Get gateway status
      • 1. Get gateway status
    • COMMISSIONS
      • 1. Get Commission Configuration
      • 1. Get Commission Configuration
    • PAYMENT CREDENTIALS
      • 1. Create a credential
      • 2. Search credentials
      • 3. Advanced search
      • 4. Activate or deactivate
      • 5. Delete credential
      • 6. Update credential
      • 7. Regenerate a credential
      • 1. Create a credential
      • 7. Regenerate a credential
      • 3. Advanced search
      • 6. Update credential
      • 5. Delete credential
      • 4. Activate or deactivate
      • 2. Search credentials
    • PAYMENT BUTTON
      • 1. Create a payment button
      • 1. Create a payment button
  1. CARD

2. Make a charge or deferred charge

POST
/card/v1/charges

Request

Header Params

Body Params application/json

Examples

Responses

🟢201
application/json
Body

🟠400
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/card/v1/charges' \
--header 'Private-Merchant-Id: {{EC-Private-Merchant-Id}}' \
--header 'Content-Type: application/json' \
--data-raw '{
  "token": "{{token}}",
  "amount": {
    "subtotalIva": 0,
    "subtotalIva0": 10,
    "ice": 0,
    "iva": 0,
    "currency": "USD",
    "extraTaxes": {
        "iac": 0,
        "tasaAeroportuaria": 0,
        "agenciaDeViaje": 0
    }
  },
  "deferred": {
    "graceMonths": "02",
    "creditType": "01",
    "months": 3
  },
  "metadata": {
    "contractID": "157AB"
  },
  "contactDetails": {
    "documentType": "RUC",
    "documentNumber": "1234567890",
    "email": "user@example.com",
    "firstName": "John",
    "lastName": "Doe",
    "phoneNumber": "+593912345678"
  },
  "orderDetails": {
    "siteDomain": "example.com",
    "shippingDetails": {
      "name": "John Doe",
      "phone": "+593912345678",
      "address1": "Eloy Alfaro 139 y Catalina Aldaz",
      "address2": "centro 123",
      "city": "Quito",
      "region": "Pichincha",
      "country": "Ecuador",
      "zipcode": "170402"
    },
    "billingDetails": {
      "name": "John Doe",
      "phone": "+593912345678",
      "address1": "Eloy Alfaro 139 y Catalina Aldaz",
      "address2": "centro 123",
      "city": "Quito",
      "region": "Pichincha",
      "country": "Ecuador",
      "zipCode": "170402"
    }
  },
  "productDetails": {
    "product": [
      {
        "id": "198952AB",
        "title": "eBook Digital Services",
        "price": 5,
        "sku": "10101042",
        "quantity": 1
      },
      {
        "id": "198953AB",
        "title": "eBook Virtual Selling",
        "price": 5,
        "sku": "004834GQ",
        "quantity": 1
      }
    ]
  },
  "fullResponse": "v2"
}'
Response Response Example
201 - 201 - Deferred Charge - Successful request
{
    "ticketNumber": "922952698245584720",
    "details": {
        "token": "b6cc761ddbdc4549897d8b1061a028f9",
        "deferred": {
            "graceMonths": "02",
            "creditType": "01",
            "months": 3
        },
        "orderDetails": {
            "siteDomain": "example.com",
            "shippingDetails": {
                "name": "John Doe",
                "phone": "+593912345678",
                "address1": "Eloy Alfaro 139 y Catalina Aldaz",
                "address2": "centro 123",
                "city": "Quito",
                "region": "Pichincha",
                "country": "Ecuador",
                "zipcode": "170402"
            },
            "billingDetails": {
                "name": "John Doe",
                "phone": "+593912345678",
                "address1": "Eloy Alfaro 139 y Catalina Aldaz",
                "address2": "centro 123",
                "city": "Quito",
                "region": "Pichincha",
                "country": "Ecuador",
                "zipCode": "170402"
            }
        },
        "productDetails": {
            "product": [
                {
                    "id": "198952AB",
                    "title": "eBook Digital Services",
                    "price": 5,
                    "sku": "10101042",
                    "quantity": 1
                },
                {
                    "id": "198953AB",
                    "title": "eBook Virtual Selling",
                    "price": 5,
                    "sku": "004834GQ",
                    "quantity": 1
                }
            ]
        },
        "fullResponse": true,
        "ip": "187.252.250.61",
        "maskedCardNumber": "545195XXXXXX5480",
        "currencyCode": "USD",
        "recap": "874859",
        "approvedTransactionAmount": 10,
        "acquirerBank": "Banco Internacional",
        "subtotalIva": 0,
        "subtotalIva0": 10,
        "created": 1657578842000,
        "responseCode": "000",
        "transactionType": "SALE",
        "approvalCode": "000000",
        "transactionStatus": "APPROVAL",
        "syncMode": "online",
        "merchantId": "20000000108850614000",
        "processorType": "gateway",
        "transactionId": "440262831257204912",
        "metadata": {
            "contractID": "157AB"
        },
        "responseText": "Transacción aprobada",
        "cardHolderName": "Jhon Doe",
        "lastFourDigits": "5480",
        "binCard": "545195",
        "paymentBrand": "Master Card",
        "cardType": "credit",
        "numberOfMonths": 3,
        "iceValue": 0,
        "requestAmount": 10,
        "ivaValue": 0,
        "merchantName": "Tu comercio",
        "processorName": "Credimatic Processor",
        "graceMonths": "02",
        "creditType": "01",
        "processorBankName": "0032~BANCO INTERNACIONAL",
        "transactionReference": "1617cf61-978c-4a74-8767-7a3ff4daf1a5",
        "issuingBank": "BANCO DE LA PRODUCCION S.A. (PRODUBANCO)",
        "contactDetails": {
            "documentType": "RUC",
            "documentNumber": "1234567890",
            "email": "user@example.com",
            "firstName": "John",
            "lastName": "Doe",
            "phoneNumber": "+593912345678"
        },
        "country": "Ecuador",
        "foreignCard": false,
        "socialReason": "Tu comercio",
        "binInfo": {
            "bank": "BANCO DE LA PRODUCCION S.A. (PRODUBANCO)",
            "type": "credit"
        },
        "cardCountry": "Ecuador",
        "rules": []
    },
    "transactionReference": "1617cf61-978c-4a74-8767-7a3ff4daf1a5"
}
Modified at 2026-01-06 19:33:02
Previous
3. Void a transaction
Next
5. Request deferred options
Built with