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

Checkout Order Request

POST
/v1/checkout-order/new-order
Note: A valid token is required for authentication as it expires after every hour. Refer to Token Request to generate a new token.
This API creates a new checkout order used to initiate a payment flow. The request contains one or more checkout line items and supports redirect URLs and callbacks for payment status updates.

Request

Authorization
Body Params application/jsonRequired

Examples

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/v1/checkout-order/new-order' \
--header 'Content-Type: application/json' \
--data-raw '{
    "originatorConversationId": "c1a9f0d4-6e2b-4a8f-b9d3-5f7c2e1a4b66",
    "checkoutRouteId": "DED81224-70B6-ED11-AD49-0EE00E897F52",
    "checkoutRouteChannelType": 134,
    "checkoutNotes": "Customer checkout for apparel purchase",
    "checkoutCcy": 404,
    "checkoutDueDate": "2026-12-31T23:59:59Z",
    "checkoutReturnUrl": "https://checkout.merchant.com/payment/response",
    "checkoutCancelUrl": "https://checkout.merchant.com/payment/cancel",
    "checkoutCallbackUrl": "https://checkout.merchant.com/api/payment/result",
    "checkoutReference": "ORD-20260126-7845",
    "checkoutAccountNo": "0072",
    "checkoutOrderLines": [
        {
            "sku": "SHRT-BLK-XL-9981",
            "name": "Black Shirt XL",
            "price": 2500.0
        },
        {
            "sku": "SHRT-BLU-L-4421",
            "name": "Blue Shirt Large",
            "price": 2200.0
        },
        {
            "sku": "SHRT-GRN-M-7712",
            "name": "Green Shirt Medium",
            "price": 2300.0
        }
    ]
}'
Response Response Example
{
    "message": {
        "appDomainName": "TEST",
        "originatorConversationId": "00a9f0d4-6e2b-4a8f-b9d3-5f7c2e1a4b66",
        "timestamp": "2026-01-29T15:56:31.0370808Z",
        "checkoutSession": {
            "status": "000",
            "message": "Checkout Created",
            "checkoutId": "e8265e12-2bfd-f011-b81a-f47b09e5c7ab",
            "checkoutUrl": "https://test-checkout.zamupay.com/cart/e8265e12-2bfd-f011-b81a-f47b09e5c7ab",
            "checkoutExpiresAt": "2026-12-31T23:59:59Z"
        }
    }
}
Modified at 2026-04-30 05:53:25
Previous
Overview
Next
Query Checkout Request
Built with