# conekta

> OpenAPI client for conekta

Latest version **9.0.6** (published 2026-09-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install conekta
pnpm add conekta
yarn add conekta
bun add conekta
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 9.0.6 |
| Published | 2026-09-18 |
| First published | 2015-05-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=18 |
| Dependencies | 1 |
| Unpacked size | 5.9 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 40 |
| Author | engineering conekta |
| Maintainers | conekta-official-npm |
| Keywords | conekta, wrapper, spei, bnpl, pago en plazos, credit card, payment, payout, subscription, api, nodejs |

## Links

- npm: https://www.npmjs.com/package/conekta
- Repository: https://github.com/conekta/conekta-node
- Homepage: https://github.com/conekta/conekta-node#readme
- Issues: https://github.com/conekta/conekta-node/issues
- npm.io page: https://npm.io/package/conekta

## Dependencies (1)

- [axios](https://npm.io/package/axios.md) 1.20.0

## Recent versions

- 9.0.6 (latest) — 2026-09-18
- 6.0.0-beta.2 (beta) — 2023-06-30
- 9.0.5 — 2026-09-04
- 9.0.4 — 2026-09-02
- 9.0.3 — 2026-08-31
- 9.0.2 — 2026-08-13
- 9.0.1 — 2026-08-03
- 9.0.0 — 2026-07-22
- 8.0.7 — 2026-07-14
- 8.0.6 — 2026-06-25
- 8.0.5 — 2026-06-23
- 8.0.4 — 2026-05-14
- 8.0.3 — 2026-04-13
- 8.0.2 — 2026-03-27
- 8.0.1 — 2026-03-10
- … 39 more at https://npm.io/package/conekta/versions

## README

# Conekta API library for Node.js 
![Node.js CI](https://github.com/conekta/conekta-node/workflows/Node.js%20CI/badge.svg)
[![Downloads](https://img.shields.io/npm/dm/conekta.svg)](https://www.npmjs.com/package/conekta)
![npm bundle size (scoped)](https://img.shields.io/bundlephobia/minzip/conekta.svg)
[![Version](https://img.shields.io/npm/v/conekta.svg)](https://www.npmjs.com/package/conekta)
[![Try on RunKit](https://badge.runkitcdn.com/conekta.svg)](https://runkit.com/npm/conekta)

This is the officially supported Node.js library for using Conekta's APIs.
## Supported API versions
The library supports all APIs under the following services:

| API                                                                                         | Description | Service Name | Supported version |
|---------------------------------------------------------------------------------------------| ----------- |-------|-------------------|
| [Payments API](https://developers.conekta.com/reference)                  | Our classic integration for online payments. Current supported version | Payments API | **v2.3.0**        |

For more information, refer to our [documentation](https://developers.conekta.com/v2.3.0/docs).

## Prerequisites
- [Conekta account](https://panel.conekta.com/)
- [API key](https://developers.conekta.com/v2.3.0/docs/como-obtener-tus-api-keys).  your API credential .
- [Install Node.js](https://nodejs.org/en/download/) version 18 or later.

## Installation
Install the [Node.JS package](https://www.npmjs.com/package/conekta):
```bash
npm install --save conekta
```

Alternatively, you can download the [release on GitHub](https://github.com/conekta/conekta-node/releases).

## Updating

To update the Node.JS package:

``` bash
npm update conekta
```

Check for breaking changes on the [releases page](https://github.com/conekta/conekta-node/releases/).


## Using the library

In order to submit http request to Conekta API you need to initialize the client. The following example makes a order request:
```ts
import { CustomersApi, Configuration, Customer, CustomerResponse } from "conekta";

const apikey = "key_xxxxx";
const config = new Configuration({ accessToken: apikey });
const client = new CustomersApi(config);

const customer: Customer = {
  name: "John Constantine",
  email: "frank@google.com",
  phone: "+5215555555555"
}

client.createCustomer(customer).then(response => {
  const customerResponse = response.data as CustomerResponse;
  console.log(customerResponse.id);
}).catch(error => {
  console.error("here", error);
});
```

## Running the tests
Navigate to conekta-node folder and run the following commands.
```
npm run build
npm run test
```

## Contributing
We encourage you to contribute to this repository, so everyone can benefit from new features, bug fixes, and any other improvements.
Have a look at our [contributing guidelines](https://github.com/conekta/conekta-node/blob/main/CONTRIBUTING.md) to find out how to raise a pull request.

## Support
If you have a feature request, or spotted a bug or a technical problem, [create an issue here](https://github.com/conekta/conekta-node/issues/choose).

For other questions, [contact our Support Team](https://developers.conekta.com/discuss).

## Licence
This repository is available under the [MIT license](https://github.com/conekta/conekta-node/blob/master/LICENSE).

## See also
* [Conekta docs](https://developers.conekta.com/docs)

---
_Source: https://npm.io/package/conekta · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
