API Reference

Developer docs

Integrate ShopSwift's QR payment orchestration layer into any POS system, ERP, or custom backend.

API Overview

The ShopSwift API is a REST API with JSON request/response bodies. All endpoints are prefixed with /api. Amounts are always in kobo (₦1 = 100 kobo).

Base URL

url
https://shopswiftpay.com

Transaction status lifecycle

status values
pending            — transaction record created
session_created    — QR token generated, awaiting customer scan
payment_initiated  — customer selected a payment method
transfer_reported  — customer tapped "I've Paid", awaiting cashier verify
confirmed          — cashier verified and confirmed payment
expired            — QR session TTL elapsed without payment
cancelled          — POS cancelled the session
failed             — webhook validation failed