Payroll Payouts Enquiry

Get latest update on payroll payments' status

Overview

SingleView Payroll Payouts Enquiry service connects Corporate users via a secure channel and enables them to enquire about the status of their payroll transactions quickly and easily. The key feature of the service allows the user to get immediate acknowledgment about the most recent status of their payments.

🌐Domain details

Get Payroll Payouts Enquiry

Endpoint details

Endpoint URLMethodAuthentication requirements
/api/v1/batch/payroll/paymentenquiryPOST1/. clientid (Optional)
2. clientsecret (Optional)
3. SVReferenceID
4. Device
5. DateTimeStamp
6. CompanyId
7. Authroization: Bearer (Token)
8. Signature

Sample request

curl --location 'http://sandboxapi.onesingleview.com/api/v1/batch/payroll/paymentenquiry' \
--header 'clientid: abcde83643f61c975' \
--header 'clientsecret: zyxwv163C03b7d1' \
--header 'SVReferenceID: CLIENT0098222' \
--header 'CompanyId: MYCOMPANY' \
--header 'Device: web' \
--header 'DateTimeStamp: 2023-08-10T10:20:39' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjoiTDNyMmpxV29JS2I4MTNodDBNMlZ4WGpFZmR6WFNWaTFad3B5QnlkOVpHelZXR2ZwUmFQNUV1TXl6S1Aybi94Y0lwR2V5STNNMkdPL1pqakd4ZG0yclJKU0VLY3hhSFVoWVBjM3B3ZkI1MjhJcDJ2ank1QWpyV1dFMWNBPSIsImlhdCI6MTczNjE2Mjk1NCwiZXhwIjoxNzM2MTY2NTU0fQ.uy8sphQ4sa-p0_iUj2Rq4ULO5lDitpY_isr4yKP-NFM' \
--header 'Content-Type: application/json' \
--data '{
"Message": {
  "OSVPayrollMessageRequest": {
    "OSVPayrollStatusRequest": [
      {
        "PayrollTransactions": [
          {
            "BankReferenceNumber": "",
            "MessageDescription": "Payroll Message Acknowledgement",
            "OrderingCustomerAccountNumber": "0108061198800019",
            "ValueDate": "20250102",
            "FileSeqNo": "",
            "PayrollReferenceNumber": "98198322",
            "CompanyCode": "125001291"
          }
        ],
        "BankCode": "ALRAJHI"
      }
    ]
  }
},
"Signature": "daMcbZ7RpZu5uQO+4JQKw0DPni2ggvBNx8TT/1IwB+whN8HxIjdkwcvL96ybblvtgnsj7Yc6wH8yUWTn9/jJ84lnqMSdqGWrl3um7WxPput79rgWvD0zXvZyB6rEqIRoiPlCB1TdkSOfyQNcd91JCTv/X7XDXXdNfOoSIydE932k/nonatdzWRBOnMf9zg/FSvWq7TwtnBGH3EtGSE6M3D3sNON1rmjeTu6q6OGjcehxYv/yQqUbjEzRWpRDZSjzATR+Gdxc3kmbRhXX36+Gb2UDVio6YjG/m6OmJrx9NJjuHPA6LfL93btmKom8BI2gYSoSTgdwKOiJl95IQaCyFg=="
}'

Request Description

JSON TagDescriptionData type
OSVPayrollMessageRequest
Mandatory
Root node containing all the payroll payment transaction messagesTag
OSVPayrollStatusRequest
Mandatory
This tag contains enquiry for multiple banks requestsObject
BankCode
Mandatory
Unique bank identification code
Ex: ALRAJHI, SABB, BSF, ANB, NCB, ALINMA, GIB, RIYADH, ALBI, BJAZ, ICICI, HDFC
String
PayrollTransactions
Mandatory
This tag contains details of various payroll transactions for enquiryObject
BankReferenceNumber
Mandatory
Unique bank reference number of the payroll transactionString
MessageDescription
Mandatory
Message details concerned to the specific payroll
Max size of input: 16 Characters
String
OrderingCustomerAccountNumber
Mandatory
Unique bank account details of the ordering customer mentioned in the payroll request
Max size of input: 24 Characters
Alphanumeric
ValueDate
Mandatory
Date of processing of the payroll request
YYYYMMDD
Date
FileSeqNo
Conditional for SNB
Unique file sequence number of the WPS payroll request
4 Digit Number in the format of MMSS
MM - Current month
SS - Sequence of payroll for the month
Numeric
PayrollReferenceNumber
Mandatory
It is a unique reference number generated by the customer for each payroll processing)
Maximum length : 16 numeric characters
Numeric
CompanyCode
Mandatory
Sender company code/Identifier provided by the bankAlphanumeric
Signature
Mandatory
Encrypted string generated using a Private Key/CA-Signed Certificate with SHA-256 and RSA (JCE Signature)String

