For Developers

Build with Airsoko Pay

Integrate secure payments, wallets, and Safe Trade escrow into your platform. Access the Airsoko GraphQL API to power transactions across the ecosystem.

Integration Overview

Airsoko Pay offers APIs and integrations for every part of the ecosystem.

GraphQL API

Core

Access the Airsoko customer API via GraphQL. Manage wallets, initiate payments, and query transaction history programmatically.

Safe Trade Escrow

Escrow

Integrate buyer protection into your marketplace. Payments are held in escrow until the buyer confirms delivery — building trust at every step.

Wallet System

Wallet

Every registered Airsoko user receives a universal wallet. Top up, withdraw, and manage balances across all ecosystem platforms.

Xduka Storefronts

Stores

Build and power custom storefronts on xduka.com. Airsoko Pay handles all checkout, payments, and order protection automatically.

Quick Start

Get started with a simple GraphQL mutation. Authenticate users, manage wallets, and process payments with just a few lines of code.

api-example.ts
// Example: Airsoko Pay GraphQL — Customer Login
const response = await fetch('/api/graphql/customer/2024-04', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'x-storefront-token': process.env.AIRSOKO_STOREFRONT_TOKEN,
  },
  body: JSON.stringify({
    query: `
      mutation CustomerLogin($input: CustomerLoginInput!) {
        customerLogin(input: $input) {
          accessToken { token }
          customer { id firstName email }
        }
      }
    `,
    variables: {
      input: {
        email: "[email protected]",
        password: "••••••••",
        loginBy: "EMAIL",
      }
    }
  }),
});

Ecosystem Architecture

Understand how Airsoko Pay connects every platform in the ecosystem.

Frontend Apps

  • airsoko.com (Marketplace)
  • *.xduka.com (Storefronts)
  • admin.airsoko.com (Sellers)
  • partner.airsoko.com (Partners)
  • paysasa.com (Pay Hub)

Airsoko Pay API

  • GraphQL Customer API
  • Authentication & Sessions
  • Wallet Management
  • Safe Trade Escrow
  • Payment Processing

Infrastructure

  • HTTPS Encryption
  • Token-based Auth
  • Multi-device Sessions
  • Storefront Tokens
  • Cookie-based State

Ready to integrate?

Start building with Airsoko Pay today. Create a developer account to get your API credentials.