Developer Quickstart

Start in sandbox. Ship with control.

Choose the right integration, test the full payment lifecycle and move to production through a documented activation path.

Payment lifecycleSandbox
  1. 01Your server creates a signed checkout session
  2. 02Customer completes the enabled payment journey
  3. 03SenroPay sends a signed server callback
  4. 04Your server verifies, stores and acknowledges the event
Server-side credentialsSigned callbacksIdempotent processingTest before activation

Integration paths

Match control to your implementation.

Hosted checkout and payment links are the recommended launch paths. More direct integrations are enabled when the merchant's use case, security posture and provider arrangement require them.

01HPP

Hosted checkout

Fastest route to a secure hosted payment journey.

Lower card-data exposure
02LINK

Payment links

Create and share payment requests for invoices and remote sales.

No-code collection
03FIELDS

Hosted fields

Embed controlled payment fields within a branded checkout experience.

Provider eligibility applies
04S2S

Server-to-server

Maximum server-side control for approved, PCI-compliant merchants.

Security review required
05APM

Alternative methods

Connect eligible mobile money, wallets and bank-based methods.

Market-specific activation
06SDK

Plugins and SDKs

Use configured ecommerce plugins and mobile integration paths where enabled.

Configuration dependent

Five-step Quickstart

From credentials to a verified event.

  1. 01
    Receive the sandbox pack

    Get test credentials, configured methods, return URLs and a signing secret for your approved environment.

  2. 02
    Create the payment server-side

    Build the signed request on your server. Never expose merchant credentials or signing material in the browser.

  3. 03
    Send the customer to checkout

    Use the returned redirect URL for hosted checkout, or present the payment link supplied for the transaction.

  4. 04
    Verify the callback

    Validate the signature, process retries idempotently, store the event and return a prompt successful acknowledgement.

  5. 05
    Retrieve authoritative state

    Use the server-side transaction state for fulfilment and reconciliation instead of relying on the customer's browser redirect.

Protocol contractIllustrative
SERVER  →  POST {CHECKOUT_URL}/api/v1/session
         signed payment request

PLATFORM → { redirect_url }

BROWSER →  redirect_url
            customer completes payment

PLATFORM → signed server callback

SERVER  →  verify signature
            deduplicate event
            persist state
            return HTTP 200

Exact endpoints, required fields, signature rules and production URLs are supplied in the approved merchant environment.

Lifecycle and operations

Build for asynchronous payments.

Customer redirects improve experience; signed server events and state retrieval protect fulfilment, reconciliation and retry handling.

01Created
02Customer action
03Pending
04Approved or declined
05Captured
06Refunded or voided
Webhook checklist

Verify before acting.

  • Use HTTPS endpoints
  • Validate the supplied signature
  • Deduplicate repeated events
  • Return a prompt successful response
  • Reconcile against server-side state
Operational actions

Manage the payment lifecycle.

  • Status retrieval
  • Capture where enabled
  • Full or partial refund
  • Void or reversal where supported
  • Recurring workflows where approved
Production gate

Activate only what is approved.

  • Complete business onboarding
  • Pass required test cases
  • Confirm live routes and currencies
  • Rotate to production credentials
  • Monitor initial live transactions
Sandbox access

Request a configured test environment.

Tell us the essentials. We will route the request to the technical onboarding team.

Share integration details Optional · helps us route your enquiry

We use your details only to respond and manage the business conversation.

Already discussing an integration? Contact developers@senropay.com and include your company and reference.