Sample response

✅ Successful response

{
  "OSVPayrollEnquiryResponse": {
    "BankCode": "ALRAJHI",
    "CompanyCode": "125001291",
    "OSVPayrollStatusResponse": [
      {
        "CompanyCode": "",
        "SequenceNum": "33266800031",
        "PayrollReferenceNumber": "Payroll_Reference_Number",
        "MessageType": "Message",
        "MessageDescription": "Payroll_Message_Acknowledgement",
        "TransferType": "MT100-Payroll",
        "PayrollTransactionAmount": "",
        "TransactionDate": "YYYYMMDD",
        "TotalTransactionCount": "000",
        "GrossAmount": "000.00",
        "ValueDate": "MMDDYYYY",
        "FileSeqNo": "File_Sequence_Number",
        "OrderingCustomerAccountNumber": "Ordering_Customer_Account_Number",
        "OrderingCustomerName": "Ordering_Customer_Name",
        "StatusCode": "SUCCESS",
        "StatusDesc": "Processed Successfully"
      }
    ]
  }
}
{
  "OSVPayrollEnquiryResponse": {
    "BankCode": "ALRAJHI",
    "CompanyCode": "125001291",
    "OSVPayrollStatusResponse": [
      {
        "CompanyCode": "125001291",
        "SequenceNum": "9000002",
        "PayrollReferenceNumber": "9000002",
        "MessageType": "PRRES",
        "MessageDescription": "",
        "TransferType": "MT100-Payroll",
        "PayrollTransactionAmount": "",
        "TransactionDate": "",
        "TotalTransactionCount": "",
        "GrossAmount": "",
        "ValueDate": "",
        "FileSeqNo": "",
        "OrderingCustomerAccountNumber": "",
        "OrderingCustomerName": "1144",
        "StatusCode": "FAILED",
        "StatusDesc": "Amount Mismatch"
      }
    ]
  }
}

Response description

JSON TagDescriptionData type
OSVPayrollEnquiryResponseRoot nodeObject
BankCodeUnique bank identification code of the bank
Ex: ALRAJHI, SABB, BSF, ANB, NCB, ALINMA, GIB, RIYADH, ALBI, BJAZ, ICICI, HDFC
String
OSVPayrollStatusResponseElement root containing response of every payroll transactionsObject/Array
CompanyCodeSender company Code/IdentifierString
SequenceNumValue of “SequenceNum” tag in the request message.
Maximum Length :16 digits numeric
String
PayrollReferenceNumberPayroll Reference NumberString
MessageTypeType of messageString
MessageDescriptionDetails about the responseString
TransferTypeType of transfer (MT-100 Payroll)String
PayrollTransactionAmountTotal amount of the payroll transactionNumeric
TransactionDateDate of the transactionDate
TotalTransactionCountTotal count of transactions in the payrollNumeric
GrossAmountGross amount of the payrollNumeric
ValueDateDate of the payroll processingDate
FileSeqNoUnique file sequence number of the WPS payroll request
4 Digit Number in the format of MMSS
MM - Current month
SS - Sequence of payroll for the month
Numeric
OrderingCustomerAccountNumberUnique account number of the ordering customer mentioned in the payrollAlphanumeric
OrderingCustomerNameName of the ordering customerString
StatusCodeStatus code of the response
SUCCESS- For successfully settled payment
PENDING- For a pending payment
FAILED- For a payment failed processing
String
StatusDetailDetails about the status of the requestString