Skip to main content

Introduction

What is XGate?​

XGate is a modern and powerful solution for payments and financial conversions, designed to facilitate and automate transactions via PIX and cryptocurrencies. With a robust API, it's perfect for developers who want to quickly integrate financial functionality into their applications.

Features​

  • Instant PIX processing;
  • Automatic FIAT to Crypto currency conversion
  • Deposits and withdrawals supporting BRL, USDT and USDC
  • Real-time monitoring with advanced dashboard

Official Packages​

To simplify and accelerate your integration with the XGATE API, we offer official Development Packages (SDKs).

Instead of having to manually build each HTTP request, manage authentication tokens, and format the body of each call, our packages do all the heavy lifting for you.

Just install the package corresponding to your language and call the pre-built functions.


What is the NPM package?​

NPM (Node Package Manager) is the standard package manager for the JavaScript ecosystem.

Our NPM package (xgate-client) is a library that "wraps" all our API routes in easy-to-use JavaScript functions. It's ideal for:

  • Backend: Applications built with Node.js (such as Express, NestJS, etc.).
  • Frontend: Modern applications like React, Angular, or Vue.

Key Advantages:​

  • Automatic Authentication: It handles the login call and stores the token for subsequent requests.
  • Clear Functions: Instead of POST /deposit, you simply call xgate.createDeposit({ ... }).
  • Typing (TypeScript): If you use TypeScript, the package already provides correct types for each function.

Installation is done via command line and adds the package to your package.json file.

Installation​

NPM Installation​

Attention

This package is compatible with JavaScript and TypeScript, offering complete typing for a better development experience in modern applications.

npm install xgate

See the manual for complete installation and usage instructions:

Check NPM Manual