Getting started
Getting started
Credentials, environments, and how to choose the right Quickstart for your wallet model and platform.
Credentials and environments
Shared setup for widget + API keys integrations on Solana and Stellar. Start at Choose your chain if you have not yet.
You need partner access before integration docs will work end to end.
| If you... | Do this |
|---|---|
| New to Ramps (widget) | Request access for sandbox API keys (ramps_pk_sbox_ / ramps_sk_sbox_) |
| Legacy Stellar SEP partner | Sign in: whitelist workflow and SEP guide |
| Already onboarded (keys) | Sign in for keys, allowed origins, integration tests, and go-live |
Widget partners on Solana or Stellar use the same key model and POST /v1/sessions. You do not implement SEP-10 / SEP-24 on the widget path.
| Chain | Integration model | Start here |
|---|---|---|
| Solana | Widget SDK + sessions + SPL USDC signing | Solana hub |
| Stellar | Widget SDK + sessions + Stellar USDC signing | Stellar hub |
| Legacy Stellar only | SEP-10 + SEP-24 anchor (whitelist) | Legacy SEP guide |
Do not mix SEP anchor calls into a widget integration, or widget sessions into a SEP-only integration.
Solana and Stellar widget docs follow the same map. Only chain-specific signing and session fields change in the guides.
| Step | What you pick | What you get |
|---|---|---|
| 1 | Chain hub (Solana or Stellar) | Non-custodial quickstart and guide, with Web and React Native as separate rows. |
| 2 | Non-custodial | Quickstart · Web, Guide · Web, Quickstart · React Native, Guide · React Native. Each guide covers cash-in and cash-out. |
| 3 | Custodial · both chains | Setup, cash-in quickstart, and cash-in guide are shared. Cash-out quickstarts and guides are listed there by chain (Solana, Stellar) and host (Web, React Native). |
| 4 | Embed | Embed the widget: Web createRamps, iframe postMessage, React Native WebView. One message contract. |
| 5 | Reference | API, status and webhooks, optional onTransactionCreated, troubleshooting (shared). |
Legacy Stellar SEP partners use the SEP guide instead of the widget tree.
| MoneyGram handles | You handle |
|---|---|
| KYC / compliance | Wallet UX and chain signing |
| Quoting and settlement | Session creation (server-side secret key) |
| 480,000+ cash locations | Allowed browser origins and production hardening |
Supported asset today: USDC on Solana or Stellar.
When onboarded for the widget path you receive sandbox and production key pairs:
| Sandbox | Production | |
|---|---|---|
| Public key | ramps_pk_sbox_... | ramps_pk_prod_... |
| Secret key | ramps_sk_sbox_... | ramps_sk_prod_... |
Critical rules:
- Never put the secret key in client-side code, mobile binaries, or public repos.
- Your domain must be allowlisted before browser keys work.
- Sandbox reference numbers and confirmation codes are for testing only.
| Sandbox (playground) | Production | |
|---|---|---|
| API base | https://playground.xramps.moneygram.com/api | https://xramps.moneygram.com/api |
| Session | POST {base}/v1/sessions | Same |
| Session JWT TTL | 1 hour | 1 hour |
Pass chain: "solana" or chain: "stellar" (and wallet address) when creating sessions. See your chain quickstart for signing details.
Playground, partner-dev, and production are separate clusters. A sandbox key returns 401 on the wrong host.
Solana only · devnet USDC
| Mainnet | Devnet (sandbox) | |
|---|---|---|
| USDC mint | EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v | 4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU |
Optional: clone the Solana Foundation runnable reference on devnet before you pick Web or React Native.
Stellar only · testnet USDC
Use issuer and network from each sign payload when possible. Typical sandbox testnet issuer:
GBBD47IF6LWK7P7MDEVSCWR7DPUWV3NY3DTQEVFL4NAT4AQH3ZLLFLA5
Full tables and memo rules: Stellar Web guide.
Use the Partner portal for keys, go-live checklist, and support.
- Open the Solana hub or Stellar hub.
- Choose custodial vs non-custodial and platform on that hub.
- Finish with the matching quickstart or full guide.