commonResponse

The commonResponse object allows to obtain general information about an operation.

Table 1. commonResponse object
commonResponse Format
responseCode

See chapter Managing application errors.

First attribute to be analyzed regardless of the operation.

  • The value 0 indicates that the operation is successfully completed (should not be confused with transaction status)
  • A value different from 0 involves an analysis of the responseCodeDetails attribute. It specifies the origin of the error.
n..2
responseCodeDetail

Information about the error if the responseCode attribute is not 0.

For more information, see chapter Managing application errors.

string
transactionStatusLabel

Name of the transaction status. The possible values are:

  • AUTHORISED

    Waiting for capture.

    The transaction has been accepted and will be automatically captured by the bank on the due date.
  • AUTHORISED_TO_VALIDATE

    To be validated.

    The transaction, created with manual validation, is authorized. The merchant must manually validate the capture in the bank. The transaction can be validated as long as the capture date has not passed. If the capture date has passed, the payment status changes to Expired (unless definitive).
  • WAITING_AUTHORISATION

    Waiting for authorization.

    The requested capture date exceeds the authorization request expiration date.
    An authorization of 100 INR has been made and accepted by the issuing bank. The authorization request and the capture will be triggered automatically.
  • WAITING_AUTHORISATION_TO_VALIDATE

    To be validated and authorized.

    The requested capture date exceeds the authorization request expiration date.
    An authorization of 100 INRhas been made and accepted by the issuing bank. An authorization request for the total amount will be automatically processed 1 day before the capture date. The payment might be accepted or declined. The capture is automatic.
  • REFUSED

    Declined.

    The transaction has been declined.
  • CAPTURED

    The transaction has been captured by the bank.

  • CANCELLED

    Canceled.

    The transaction has been canceled by the merchant.
  • EXPIRED

    Expired.

    The capture date has passed but the merchant has not validated the transaction.
  • UNDER_VERIFICATION

  • ACCEPTED

    Status of a verification type transaction (creation or update of a token).

    The authorization or information request has been accepted.

string
shopId

Shop ID

n8
paymentSource

Transaction source. The possible values are:

  • EC for e-commerce.
  • MOTO for a MOTO order.
  • CC for a call center.
  • OTHER for another sales channel.
string
submissionDate

Transaction date and UTC time in W3C format (e.g.: 2016-07-16T19:20:00Z).

dateTime ans..40
contractNumber

Number of the merchant acceptance agreement.

string
paymentToken

Token.

string