Quickstart Guide
Get up and running with SimulatePay in under 5 minutes.
1. Get your API Keys
Head over to your merchant dashboard to retrieve your `Public Key` and `Secret Key`. Remember, sandbox keys always start with `pk_test_` or `sk_test_`.
2. Initialize a Collection
Make your first request to create a payment session.
curl -X POST https://api.simulatepay.com/v1/collect \
-H "Authorization: Bearer sk_test_sandbox_..." \
-d '{ "amount": 1000, "currency": "USD" }'
3. Handle the Response
Redirect your user to the `checkout_url` link returned in the response.
{
"status": "success",
"checkout_url": "https://simulate.pay/checkout/...",
"reference": "sandbox_tx_102"
}