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 insdks/swift)
Setup
- Add the SDK to your project (On your server)
- Install from source: sdks/swift (see its README).
- Once published: .package(path: "sdks/swift")
- 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
| Network | Assets | Notes |
|---|---|---|
| Base | USDC, USDT | mainnet |
| Ethereum | USDC, USDT | mainnet |
| BNB Smart Chain | USDC, USDT | mainnet |
| Solana | USDC, USDT | mainnet |
| Gully Chain Testnet | ETH, WETH | Only 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.