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

Wompi Transactions API

Create and track payment transactions.

Wompi Transactions API is one of 7 APIs that Wompi publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Transactions. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 3 operations across 3 paths, and defines 5 schemas. It is described by OpenAPI 3.0.3, at version 1.0.

Requests are made against 2 base URLs: https://production.wompi.co/v1, https://sandbox.wompi.co/v1.

3 operations 3 paths 5 schemas 1 GET2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.0
Base URL
https://production.wompi.co/v1
Authentication
HTTP Bearer, HTTP Bearer
Terms of Service
Resource Areas
1

Authentication & Security 2

Wompi Transactions API declares 2 security schemes for authenticating requests. It accepts HTTP bearer tokens (PublicKey). It accepts HTTP bearer tokens (PrivateKey).

  • PublicKey — Bearer authorization with the merchant PUBLIC key (pubprod... / pubtest...). Safe for client-side use; grants tokenization, merchant read, transaction create/r…
  • PrivateKey — Bearer authorization with the merchant PRIVATE key (prvprod... / prvtest...). Server-side only; required for payment sources, voids, and payment links.

Paths & Operations 3

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

Transactions 3

Create and track payment transactions.

POST
/transactions
Create a transaction
createTransaction body → 201422
GET
/transactions/{id}
Get a transaction
getTransaction 1 param → 200404
POST
/transactions/{id}/void
Void a card transaction
voidTransaction 1 param → 201

Schemas 5

The contract defines 5 schemas that model the data the API accepts and returns. The most detailed are TransactionRequest (8 properties), PaymentMethodPse (6 properties), PaymentMethodCard (3 properties), PaymentMethodNequi (2 properties). Each schema is shown below with its type and property counts.

TransactionResponse
object
1 property
TransactionRequest
object
8 properties 7 required
PaymentMethodPse
object
6 properties
PaymentMethodNequi
object
2 properties
PaymentMethodCard
object
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

wompi-transactions-api-openapi.yml Raw ↑

Other APIs Wompi publishes across the network.

Wompi Events (Webhooks)
Wompi Merchants API
Wompi Payment Links API
Wompi Payment Sources API
Wompi PSE API
Wompi Tokenization API