Payment Enquiry

Get payment request details and status

Payment Enquiry API services allows you to know the payment information that has been processed. This allows you to track and get the payment status in real-time.

Get Payment Enquiry

Endpoint details

Endpoint URLMethodAuthentication requirements
/v1/api/erp/svPayEnquiryService/POST1. clientid
2. clientsecret
3. signature

A request in the following format should be posted to the above-mentioned endpoint to fetch the payment status and details:

curl --location --request POST 'https://servicesuat.onesingleview.com/v1/api/erp/svPayEnquiryService' \
--header 'clientid: Enter_Client_ID' \
--header 'clientsecret: Enter_Client_Secret' \
--header 'signature: Enter_Signature' \
--header 'Content-Type: application/json' \
--data-raw '{
  "svPayEnquiryServiceRQ": {
    "company": [
      {
        "companyCode": "Enter_Company_Code",
        "fromDate": "YYYY-MM-DDTHH:MM:SSZ",
        "toDate": "YYYY-MM-DDTHH:MM:SSZ",
        "payId": [
          "Payment_ID","Payment_ID"
        ],
        "authId": [
          "Authentication_ID","Authentication_ID"
        ]
      }
    ]
  }
}'

Request details:

JSON TagDescriptionData type
clientid
Mandatory
Client IDString
clientsecret
Mandatory
Client CodeString
signature
Mandatory
SignatureString
svPayEnquiryServiceRQ
Mandatory
Payment enquiry request tagObject
company
Mandatory
Array of companiesArray
companyCode
Mandatory
Unique company codeString
fromDate
Mandatory
From Date PeriodString
toDate
Mandatory
To Date PeriodString
payId
Mandatory
Array of ERP pay IDsArray
authId
Mandatory
Array of ERP Authentication IDsArray

If the details are found to be valid, the following successful response will be displayed:

{
  "svPayEnquiryServiceRS": {
    "company": [
      {
        "companyCode": "Company_Code",
        "payment": [
          {
            "payId": "Payment_ID",
            "authId": "Authentication_ID",
            "seqNum": "Sequence_Number",
            "svRefId": "SV_Reference_ID",
            "amount": 00.00,
            "currency": "Currency",
            "txnDate": "YYYY-MM-DDTHH:MM:SSZ",
            "approval_status":Approval_Status,
            "bankCharges":"Y or N",
            "chargeAmount":00.00,
            "status": Status, // completed
            "message": "Message"
          },
          {
            "payId": "Payment_ID",
            "authId": "Authentication_ID",
            "seqNum": "Sequence_Number",
            "svRefId": "SV_Reference_ID",
            "amount": 00.00,
            "currency": "Currency",
            "txnDate": "YYYY-MM-DDTHH:MM:SSZ",
            "approval_status":Approval_Status,
            "bankCharges":"Y or N",
            "chargeAmount":00.00,
            "status": Status, // completed
            "message": "Message"
          }
         ]
      }
    ]
  }
}

Response description:

JSON TagDescriptionData type
svPaymentServiceRSAdd payment services Response TagObject
companyArray of companiesArray
companyCodeUnique company codeString
paymentArray of paymentsArray
authIdSingleview Authentication IDString
payIdUnique reference id toward payment request from ERPString
seqNumSequence numberString
svRefIdSingleview Reference IDString
amountAmountString
chargeAmountAmount chargedString
currencyCurrency of paymentString
txnDateTransaction dateString
approval_statusApproval status of the payment requestString
bankChargesAmount charged by the bankString
chargeAmountCharged AmountString
statusStatus of the paymentString
messageMessage of payment processingString

πŸ“˜

Note

Refer Types & Statuses for more info on payment status update codes.