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 Link Cancel⬩

POST
⬩This is an outbound webhook.
Based on a configurable trigger or manual action in autoX, autoX will POST a payment link cancellation request to a partner-provided payment gateway endpoint. The payment gateway expires the invoice associated with the provided invoice ID, rendering the payment link invalid.

Request

Body Params application/json

Examples

Responses

🟢200
application/json
OK – Invoice expired successfully.
Bodyapplication/json

🟠400
🟠401
Request Request Example
Shell
JavaScript
Java
Swift
curl --location '' \
--header 'Content-Type: application/json' \
--data '{
    "UpdateEInvoice": {
        "InvoiceID": "2514157504",
        "UpdateDetailType": "ExpireLink",
        "Customer": "0010000001",
        "Store": "DemoStore",
        "Terminal": "eInvoice",
        "ExtraData": {
            "LinkExpiredReason": "Cancel Payment"
        }
    }
}'
Response Response Example
{
    "Transaction": {
        "UniqueID": "bf85048e-cd79-4319-a524-2c7036346869",
        "ResponseCode": "0",
        "ResponseDescription": "Request Processed Successfully",
        "ActivityLogingSequenceNumber": "-1",
        "Language": "en",
        "ResponseClass": "0",
        "ResponseClassDescription": "Success"
    }
}
Previous
Payment Link Create⬩
Next
Payment Notification
Built with