ለገንቢዎች
በGetPay ላይ ይገንቡ
በአንድ REST API ገንዘብ ይቀበሉ፣ ይክፈሉ እና ያስተላልፉ። በሳንድቦክስ ይጀምሩ፤ ዝግጁ ሲሆኑ ስራ ይጀምሩ።
ፈጣን መነሻ
Create your first checkout session in five minutes.
API ማጣቀሻ
Every endpoint, field, status and error, explained.
ሳንድቦክስ
Test accounts that behave like production, with no real money.
ሙሉ ሰነዶች በዝግጅት ላይ ናቸው። ቀድመው እንዲያገኙ ይጠይቁን።
ውህደት እንዴት ይሰራል
- 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"
}'የምሳሌ ኮድ። የመጨረሻዎቹ endpoints በገንቢ ሰነዶች ውስጥ ይታተማሉ።
እያንዳንዱን ዌብሁክ ያረጋግጡ
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));
}SDKዎችና ፕለጊኖች
- Node.js
- PHP
- Python
- Flutter
- WooCommerce
የእያንዳንዱ SDK መገኘት በለውጥ መዝገብ ይታወቃል።