API Reference
Quick reference for endpoints, error codes, and common values
01
Base URLs
Auth Service:
https://auth.yieldfabric.comPayments Service:
https://pay.yieldfabric.comGraphQL Endpoint:
https://pay.yieldfabric.com/graphql02
Asset IDs
| Asset ID | Description |
|---|---|
aud-token-asset | Australian Dollars |
usd-token-asset | US Dollars |
03
Chain IDs
| Chain ID | Network |
|---|---|
151 | Redbelly Mainnet (Governors) |
153 | Redbelly Testnet (Governors) |
04
Common Error Codes
401 Unauthorized
UNAUTHORIZEDInvalid or expired token
403 Forbidden
FORBIDDENInsufficient permissions
422 Validation Error
VALIDATION_ERRORInvalid input parameters
500 Server Error
INTERNAL_ERRORInternal server error
05
Status Values
Contract Status
ACTIVECOMPLETEDPENDINGCANCELLEDPayment Status
COMPLETEDPROCESSINGPENDINGFAILED06
Best Practices
Amount Format
Always use integer strings for amounts:
✓
"100"Correct✗
"100.00"Incorrect✗
100Incorrect (not a string)Timestamp Format
Use ISO 8601 format for dates:
✓
"2025-11-01T00:00:00+00:00"✓
"2025-11-01"(simple date)Idempotency Keys
Always use idempotency keys for mutations to prevent duplicate operations
07