1. Card Payments
Almara Pay Documentation
  • Introduction
  • Definitions
    • Data Types
    • Error Codes
    • MCCMNC Codes
  • Authorization
    • Overview
    • Token Request
      POST
    • Find Transaction Routes
      GET
    • Health Check
      GET
  • Payouts
    • Overview
    • Payment Order Request Information
    • Mobile Money Requests
      • Overview
      • Mobile Transfers- Safaricom (M-Pesa)
      • Mobile Transfers - Airtel Money
    • Payment Order Requests - Business Transfers
      POST
    • Payment Order Requests - Bank Transfers
      POST
    • Find Payment Order By OriginatorConversationId
      GET
    • Reject Order By OriginatorConversationId
      POST
  • Pay-Ins
    • Payment Links
      • Overview
      • Create Payment Link
      • Find Payment Links By Id
      • Update Payment Link
    • Express Deposits
      • Overview
      • Express Deposit Request
      • Find Express Deposit By OriginatorConversationId
    • C2B IPN (Callback)
      • C2B IPN Overview
  • Card Payments
    • Overview
    • Checkout Order Request
      POST
    • Query Checkout Request
      GET
    • Checkout Callback Request
      POST
  • Account Validation
    • Overview
    • Account Number Validation Request
      POST
    • Find KYC Status by SystemTraceAuditNumber
      GET
    • Account Validation
      POST
    • Find Account Validation Status by SystemTraceAuditNumber
      GET
  • Platform Services
    • Airtime Purchase
      • Overview
      • Airtime Purchase
      • Find Airtime Purchases By OriginatorConversationId
    • Customer Accounts
      • Balance Check
      • Find Charges By TransactionTypeId
    • Bill Payments
      • Overview
      • Bill Request Validation
      • Bill Request Payment
      • Find Bill Services
      • Find Bill Number By Service Id and Account Number
      • Find Bill Request By Originator Converstion Id
      • Bill Number
  1. Card Payments

Overview

This document describes how to handle card checkout flows, including callbacks, return, and cancellation endpoints.

URL TypeMethodPayload TypeNotes
callbackUrlPOSTJSONAsynchronous notification of transaction status. Respond with HTTP 200.
returnUrlPOSTForm URL EncodedRedirect user after payment. Include secure hash as query string.
cancelUrlPOSTOptionalRedirect user if transaction is canceled.

Security:
Secure your returnUrl with a special hash or signature passed as a query string to validate the integrity of the request.
Example:
https://checkout.merchant.com/return?hash=abcd1234
Usage:
Contains the same transaction data as the callbackUrl, allowing your system to confirm checkout details.
Checkout Flow:
Modified at 2026-04-30 06:26:42
Previous
C2B IPN Overview
Next
Checkout Order Request
Built with