Docs
Dashboard

Integrations / Developer

Swift SDK

Beta · version 0.1.0

Typed Swift client for the Gully Pay REST API: checkout sessions, payments, x402 and wallets. Source: sdks/swift. Not on the public package registry yet; build or vendor it from source.

Beta
Not published to the public package registry yet. Install from source.

Install

  • Swift package: .package(path: "sdks/swift") (not on the public registry yet; use the source in sdks/swift)

Setup

  1. Add the SDK to your project (On your server)
    • Install from source: sdks/swift (see its README).
    • Once published: .package(path: "sdks/swift")
  2. Create a store API key (In the Gully Pay dashboard)
    • Run the Hosted checkout wizard, or create a key with the checkout:write scope under Developer.

Networks

NetworkAssetsNotes
BaseUSDC, USDTmainnet
EthereumUSDC, USDTmainnet
BNB Smart ChainUSDC, USDTmainnet
SolanaUSDC, USDTmainnet
Gully Chain TestnetETH, WETHOnly when the API runs with GULLY_CHAIN_ENABLED=true (testnet).

Scopes and events

  • API key scopes: checkout:write
  • Webhook events: checkout.session.completed (see Webhooks)
  • API base URL: https://gullypay.xyz/api

Changelog

0.1.0 (2026-10-01)

  • First release from the monorepo.