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 Tokenization API

Tokenize cards and Nequi accounts.

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

Tagged areas include Tokenization. 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 4 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 4 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 Tokenization 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.

Tokenization 3

Tokenize cards and Nequi accounts.

POST
/tokens/cards
Tokenize a card
tokenizeCard body → 201422
POST
/tokens/nequi
Create a Nequi token (subscribe)
tokenizeNequi body → 201
GET
/tokens/nequi/{token_id}
Get Nequi token status
getNequiToken 1 param → 200

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are CardTokenRequest (5 properties), CardTokenResponse (2 properties), NequiTokenRequest (1 property), NequiTokenResponse (1 property). Each schema is shown below with its type and property counts.

NequiTokenResponse
object
1 property
CardTokenRequest
object
5 properties 5 required
CardTokenResponse
object
2 properties
NequiTokenRequest
object
1 property 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

wompi-tokenization-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 Transactions API