API Documentation

Integrate WeEx into your applications with our comprehensive API

API Overview

Fast & Reliable

99.9% uptime with low latency

Secure

Enterprise-grade security

RESTful

Standard HTTP methods

The WeEx API is organized around REST. Our API has predictable resource-oriented URLs, accepts form-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes.

Authentication

The WeEx API uses API keys to authenticate requests. You can view and manage your API keys in your dashboard.

curl https://api.weex.com/v1/users \
  -H "Authorization: Bearer YOUR_API_KEY"
API Endpoints
GET
/api/v1/users
Users

Retrieve user information

POST
/api/v1/users
Users

Create a new user

GET
/api/v1/transactions
Transactions

List all transactions

POST
/api/v1/transactions
Transactions

Create a new transaction

SDKs & Libraries

JavaScript/Node.js

Official SDK for JavaScript and Node.js

Python

Official Python library

PHP

Official PHP SDK

Ruby

Official Ruby gem