Developers
Build on GetPay
Collect, pay out and transfer money with one REST API. Start in the sandbox, go live when you're ready.
Quick start
Create your first checkout session in five minutes.
API reference
Every endpoint, field, status and error, explained.
Sandbox
Test accounts that behave like production, with no real money.
Full documentation is being prepared. Ask us for early access.
How an integration works
- 1Create a checkout session from your server
- 2Redirect the customer to the GetPay checkout
- 3Customer pays with QR, link, OTP or USSD
- 4Receive a signed webhook and fulfil the order
curl -X POST https://sandbox-api.example.com/v1/checkout/sessions \
-H "Authorization: Bearer $GETPAY_SECRET_KEY" \
-H "Idempotency-Key: order-1042" \
-H "Content-Type: application/json" \
-d '{
"amount": 1500,
"currency": "ETB",
"reference": "order-1042",
"success_url": "https://yourshop.com/thanks",
"webhook_url": "https://yourshop.com/webhooks/getpay"
}'Example code. Final endpoints are published in the developer docs.
Verify every webhook
Every event is signed with HMAC-SHA256. Check the signature before you trust the payload, and use idempotency keys on every write so retries are always safe.
- Authentication
- Webhooks
- Idempotency
- Errors and statuses
import crypto from "node:crypto";
export function verify(rawBody, signature, secret) {
const expected = crypto.createHmac("sha256", secret).update(rawBody).digest("hex");
return crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(signature));
}SDKs and plugins
- Node.js
- PHP
- Python
- Flutter
- WooCommerce
Availability of each SDK is announced in the changelog.
Ready to get paid the easy way?
Create a free account in minutes. Our team will help you go live.