Payments

Initiate simple transaction

Redirects the customer to the Airpay-hosted payment page. Must be submitted as an HTML form POST. The payload (encdata) must be AES-encrypted.

post/pay/v4/

Request

  • Base URL: https://payments.airpay.co.in
  • URL: https://payments.airpay.co.in/pay/v4/
  • Auth: API key in query parameter token

Query parameters

tokenstring required

Merchant access token

Response

Payment page HTML returned (browser redirect) or JSON callback on success URL

status_code'200' | '400'

200 = success, 400 = error

status'success' | 'fail'
response_codestring
messagestring

Example response

{
  "data": {
    "amount": "100.00",
    "chmod": "pg",
    "currency_code": "356",
    "transaction_time": "30-11-2023 12:32:59",
    "card_scheme": "visa",
    "card_number": "462294XXXXXX3713"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.