Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Kushki Charges API

Direct charge against a previously created card token

Kushki Charges API is one of 12 APIs that Kushki publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 2 JSON Schema definitions.

Tagged areas include Charges. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, a JSON-LD context, and 2 JSON Schemas.

This API exposes 2 operations across 2 paths, and defines 6 schemas. It is described by OpenAPI 3.1.0, at version 1.0.0.

Requests are made against 3 base URLs: https://api.kushkipagos.com, https://api-uat.kushkipagos.com, https://api-stg.kushkipagos.com.

2 operations 2 paths 6 schemas 2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0.0
Base URL
https://api.kushkipagos.com
Authentication
API Key, API Key
Contact
Resource Areas
1

Authentication & Security 2

Kushki Charges API declares 2 security schemes for authenticating requests. An API key is passed in the header as Public-Merchant-Id (PublicMerchantId). An API key is passed in the header as Private-Merchant-Id (PrivateMerchantId). By default, every request must be authenticated.

  • PublicMerchantId — Client-side merchant key. Used by Kushki.js and mobile SDKs to tokenize cards. Never use server-side for charging.
  • PrivateMerchantId — Server-side merchant key. Required for charge, capture, void, refund, subscription, and payout calls.

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 2 POST. Each is listed below with its method, path, parameters, and response codes.

Charges 2

Direct charge against a previously created card token

POST
/card/v1/charges
Kushki Create Card Charge
createCardCharge body → 2004XX
POST
/card/v1/deferred
Kushki Create Deferred Card Charge
createDeferredCharge body → 2004XX

Schemas 6

The contract defines 6 schemas that model the data the API accepts and returns. The most detailed are ChargeResponse (10 properties), ChargeRequest (8 properties), Amount (6 properties), ContactDetails (6 properties). Each schema is shown below with its type and property counts.

ContactDetails
object
6 properties
Amount
object
6 properties 4 required
DeferredChargeRequest
ChargeResponse
object
10 properties
Error
object
2 properties
ChargeRequest
object
8 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

kushki-charges-api-openapi.yml Raw ↑

Other APIs Kushki publishes across the network.

Kushki Subscriptions API
Kushki Payouts API
Kushki Webhooks
Kushki Branches API
Kushki Card Present Charges API
Kushki Cash API
Kushki Pre-Authorization API
Kushki Terminals API
Kushki Tokens API
Kushki Transfer API
Kushki Voids and Refunds API