Create Auto Deduct Request

Auto Deduction API enables merchants to securely automate recurring billing and on-demand charges via payment tokenization. By safely saving a customer’s payment method during their initial authorized transaction, your system can trigger subsequent background payments without requiring manual re-entry or customer intervention. This streamlined API reduces churn, simplifies PCI-DSS compliance, and is ideal for subscription models, utility billing, and scheduled memberships.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
📘

Request Header

Add "Authorization": "Bearer {Token}" to the request header.

Request Model

The request is a POST request with the following parameters:

Input ParameterTypeLengthDescription
orderarray, mandatory
order.idstring, mandatory50Refers to the order or transaction ID in your system that you have sent in the request earlier
order.referencestring, mandatory255Refers to the order or transaction ID in your system that you have sent in the request earlier
order.descriptionstring, mandatory500Refers to the order description
order.currencystring, mandatory3Pass your currency code here. You will get the Currency Code from here.
order.amountstring, mandatory22The amount you are seeking to charge the customer accepts decimal values e.g. 2.50.
languagestring, mandatory2
  • en* to display the checkout page in English
  • ar* to display the checkout page in Arabic
referencearray, mandatory
reference.idstring, mandatory150Refers to the order or transaction ID in your own system we will save your ID for our reference.
customerarray, mandatory
customer.namestring, mandatory50Pass customer name for our reference
customer.emailstring, mandatory50Pass customer email address here.
customer.mobilestring, mandatory15Pass customer mobile number here.
customer.uniqueTokeninteger, mandatoryPass customer unique token here. you will get saved card on payment page.
cardarray, mandatory
card.tokenstring, mandatoryPass the card token here. You will get the card token from Retrieve cards
{
    "order": {
        "id": "20221010125525515728",
        "reference": "202210101",
        "description": "Merchant Order description",
        "currency": "KWD",
        "amount": "50.000"
    },
    "language": "en",
    "reference": {
        "id": "202210101202210101"
    },
    "customer": {
        "uniqueToken": "94771608",
        "name": "John Smith",
        "email": "[email protected]",
        "mobile": "+96512345678"
    },
    "card": {
        "token": "9527876950966554"
    }
}
{
    "status": true,
    "message": "Your payment transaction was successful",
    "data": {
        "trackId": "20231154052601721123315963438",
        "transaction": {
            "invoiceId": 72620,
            "trackId": "20231154052601721123315963438",
            "amount": "50.000",
            "currency": "KWD",
            "sessionId": "SESSION0002843470869L91576269G8",
            "status": "done",
            "reference": "202210101202210101",
            "paymentId": "HzYEZ2n6pMQZU2tWugeZEVPa25Sb7yAM",
            "paymentType": "card",
            "orderId": "20221010125525515728",
            "result": "CAPTURED",
            "transactionDate": "2023-01-26 11:54:11"
        }
    }
}
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json