402ify API Reference
Overview
Base URL
Authentication
Authorization: Bearer <JWT_TOKEN>Authentication Flow
Get Authentication Message
GET /api/v1/auth/message?walletAddress=0xYOUR_WALLET
Response:
{
"message": "402.sigwei.com wants you to sign in with your Ethereum account:\n0x742D35Cc6634C19D8B4e8d5C1234567890123456\n\nI accept the Sigwei Terms of Service: https://402.sigwei.com/tos\n\nURI: https://402.sigwei.com/api/v1/auth\nVersion: 1\nChain ID: 8453\nNonce: abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890\nIssued At: 2024-01-15T10:30:00Z",
"apiVersion": "v1",
"timestamp": "2024-01-15T10:30:00Z"
}Login with Wallet Signature
Refresh Token
Get Current User
Logout
PayGate Management APIs
List PayGates
Create PayGate (URL)
Multi-Method PayGates
Create PayGate (File)
Get Specific PayGate
Update PayGate
Update PayGate Secret
Delete PayGate
Transfer API
Execute USDC Transfer
Premium PayGates API
Create Premium PayGate
Extend Premium PayGate
Dashboard API
Get Statistics
Account Management API
Get Account Tier Information
Get Billing Information
Update Account Tier
Transaction History API
Get Transaction History
PayGate Access
Standard Payment Flow
Authentication-Required PayGate
Health Check
API Health
Error Response Format
Last updated