---
updatedAt: 2026-06-01T05:07:22.000Z
agentTools:
  projectIndex: https://developer.peachpayments.com/llms.txt
---

# Query checkout status

Get the status of a checkout.
To determine the status of the checkout, use the `result.code` and `result.description` fields in the response. For the full list of possible codes, see [Result codes](https://developer.peachpayments.com/docs/dashboard-response-codes#result-codes).
For more information, see the [documentation](https://developer.peachpayments.com/docs/checkout-payment-status), and for sample calls, see the [public Postman collection](https://www.postman.com/peachpayments/peach-payments-public-workspace/request/kvwxqv5/query-checkout-status?action=share&source=copy-link&creator=20323380&ctx=documentation).

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "version": "1.0.0",
    "title": "Checkout",
    "description": "Checkout by Peach Payments is a ready to use payment experience securely hosted and managed by Peach Payments. With Checkout, merchants have the ability to accept a full range of payment methods with only a single developer integration. Support for card, EFT, BNPL (buy now, pay later), QR code, digital wallet, voucher, and mobile money are available straight out the box and can be customised by the merchant through the Peach Payments Console. Checkout is secure and provides both the merchant and customer confidence in the security of web payments.\n\nThis specification helps developers to easily integrate Checkout into payment pages for web using the Checkout API.",
    "contact": {
      "name": "Peach Payments Support",
      "url": "https://support.peachpayments.com/support/home",
      "email": "support@peachpayments.com"
    },
    "license": {
      "name": "Proprietary",
      "url": "https://peachpayments.com/legal"
    }
  },
  "servers": [
    {
      "url": "https://testsecure.peachpayments.com",
      "description": "Sandbox testing environment."
    },
    {
      "url": "https://secure.peachpayments.com",
      "description": "Live production environment."
    }
  ],
  "security": [],
  "tags": [
    {
      "name": "V1",
      "description": "Deprecated but maintained endpoints, please use V2 for all new integrations."
    }
  ],
  "paths": {
    "/status": {
      "get": {
        "summary": "Query checkout status",
        "description": "Get the status of a checkout.\nTo determine the status of the checkout, use the `result.code` and `result.description` fields in the response. For the full list of possible codes, see [Result codes](https://developer.peachpayments.com/docs/dashboard-response-codes#result-codes).\nFor more information, see the [documentation](https://developer.peachpayments.com/docs/checkout-payment-status), and for sample calls, see the [public Postman collection](https://www.postman.com/peachpayments/peach-payments-public-workspace/request/kvwxqv5/query-checkout-status?action=share&source=copy-link&creator=20323380&ctx=documentation).",
        "tags": [
          "V1"
        ],
        "parameters": [
          {
            "in": "query",
            "name": "authentication.entityId",
            "schema": {
              "type": "string",
              "example": "8ac7a4ca68c22c4d0168c2caab2e0025",
              "maxLength": 64
            },
            "description": "Merchant's entity ID.",
            "required": true
          },
          {
            "in": "query",
            "name": "checkoutId",
            "schema": {
              "type": "string",
              "example": "948cc8dec52a11eb85290242ac130003",
              "maxLength": 64
            },
            "description": "Unique identifier for the checkout session to query status for."
          },
          {
            "in": "query",
            "name": "merchantTransactionId",
            "schema": {
              "type": "string",
              "example": "OrderNo453432",
              "maxLength": 64
            },
            "description": "Merchant's unique identifier for the transaction to query status for."
          },
          {
            "in": "query",
            "name": "signature",
            "schema": {
              "type": "string",
              "example": "a668342244a9c77b08a2f9090d033d6e2610b431a5c0ca975f32035ed06164f4",
              "maxLength": 64
            },
            "description": "Signature of data signed with secret key of merchant.",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Successfully retrieved the checkout status information.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CheckoutStatus"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request state or parameters, check the response body for more details.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CheckoutError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error."
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "CheckoutStatus": {
        "type": "object",
        "description": "Status response for checkout endpoints with detailed transaction information.",
        "properties": {
          "amount": {
            "description": "The checkout amount.",
            "type": "string",
            "format": "^[0-9]{1,8}(\\\\.[0-9]{2})?$",
            "example": "10.00"
          },
          "card.bin": {
            "description": "The first 6 digits of the card number (Bank Identification Number).",
            "type": "string",
            "example": "411111"
          },
          "card.expiryMonth": {
            "description": "The expiry month of the card.",
            "type": "string",
            "pattern": "^(0[1-9]|1[0-2])$",
            "example": "10"
          },
          "card.expiryYear": {
            "description": "The expiry year of the card.",
            "type": "string",
            "pattern": "^[0-9]{4}$",
            "example": "2025"
          },
          "card.holder": {
            "description": "The name of the card holder.",
            "type": "string",
            "example": "test"
          },
          "card.last4Digits": {
            "description": "The last 4 digits of the card number.",
            "type": "string",
            "pattern": "^[0-9]{4}$",
            "example": "1111"
          },
          "checkoutId": {
            "description": "The unique identifier for the checkout instance.",
            "type": "string",
            "maxLength": 64,
            "example": "d5f6efe0841a413796c2d5d116735f06"
          },
          "currency": {
            "description": "The currency code of the payment request amount.",
            "type": "string",
            "enum": [
              "ZAR",
              "USD",
              "KES",
              "MUR",
              "GBP",
              "EUR"
            ],
            "example": "ZAR"
          },
          "customer.givenName": {
            "description": "The customer's first name or given name (optional, may not be present in all responses).",
            "type": "string",
            "maxLength": 48,
            "example": "test"
          },
          "customer.surname": {
            "description": "The customer's last name or surname (optional, may not be present in all responses).",
            "type": "string",
            "maxLength": 48,
            "example": "test"
          },
          "id": {
            "description": "The unique transaction identifier.",
            "type": "string",
            "example": "8ac7a4a092735249019275f3a111762c"
          },
          "merchant.name": {
            "description": "The name of the merchant.",
            "type": "string",
            "example": "SB Peach"
          },
          "merchantTransactionId": {
            "description": "Merchant-provided reference number unique for your transactions.",
            "type": "string",
            "maxLength": 16,
            "minLength": 8,
            "example": "20241010122105"
          },
          "paymentBrand": {
            "description": "The payment method brand used for the transaction.",
            "type": "string",
            "enum": [
              "VISA",
              "MASTERCARD",
              "DINERS CLUB",
              "AMERICAN EXPRESS",
              "MASTERPASS",
              "MOBICRED",
              "MPESA",
              "1FORYOU",
              "APLUS",
              "PAYPAL",
              "ZEROPAY",
              "PAYFLEX",
              "BLINKBYEMTEL",
              "CAPITECPAY",
              "PAYBYBANK",
              "MCBJUICE",
              "RCS",
              "FLOAT",
              "HAPPYPAY",
              "APPLE PAY",
              "GOOGLEPAY",
              "SAMSUNGPAY",
              "MAUCAS",
              "MONEYBADGER",
              "PAYSHAP",
              "PAYJUSTNOW",
              "ABSAEFT"
            ],
            "example": "VISA"
          },
          "paymentType": {
            "description": "The payment type for the request.",
            "type": "string",
            "enum": [
              "DB",
              "PA"
            ],
            "example": "DB"
          },
          "result.code": {
            "description": "A code representing the transaction result.",
            "type": "string",
            "example": "000.100.110"
          },
          "result.description": {
            "description": "A human-readable description of the transaction result.",
            "type": "string",
            "example": "Request successfully processed in 'Merchant in Integrator Test Mode'"
          },
          "resultDetails.AcquirerResponse": {
            "description": "The response code from the acquiring bank.",
            "type": "string",
            "example": "0"
          },
          "resultDetails.MerchantAdviceCode": {
            "description": "Merchant Advice Code (MAC) indicating retry strategy for failed transactions. Common values are 01 (new account information available), 02 (cannot approve at this time), 03 (re-initiate transaction), 04 (do not try again).",
            "type": "string",
            "example": "02"
          },
          "schemeTransactionId": {
            "description": "Scheme-level transaction identifier for tracking and reconciliation.",
            "type": "string",
            "example": "ABCDEF1234567"
          },
          "cardholderInitiatedTransactionId": {
            "description": "Cardholder-initiated transaction identifier for tracking and reconciliation.",
            "type": "string",
            "example": "123456789012345"
          },
          "signature": {
            "description": "Token to verify the integrity of the response.",
            "type": "string",
            "maxLength": 64,
            "example": "a18e39ea1a74ee1ea117defa5a75a54fe8562af941d1a76d8b9f5a91f379483b"
          },
          "timestamp": {
            "description": "Date and time when the transaction was processed.",
            "type": "string",
            "format": "date-time",
            "example": "2024-10-10T10:22:38Z"
          }
        }
      },
      "CheckoutError": {
        "type": "object",
        "description": "Error response returned when a checkout request fails.",
        "properties": {
          "result.code": {
            "description": "A code representing the error.",
            "type": "string",
            "example": "200.300.404"
          },
          "result.description": {
            "description": "A friendly error message.",
            "type": "string",
            "example": "Invalid or missing parameter."
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true,
    "samples-enabled": true
  }
}
```