Create a customer to perform ramp operations on their behalf.
Before creating intents, you must create a customer record. This associates your user with Gnosis Ramp and returns an access token for customer-scoped API calls.
Your internal user identifier. Use a stable ID from your system.
metadata
object
No
Optional metadata to store with the customer.
Use your internal user ID (e.g., database primary key, auth provider ID) as the customer id. This makes it easy to correlate Gnosis Ramp customers with your users.
Creating a customer with the same id is idempotent — it returns the existing customer with a fresh access token. This is useful for:
Refreshing expired tokens
Ensuring customers exist before operations
# Call again with same ID - returns existing customer with new tokencurl -X POST https://api.ramp.gnosis.io/v1/customers \ -u "${CLIENT_ID}:${CLIENT_SECRET}" \ -H "Content-Type: application/json" \ -d '{"id": "user-12345"}'