| Auth Type | Used For | Format |
|---|---|---|
| HTTP Basic | Project-level endpoints | Authorization: Basic base64(clientId:clientSecret) |
| Bearer Token | Customer-level endpoints | Authorization: Bearer <accessToken> |
Base URL
All API requests use a single base URL:There is no separate sandbox URL. Sandbox testing is controlled by configuring your ramp providers with sandbox credentials in the dashboard. See Getting Started for details.
HTTP Basic Authentication
Use HTTP Basic auth for project-level operations that don’t require a customer context. Endpoints using Basic auth:POST /customers— Create customersGET /customers— List customersGET /currencies/supported— Get supported currency pairsGET /providers— List available providersGET /intent/requirements— Get intent requirements schemaGET /intent/quote— Get indicative quotes
Example
Bearer Token Authentication
Use Bearer token auth for customer-specific operations. The token is obtained when creating a customer. Endpoints using Bearer auth:POST /intent— Create intentsGET /intent— List customer’s intentsGET /intent/:id— Get specific intentPOST /intent/:id/transaction— Execute transactionGET /intent/:id/transaction— Get transaction status
Example
Getting the Access Token
TheaccessToken is returned when you create a customer:
Next Steps
Create a Customer
Set up customers for ramp operations.
External Auth (SIWE)
Use Gnosispay wallet authentication for KYC sharing.