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 Voids and Refunds API

Void or refund a previously captured charge

Kushki Voids and Refunds 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 Voids and Refunds. 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 1 operation across 1 path, and defines 4 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.

1 operations 1 paths 4 schemas 1 DELETE

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 Voids and Refunds 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 1

Across 1 path, the API surfaces 1 operation — 1 DELETE. Each is listed below with its method, path, parameters, and response codes.

Voids and Refunds 1

Void or refund a previously captured charge

DELETE
/v1/charges/{ticketNumber}
Kushki Void Or Refund Charge
voidOrRefundCharge 1 param body → 2004XX

Schemas 4

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

Amount
object
6 properties 4 required
ChargeResponse
object
10 properties
Error
object
2 properties
VoidRequest
object
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

kushki-voids-and-refunds-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 Charges API
Kushki Pre-Authorization API
Kushki Terminals API
Kushki Tokens API
Kushki Transfer API