https://api.paystack.com.
Prerequisites
- A GlobalStack account — request access from the dashboard.
- Your secret API key, issued during onboarding. Keep it server-side. See Authentication.
Steps
Verify your key
Make an authenticated call to a read-only endpoint to confirm your key works. Listing supported currencies needs no request body:A
200 with a "status": true envelope means you’re authenticated. A 401 with authentication_failed means the key is missing or wrong.Create a customer
Wallets belong to a customer. Create one with their type, name, email, and ISO 3166-1 alpha-2 The response returns the new customer’s id (prefixed
country_code:cus_). Save it for the next step.Next steps
Get a quote
Lock an FX rate before you move money.
Run an onramp
Turn stablecoins into local currency, settled to a beneficiary.
Stay idempotent
Safely retry write requests without creating duplicates.
Handle errors
The response envelope and the error codes to branch on.