Kushki Developer Portal
  1. CARD
Kushki Developer Portal
  • Back to home
  • Perú 🇵🇪
  • 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. Authorize payments
        POST
      • 7. Capture an authorized payment
        POST
      • 8. Bin Info
        GET
      • 9. Bin Info V2
        GET
      • 10. Validate OTP
        POST
      • 5. Request deferred options
        GET
      • 2. Make a charge or deferred charge
        POST
      • 1. Request a card token
        POST
      • 8. Bin Info
        GET
      • 7. Capture an authorized payment
        POST
      • 10. Validate OTP
        POST
      • 4. Refund a transaction
        DELETE
      • 9. Bin Info V2
        GET
      • 6. Authorize payments
        POST
      • 3. Void a transaction
        DELETE
    • 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. Authorize payments
      • 9. Capture an authorized payment
      • 10. Get recurring charge Info
      • 9. Capture an authorized payment
      • 7. Add a temporary charge or discount
      • 8. Authorize payments
      • 5. Cancel a recurring charge
      • 4. Make an One-click payment
      • 1. Request a recurring charge token
      • 2. Create a recurring charge
      • 10. Get recurring charge Info
      • 6. Update a recurring charge
      • 3. Update recurring charge card data
    • TRANSFER IN
      • 2. Request a Transfer In token
      • 3. Init Transaction
      • 4. Get Status
      • 2. Request a Transfer In token
      • 4. Get Status
      • 3. Init Transaction
    • CASH IN
      • 1. Request a cash in token
      • 2. Init Transaction
      • 3. Transaction Status
      • 2. Init Transaction
      • 1. Request a cash in token
      • 3. Transaction Status
    • SMARTLINKS V2
      • 1. Create a Smartlink
      • 2. Get a Smartlink
      • 3. Delete a Smartlink
      • 4. Update a Smartlink
      • 4. Update a Smartlink
      • 2. Get a Smartlink
      • 3. Delete a Smartlink
      • 1. Create 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
      • 6. Update credential
      • 7. Regenerate a credential
      • 2. Search credentials
      • 4. Activate or deactivate
      • 3. Advanced search
      • 1. Create a credential
      • 5. Delete credential
    • PAYMENT BUTTON
      • 1. Create a payment button
      • 1. Create a payment button
  • CARD PRESENT PAYMENTS (API RAW)
    • Get BIN Info
    • Balance inquiries
    • BIN info V2
    • Request deferred options
  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: {{PE-Private-Merchant-Id}}' \
--header 'Content-Type: application/json' \
--data-raw '{
  "token": "{{token}}",
  "amount": {
    "subtotalIva": 0,
    "subtotalIva0": 50,
    "ice": 0,
    "iva": 0,
    "currency": "PEN",
    "extraTaxes": {
        "iac": 0,
        "tasaAeroportuaria": 0,
        "agenciaDeViaje": 0
    }
  },
  "metadata": {
    "contractID": "157AB"
  },
  "contactDetails": {
    "documentType": "PAS",
    "documentNumber": "1234567890",
    "email": "user@example.com",
    "firstName": "John",
    "lastName": "Doe",
    "phoneNumber": "+513912345678"
  },
  "orderDetails": {
    "siteDomain": "example.com",
    "shippingDetails": {
      "name": "John Doe",
      "phone": "+513912345678",
      "address": "Av. Simón Bolivar 1515",
      "city": "Lima",
      "region": "Pueblo Libre",
      "country": "Perú",
      "zipcode": "15084"
    },
    "billingDetails": {
      "name": "John Doe",
      "phone": "+593912345678",
      "address": "Av. Simón Bolivar 1515",
      "city": "Lima",
      "region": "Pueblo Libre",
      "country": "Perú",
      "zipCode": "15084"
    }
  },
  "productDetails": {
    "product": [
      {
        "id": "198952AB",
        "title": "eBook Digital Services",
        "price": 30,
        "sku": "10101042",
        "quantity": 1
      },
      {
        "id": "198953AB",
        "title": "eBook Virtual Selling",
        "price": 20,
        "sku": "004834GQ",
        "quantity": 1
      }
    ]
  },
  "fullResponse": "v2"
}'
Response Response Example
201 - 201 - Single Charge fullResponse true- Successful request
{
    "ticketNumber": "906474301225304496",
    "details": {
        "token": "c4c90d3b61f243f18a9977a3abaff322",
        "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": 10,
                    "sku": "10101042",
                    "quantity": 1
                },
                {
                    "id": "198953AB",
                    "title": "eBook Virtual Selling",
                    "price": 6.98,
                    "sku": "004834GQ",
                    "quantity": 1
                }
            ]
        },
        "fullResponse": true,
        "currencyCode": "USD",
        "ip": "187.252.248.209",
        "maskedCardNumber": "545195XXXXXX5480",
        "approvedTransactionAmount": 2,
        "acquirerBank": "",
        "subtotalIva": 0,
        "subtotalIva0": 2,
        "created": 1646879593000,
        "responseCode": "000",
        "transactionType": "SALE",
        "approvalCode": "000000",
        "transactionStatus": "APPROVAL",
        "syncMode": "online",
        "merchantId": "20000000108481570000",
        "processorType": "gateway",
        "transactionId": "244550982852033116",
        "metadata": {
            "contractID": "157AB"
        },
        "responseText": "Transacción aprobada",
        "cardHolderName": "John Doe",
        "lastFourDigits": "5480",
        "binCard": "545195",
        "paymentBrand": "Master Card",
        "cardType": "credit",
        "iceValue": 0,
        "requestAmount": 2,
        "ivaValue": 0,
        "merchantName": "Tu comercio",
        "processorName": "MC Processor",
        "processorBankName": "0032~BANCO INTERNACIONAL",
        "transactionReference": "f3fc0fde-1e95-48d5-8c3d-f18cd73d2c37",
        "issuingBank": "BANCO DE LA PRODUCCION S.A. (PRODUBANCO)",
        "contactDetails": {
            "documentType": "CC",
            "documentNumber": "1234567890",
            "email": "user@example.com",
            "firstName": "John",
            "lastName": "Doe",
            "phoneNumber": "+593912345678"
        },
        "country": "Peru",
        "foreignCard": true,
        "binInfo": {
            "bank": "BANCO DE LA PRODUCCION S.A. (PRODUBANCO)",
            "type": "credit"
        },
        "cardCountry": "Ecuador",
        "rules": []
    },
    "transactionReference": "f3fc0fde-1e95-48d5-8c3d-f18cd73d2c37"
}
Modified at 2026-01-06 19:33:02
Previous
1. Request a card token
Next
3. Void a transaction
Built with