1. Payment Gateway Interface
  • autoX API Reference
    • Introduction
  • Marketing Interface
    • Overview
    • Lead Create
      POST
    • Appointment Create
      POST
    • Opportunity Create
      POST
    • Transaction Push⬩
      POST
    • Transaction Update⬩
      POST
  • Website Interface
    • Overview
    • Get Showroom List
      GET
    • Get Make Data
      GET
    • Get Model Data
      GET
    • Get Sales Org Data
      GET
    • Get Equipment Stock Data
      GET
    • Get Characteristics Data of Equipment
      GET
    • Get Material Addons Data
      GET
    • Get Bill Of Material Data
      GET
    • Get Equipment Price
      POST
    • Vehicle Enquiry Create
      POST
  • Payment Gateway Interface
    • Overview
    • Payment Link Create⬩
      POST
    • Payment Link Cancel⬩
      POST
    • Payment Notification
      POST
    • Payment Status Check⬩
      POST
  • Aftersales Interface
    • Overview
    • Check Workload Capacity
      POST
    • Service Request Push⬩
      POST
    • Get Parts Price & Stock
      POST
    • Work Estimate Create
      POST
    • Service Request Update⬩
      POST
  • Call Center Integration
    • Overview
    • Data Fetch
    • Transaction Sync
    • Queue Upload⬩
  • Survey Interface
    • Overview
    • Update Survey Score
  • OEM Interface
    • Overview
    • Accounts Data
    • Parts Sales Data
    • Parts Stock Data
    • Customer Data
    • Labour Sales Data
    • Vehicle Data
    • Vehicle Sales Data
    • Service History Data
    • Open Repair Orders Data
    • Open Repair Orders Customer Data
    • Workshop Transactions Data
    • Workshop Transactions Customer Data
    • Future Booking Data
  1. Payment Gateway Interface

Payment Status Check⬩

POST
⬩This is an outbound webhook.
Based on a configurable trigger or manual action in autoX, autoX will POST a transaction query request to a partner-provided payment gateway endpoint to retrieve the latest payment status for transactions within a specified date range and state.

Request

Body Params application/json

Examples

Responses

🟢200
application/json
OK
Bodyapplication/json

🟠400
🟠401
Request Request Example
Shell
JavaScript
Java
Swift
curl --location '' \
--header 'Content-Type: application/json' \
--data '{
    "QueryData": {
        "Customer": "Demo Merchant",
        "Store": "0000",
        "Terminal": "0000",
        "Name": "QueryTransactionsByLastState",
        "StartDate": "2025-10-10 00:00:00",
        "EndDate": "2025-10-14 23:59:59",
        "From": "0",
        "To": "5",
        "LastTranState": "Authorized",
        "OrderByDate": "Descending",
        "UserName": "Demo_User",
        "Password": "Demo_Password"
    }
}'
Response Response Example
{
    "Transaction": {
        "UniqueID": "2fc54fcc-b28b-4bd1-b4a0-1138b8a9ce4e",
        "ResponseCode": "0",
        "ResponseDescription": "Request processed successfully",
        "ResponseParameters": {
            "InvoiceID": "712571",
            "InvoiceType": "Once",
            "Amount": "50",
            "AmountPrintable": "AED 50.00",
            "Currency": "AED",
            "EffectiveDate": "2025-10-10T05:27:00",
            "ExpiryDate": "2025-10-14T19:59:00",
            "GeneratedBy": "Demo_User",
            "GenerationDate": "2025-10-10T05:40:09",
            "MaxInvoices": "0",
            "SentViaEmail": "Success - Email sent.",
            "SentViaSMS": "Fail - 7351 - Error while sending/receiving SMS",
            "Store": "0000",
            "Terminal": "0000",
            "TotalAmountAuthorized": "50",
            "TotalAmountAuthorizedPrintable": "AED 50.00",
            "TotalTransactions": "1",
            "TransactionsAuthorized": "1",
            "Transactions": {
                "InvoiceTransaction": {
                    "ApprovalCode": "638023",
                    "AuthorizedAmountPrintable": "AED 50.00",
                    "CardMask": "411111******1111",
                    "TransactionDate": "2025-10-10T05:43:04",
                    "TransactionID": "202172264442",
                    "TransactionStatus": "Authorized",
                    "TransactionResponseCode": "0",
                    "TransactionExtraDetails": {
                        "ExtraDataEntry": [
                            {
                                "Name": "Card Brand",
                                "Value": "Visa"
                            },
                            {
                                "Name": "Card Token",
                                "Value": "4111115534891111"
                            },
                            {
                                "Name": "Card Expiry",
                                "Value": "2026-01"
                            },
                            {
                                "Name": "CardHolderName",
                                "Value": "John Smith"
                            }
                        ]
                    }
                }
            }
        },
        "Language": "en",
        "ResponseClass": "0",
        "ResponseClassDescription": "Success"
    }
}
Previous
Payment Notification
Next
Overview
Built with