Skip to content
All providers

SasPay

payment·🇧🇫🇧🇯🇨🇩🇨🇮🇨🇲🇬🇭🇬🇳🇰🇪🇲🇱🇲🇼🇳🇪🇳🇬🇷🇼🇸🇳🇹🇬🇹🇿🇺🇬🇿🇲·Sandbox available

SasPay is a single REST API to collect payments (mobile money, card) and pay out beneficiaries by mobile money across West, Central and East Africa, with hosted checkout, payment links, per-country wallets and signed webhooks.

Use with AI agents

After installing the plugin or adding the MCP server, prompt your agent:

“Cancel the pending SasPay checkout session for order #1042 before the customer pays.”
Install the plugin →

Who can open an account

Open to individuals, with conditions

Before you sign up

SasPay's terms (§ 1) describe the merchant as a SaaS software publisher ('éditeurs de logiciels SaaS'); whether a seller who does not publish software can open an account is not said.

3 more points to check
  • The terms say the third-party payment providers' own terms apply too; their requirements for the merchant are not stated.
  • The KYC docs (https://docs.saspay.me/account-setup.md) document only kyc_type BUSINESS (with rccm_number and ifu_number); the individual ('particulier') KYC type and its fields are not documented.
  • SasPay's pages do not say whether the account requirements differ by country.
What the provider’s pages say (2)
  • Selon le type de compte (particulier ou entreprise), le Marchand doit soumettre les pièces justificatives demandées (pièce d'identité, selfie, documents d'entreprise le cas échéant) dans le cadre de la procédure de vérification d'identité.
    qui permet à des éditeurs de logiciels SaaS (« le Marchand », « vous ») de connecter leurs produits à des solutions de paiement tierces afin d'encaisser des paiements auprès de leurs propres clients (« les Utilisateurs finaux »).
    n'intervient pas dans la relation contractuelle entre le Marchand et les prestataires de paiement tiers, dont les propres conditions générales s'appliquent en complément des présentes.
    saspay.me/conditions-utilisation
  • "kyc_type": "BUSINESS",
    docs.saspay.me/account-setup.md

Pages read on November 3, 2026.

Know the answer? Tell us on GitHub →

Capabilities

CapabilityTypeStatusiMethodExample
cancel_checkout_sessionsynchronousVerifiedPOST
confirm_otpsynchronousAvailablePOST
create_checkout_sessionsynchronousVerifiedPOST
create_paymentsynchronousVerifiedPOST
create_payment_linksynchronousVerifiedPOST
get_balancesynchronousAvailableGET
get_checkout_session_statussynchronousVerifiedGET
retry_paymentsynchronousVerifiedPOST
send_payoutsynchronousAvailablePOST
send_wallet_transfersynchronousAvailablePOST
verify_paymentsynchronousVerifiedGET
verify_payoutsynchronousAvailableGET
webhook_payment_completedwebhookVerifiedPOST

Gotchas

cancel_checkout_session

  • ⚠api.saspay.me treats every call as production, even with an sk_test_ key: SasPay's support confirmed « les clés sandbox ne sont pas fonctionnelles, veuillez utiliser les clés lives » after a card payment made with one was debited for real (maintainer's test and ticket of 2026-11-01, reply read 2026-11-07; details in create_checkout_session). This call reads or changes production data. Test against sandbox-api.saspay.me instead (see create_payment's gotchas) — a genuinely separate host, confirmed by the maintainer for create_payment/verify_payment on 2026-11-16, not yet re-tested for this capability.
  • ⚠Only a PENDING session can be cancelled: a session already paid, expired or cancelled returns 409 not_pending.

confirm_otp

  • ⚠api.saspay.me treats every call as production, even with an sk_test_ key: its docs say sk_test_ means SANDBOX, "tests sans argent réel" (docs.saspay.me/account-setup), but a card payment made with one there was debited for real (maintainer's test, 2026-11-01), and SasPay's support confirmed « les clés sandbox ne sont pas fonctionnelles, veuillez utiliser les clés lives » (reply to the maintainer's ticket of 2026-11-01, read 2026-11-07). Test against sandbox-api.saspay.me instead (see create_payment's gotchas) — a genuinely separate host, confirmed by the maintainer for create_payment/verify_payment on 2026-11-16, not yet re-tested for this capability.
  • ⚠This is a second step, only for networks that require a customer-side confirmation after the initial push (e.g. Wizall Senegal, Coris Benin). On other networks it returns 400.
  • ⚠A failed confirmation returns a deliberately generic 422 message: never expect the gateway's reason in it.
  • ⚠409 means the transaction cannot be confirmed in its current state (not_pending, no_gateway, no_attempt): check it with verify_payment instead of retrying the OTP.

create_checkout_session

  • ⚠Idempotency-Key is not supported here: calling twice creates two separate sessions (nothing is charged until one is paid).
  • ⚠fee_charge_mode is silently ignored unless the merchant account has ALLOW_CLIENT_OVERRIDE enabled.
  • ⚠The API key needs the PAYIN or BOTH scope, otherwise the call returns 403.
  • ⚠return_url is used at most after a successful payment (and see the card observation below): after a failed or cancelled one it is not used, the customer sees a Retry button and must close the tab, so don't depend on a redirect to your site for failures.
  • ⚠A successful card payment may not redirect to return_url either. SasPay's docs (docs.saspay.me/api-reference/payments/checkout-create) say the hosted page "redirige automatiquement le navigateur du client vers cette URL 3 secondes après confirmation d'un paiement **réussi**", but on 2026-11-01 (maintainer's integration test, Senegal, XOF, sk_test_ key, return_url set) a successful card payment (card issued in France) ended on a FeexPay receipt page ("Paiement réussi", "Propulsé par FeexPay") and the customer was not redirected to return_url. The webhook transaction.success still arrived, and get_checkout_session_status returned status PAID and transaction_status SUCCESS. Asked about it, SasPay's support answered « veuillez utiliser les clés lives pour la partie redirection, normalement vous devez être redirigé en même temps » (reply to the maintainer's ticket of 2026-11-01, read 2026-11-07): it ties the missing redirect to the sk_test_ key, which has not been checked with an sk_live_ key yet. Whatever the key, confirm the order from the webhook or the status, never from the customer coming back.
  • ⚠api.saspay.me treats every call as production, even with an sk_test_ key — despite its docs saying the key prefix sets the environment (docs.saspay.me/account-setup: "`environment` : `"LIVE"` (préfixe `sk_live_`, argent réel) ou `"SANDBOX"` (préfixe `sk_test_`, tests sans argent réel)"): a card payment there was debited for real (session amount 500 XOF; the FeexPay receipt showed "Montant autorisé 1240 FCFA"). Asked about it, SasPay's support answered « les clés sandbox ne sont pas fonctionnelles, veuillez utiliser les clés lives » (reply to the maintainer's ticket of 2026-11-01, read 2026-11-07). Test against sandbox-api.saspay.me instead (see create_payment's gotchas) — a genuinely separate host, confirmed by the maintainer for create_payment/verify_payment on 2026-11-16, but not yet re-tested here: whether the redirect issue above still occurs on the real sandbox is unknown.
  • ⚠In the same test, choosing Orange Money on the hosted checkout (Senegal) showed a QR code ("Scannez le QR Code avec votre application mobile Orange Money ou Max it pour finaliser le paiement."): it must be scanned from the Orange Money or Max it app on the phone that holds the account, so a tester without that phone at hand cannot finish the payment.
  • ⚠Amounts are decimal strings ("5000.00"), never floats.

create_payment

  • ⚠api.saspay.me treats every call as production, even with an sk_test_ key: its docs say sk_test_ means SANDBOX, "tests sans argent réel" (docs.saspay.me/account-setup), but a card payment made with one there was debited for real (maintainer's test, 2026-11-01), and SasPay's support confirmed « les clés sandbox ne sont pas fonctionnelles, veuillez utiliser les clés lives » (reply to the maintainer's ticket of 2026-11-01, read 2026-11-07). Test against sandbox-api.saspay.me instead: a genuinely separate host, documented at docs.saspay.me/sandbox and confirmed by the maintainer's own live test on 2026-11-16 — a create_payment call there returned success/PENDING, and the matching verify_payment call returned SUCCESS with an external_reference prefixed sbx-success-. Sandbox and production are chosen by host, never by the sk_test_/sk_live_ key prefix; never call api.saspay.me to test, whatever the key.
  • ⚠Sandbox test outcomes are deterministic by the test phone's last digit, independent of network or country (docs.saspay.me/sandbox, « Numéros magiques »): 0 succès, 1 échec générique, 2 solde insuffisant, 9 reste PENDING indéfiniment (utile pour tester le polling/timeout). Tout autre chiffre réussit par défaut. Use a full plausible number (e.g. the docs' own +2290197234560), not a run of zeros — confirmed by the maintainer on 2026-11-16.
  • ⚠The minimum amount is 200 XOF, not just on payouts: below it, 400 with error.amount ["Le montant minimum est de 200 XOF."] (observed in the sandbox, live test 2026-11-16). Whether the minimum is 200 in every other listed currency or a per-currency equivalent is not documented.
  • ⚠In the sandbox, a test phone ending in 1 (the magic number for a generic failure) is refused synchronously with 422 and error.code "client_fault" — no payment is created, so there is nothing to feed retry_payment or verify_payment with (observed in the sandbox, live test 2026-11-16). Whether 2 (insufficient funds) and 9 (stuck pending) behave the same way, or do create a resource, is not known.
  • ⚠Always check checkout_url in the response: for Wave, Orange Money, Djamo and cards you must redirect the customer to it; only when it is empty was a request pushed to the customer's phone.
  • ⚠Networks that need a pre-payment OTP (Orange Money Côte d'Ivoire and Burkina Faso: the customer dials a USSD code first) require the otp field, otherwise 422 prepayment_otp_missing. This is not the post-push SMS OTP, which goes through confirm_otp.
  • ⚠Send an Idempotency-Key (one UUID per payment attempt, reused on retries): without it a network retry creates a second real payment. Reusing a key with a different body, or while the first call is still running, returns 409.
  • ⚠Amounts are decimal strings ("2500.00"), never floats.
  • ⚠To know beforehand whether a network needs the pre-payment OTP (and show the right USSD instructions), read otp_required / otp_instructions from GET /pricing/my-rates/.
  • ⚠Valid network codes per country and the expected customer.phone format are listed on the docs' formats page (/api-reference/reference/formats).
  • ⚠A 400 validation error has another shape than business errors: error is a map of field names to messages ({"field": ["message"]}), not {message, code}.

create_payment_link

  • ⚠api.saspay.me treats every call as production, even with an sk_test_ key: its docs say sk_test_ means SANDBOX, "tests sans argent réel" (docs.saspay.me/account-setup), but a card payment made with one there was debited for real (maintainer's test, 2026-11-01), and SasPay's support confirmed « les clés sandbox ne sont pas fonctionnelles, veuillez utiliser les clés lives » (reply to the maintainer's ticket of 2026-11-01, read 2026-11-07). Test against sandbox-api.saspay.me instead (see create_payment's gotchas) — a genuinely separate host, confirmed by the maintainer for create_payment/verify_payment on 2026-11-16, not yet re-tested for this capability.
  • ⚠No server-side cross-validation: a FIXED link without amount is accepted, so always send amount with amount_type FIXED.
  • ⚠redirect_url is required when show_confirmation_page is false, otherwise 400.
  • ⚠Idempotency-Key is not supported here: calling twice creates two separate links.

get_balance

  • ⚠api.saspay.me treats every call as production, even with an sk_test_ key: SasPay's support confirmed « les clés sandbox ne sont pas fonctionnelles, veuillez utiliser les clés lives » after a card payment made with one was debited for real (maintainer's test and ticket of 2026-11-01, reply read 2026-11-07; details in create_checkout_session). This call reads or changes production data. Test against sandbox-api.saspay.me instead (see create_payment's gotchas) — a genuinely separate host, confirmed by the maintainer for create_payment/verify_payment on 2026-11-16, not yet re-tested for this capability.
  • ⚠Balances are per country wallet: two countries with the same currency (e.g. Benin and Senegal, both XOF) still have separate balances.

get_checkout_session_status

  • ⚠api.saspay.me treats every call as production, even with an sk_test_ key: SasPay's support confirmed « les clés sandbox ne sont pas fonctionnelles, veuillez utiliser les clés lives » after a card payment made with one was debited for real (maintainer's test and ticket of 2026-11-01, reply read 2026-11-07; details in create_checkout_session). This call reads or changes production data. Test against sandbox-api.saspay.me instead (see create_payment's gotchas) — a genuinely separate host, confirmed by the maintainer for create_payment/verify_payment on 2026-11-16, not yet re-tested for this capability.
  • ⚠Meant for polling when no webhook is configured: it re-checks the real gateway state on each call.
  • ⚠Authenticated calls are limited to 300 requests per minute per account; beyond that the API returns 429, so space out polling.
  • ⚠`success: true` only means the call worked; the outcome is in data.status (PAID for a paid session; session statuses PENDING | PAID | EXPIRED | CANCELLED) and data.transaction_status (SUCCESS for the payment; transaction statuses PENDING | SUCCESS | FAILED | CANCELLED).

retry_payment

  • ⚠api.saspay.me treats every call as production, even with an sk_test_ key: its docs say sk_test_ means SANDBOX, "tests sans argent réel" (docs.saspay.me/account-setup), but a card payment made with one there was debited for real (maintainer's test, 2026-11-01), and SasPay's support confirmed « les clés sandbox ne sont pas fonctionnelles, veuillez utiliser les clés lives » (reply to the maintainer's ticket of 2026-11-01, read 2026-11-07). Test against sandbox-api.saspay.me instead (see create_payment's gotchas) — a genuinely separate host, confirmed by the maintainer for create_payment/verify_payment on 2026-11-16, not yet re-tested for this capability.
  • ⚠Retrying reuses the same transaction and id; it never creates a new transaction.
  • ⚠Only incoming payments can be retried: a payout returns 400. A FAILED payment is retryable (that is what this endpoint is for); 409 is for the other terminal states.
  • ⚠Send an Idempotency-Key: without it a network retry relaunches the payment a second time. Reusing a key with a different body, or while the first call is still running, returns 409.
  • ⚠The retry can switch the customer to a hosted page: with an sk_test_ key (live test 2026-10-17), a failed mtn_ci push retried with no body came back with a checkout_url (status still FAILED until the customer pays), so check checkout_url on every retry.

send_payout

  • ⚠api.saspay.me treats every call as production, even with an sk_test_ key: its docs say sk_test_ means SANDBOX, "tests sans argent réel" (docs.saspay.me/account-setup), but a card payment made with one there was debited for real (maintainer's test, 2026-11-01), and SasPay's support confirmed « les clés sandbox ne sont pas fonctionnelles, veuillez utiliser les clés lives » (reply to the maintainer's ticket of 2026-11-01, read 2026-11-07). Test against sandbox-api.saspay.me instead (see create_payment's gotchas) — a genuinely separate host, confirmed by the maintainer for create_payment/verify_payment on 2026-11-16, not yet re-tested for this capability.
  • ⚠With an API key, the calling server's IP must be whitelisted for the merchant, otherwise 403 ip_not_whitelisted.
  • ⚠No automatic currency conversion on payouts (unlike payins): the currency must match the beneficiary's country, otherwise 422 currency_country_mismatch.
  • ⚠Send an Idempotency-Key: without it a network retry creates a second disbursement. Reusing a key with a different body, or while the first call is still running, returns 409.
  • ⚠Amounts are decimal strings ("10000.00"), never floats.
  • ⚠Valid method codes per country and the expected recipient.msisdn format are listed on the docs' formats page (/api-reference/reference/formats).
  • ⚠A 400 validation error has a different shape from the business errors: `error` maps each invalid field to a list of messages ({"amount": ["Ce champ est obligatoire."]}) with no error.message or error.code, so read the field map, not just error.message (observed with an sk_test_ key, live test 2026-10-17).
  • ⚠Payouts must be enabled for the merchant by SasPay: until then every call returns 403 payout_not_enabled, even with a whitelisted IP (observed with an sk_test_ key, live test 2026-10-17).
  • ⚠The minimum payout is 200 XOF: below it, 400 with error.amount ["Le montant minimum est de 200 XOF."] (observed with an sk_test_ key, live test 2026-10-17).

send_wallet_transfer

  • ⚠api.saspay.me treats every call as production, even with an sk_test_ key: its docs say sk_test_ means SANDBOX, "tests sans argent réel" (docs.saspay.me/account-setup), but a card payment made with one there was debited for real (maintainer's test, 2026-11-01), and SasPay's support confirmed « les clés sandbox ne sont pas fonctionnelles, veuillez utiliser les clés lives » (reply to the maintainer's ticket of 2026-11-01, read 2026-11-07). Test against sandbox-api.saspay.me instead (see create_payment's gotchas) — a genuinely separate host, confirmed by the maintainer for create_payment/verify_payment on 2026-11-16, not yet re-tested for this capability.
  • ⚠Only one PENDING transfer per merchant at a time: a new call while one awaits admin approval returns 422 transfer_already_pending.
  • ⚠The transfer is COMPLETED immediately only if WALLET_TRANSFER_AUTO_APPROVE is enabled; otherwise it stays PENDING until an admin approves it, and the target wallet is not credited before then.
  • ⚠Send an Idempotency-Key: without it a network retry reserves the amount a second time. Reusing a key with a different body, or while the first call is still running, returns 409.

verify_payment

  • ⚠api.saspay.me treats every call as production, even with an sk_test_ key: SasPay's support confirmed « les clés sandbox ne sont pas fonctionnelles, veuillez utiliser les clés lives » after a card payment made with one was debited for real (maintainer's test and ticket of 2026-11-01, reply read 2026-11-07; details in create_checkout_session). This call reads or changes production data. Test against sandbox-api.saspay.me instead: a genuinely separate host, confirmed by the maintainer's own live test on 2026-11-16 — this exact call (GET .../payments/{payment_id}/verify/) returned SUCCESS with an external_reference prefixed sbx-success-.
  • ⚠Only deliver the product or grant access once this returns SUCCESS.
  • ⚠A PENDING payment is re-checked against the gateway on each call, so the status can change between two calls.
  • ⚠Every response is wrapped in the same envelope: read the payload from data, and on failure read error.message and error.code.
  • ⚠Only PENDING, SUCCESS and FAILED occur in practice: CANCELLED exists in the data model but no flow reaches it today, so treat it as a non-successful terminal state without expecting it.
  • ⚠For accounting, never use the requested amount alone: what left the payer and what you receive depend on fee_charge_mode. Read debited_amount and net_amount, or the amounts object (requested, fee, charged, net).
  • ⚠`success: true` only means the call worked; the outcome is in data.status (SUCCESS for a paid payment; transaction statuses PENDING | SUCCESS | FAILED | CANCELLED).

verify_payout

  • ⚠api.saspay.me treats every call as production, even with an sk_test_ key: SasPay's support confirmed « les clés sandbox ne sont pas fonctionnelles, veuillez utiliser les clés lives » after a card payment made with one was debited for real (maintainer's test and ticket of 2026-11-01, reply read 2026-11-07; details in create_checkout_session). This call reads or changes production data. Test against sandbox-api.saspay.me instead (see create_payment's gotchas) — a genuinely separate host, confirmed by the maintainer for create_payment/verify_payment on 2026-11-16, not yet re-tested for this capability.
  • ⚠A PENDING payout is re-checked against the gateway on each call, so the status can change between two calls.
  • ⚠`success: true` only means the call worked; the outcome is in data.status (SUCCESS for a completed payout; transaction statuses PENDING | SUCCESS | FAILED | CANCELLED).

webhook_payment_completed

  • ⚠Verify X-Webhook-Signature before anything else: it is the lowercase hex HMAC-SHA256, keyed with your webhook's signing_secret (SASPAY_WEBHOOK_SECRET), of the X-Webhook-Timestamp value, a dot, then the raw body: `${timestamp}.${rawBody}`.
  • ⚠Reject the request when X-Webhook-Timestamp (Unix seconds) is more than 5 minutes from your clock: without this check an intercepted webhook stays replayable forever, since its signature never expires.
  • ⚠Compute the signature over the raw request body, never over a re-serialised parsed payload (key order or number formatting can differ). Express: mount express.raw({ type: 'application/json' }) on this route.
  • ⚠Compare signatures in constant time (crypto.timingSafeEqual, hmac.compare_digest, hash_equals), never with ===.
  • ⚠signing_secret is shown only once, in the creation or rotation response, and never returned by the read endpoints: copy it then. If lost, set a new one from the dashboard (Webhooks → Changer le secret).
  • ⚠Webhooks and subscriptions can only be created, changed or deleted from the dashboard; the API key can only list and read them.
  • ⚠Each event is attempted 5 times (immediately, then +30s, +5min, +30min, +2h) with a 15s timeout per attempt, then marked FAILED for good (only a manual resend from the dashboard retries it). Answer 2xx right away, process in the background, and make processing idempotent on data.id, since a retried event can arrive twice.
  • ⚠For accounting use data.charged (what left the payer) and data.net_amount (what you receive), never data.amount alone: which one includes the fee depends on fee_charge_mode.
  • ⚠Do not depend on the exact data shape of settlement.* events: SasPay states it is not guaranteed yet.
  • ⚠data.msisdn is empty on transactions created before 17 August 2026; country, network and the amounts are always present.
  • ⚠Find your order with data.metadata (the metadata you set on the checkout session, echoed back: observed in the sandbox, 2026-11-23), or with a stored data.id. data.reference is SasPay's own reference, not your order number.

Video tutorials

Details

Category
payment
Sandbox
Yes

Who can open an account

Open to individuals, with conditions

Details

Spec contributors