Post-Payment Enquiry

Fetch updated status of the processed Payouts payments

Introduction

SingleView Post-Payment Enquiry services connect Corporate users via a secure channel and enable them to enquire about the status of their 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.

📘

Important information

This service can be used to verify the status of the following types of payment transactions made by the user:

  • Within own accounts
  • Local payments (SARIE)
  • International payments (SWIFT)

The client needs to initiate a Post-Payment Transaction Enquiry request via the B2B system for the following banks:

  • Al Rajhi Bank
  • Arab National Bank (ANB)
  • Saudi Awwal Bank (SAB)

❗️

Payment enquiry not required

There is no need to initiate a post-payment transaction enquiry request, as the user will receive an instant confirmation for the following banks:

  • Alinma Bank
  • Banque Saudi Fransi (BSF)
  • Saudi National Bank (SNB)
  • Riyad Bank

🌐Domain details

Post-payment Enquiry

Endpoint details

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

Synchronous Method

Sample request

curl --location 'https://sandboxapi.onesingleview.com/api/batch/paymentenquiry' \
--header 'clientsecret: abcdef83643f61c975'
--header 'clientid: zyxvw95cE163C03b7d1'
--header 'CompanyId: MYCOMPANY'
--header 'SVReferenceID: Enter-SV-Reference-Id'
--header 'DateTimeStamp	:2025-01-02T10:20:39'
--header 'Device: Web'
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjoiTDNyMmpxV29JS2I4MTNodDBNMlZ4WGpFZmR6WFNWaTFad3B5QnlkOVpHelZXR2ZwUmFQNUV1TXl6S1Aybi94Y0lwR2V5STNNMkdPL1pqakd4ZG0yclJKUkdhRXlaWGNpWnZnOHArMWIyOGtOQTVkZ0VKajVVSEdiTmtNPSIsImlhdCI6MTczNTgwMTQ3NywiZXhwIjoxNzM1ODA1MDc3fQ.Bh7LFkvxNFrLe9dmH5rURWjGpES-u4z2EGeyrNM7z6E'
--header 'Content-Type: application/json' \
--data '{
"Message": {
  "OSVPaymentMessageRequest": {
    "SVReferenceID": "OSVRefFTIB0000000001",
    "OSVPaymentStatusRequest": [
      {
        "BankCode": "ALRAJHI",
        "MessageType":"SINGLEREQ",
        "Transactions": [
          {
            "SequenceNum": "79878097",
            "CompanyCode": "125001291",
            "TransactionReferenceNumber": "797688999",
            "BankReferenceNumber" : "",
            "PaymentMessageType":"MT100-Others"
          }
        ]
      }
    ]
  }
},
"Signature": "Enter_Signature"
}'

Request description

JSON TagDescriptionData type
Message
Mandatory
Header information (client credentials)Object & Strings
OSVPaymentMessageRequest
Mandatory
Root node containing all the payment enquiry messageObject
OSVPaymentStatusRequest
Mandatory
Tag carrying information on the payment enquiry requestObject
Transactions
Mandatory
Tag carrying information of transactions to be requested for payment enquiryObject
B2BUrn
Mandatory
Unique B2B reference numberString
B2BUserId
Mandatory
Unique B2B user identification detailsString
PaymentMessageType
Mandatory
Details on the payment type to be mentioned as MT100String
CompanyCode
Mandatory
Sender company code or identifier provided by the bank at the time of on-boardingAlphanumeric
TransactionReferenceNumber
Mandatory
Transaction reference number
Maximum length : 16 numeric characters
String
SequenceNum
Mandatory
Sequence number of the transaction
Length of input: 16 characters
Numeric
B2BAggrId
Mandatory
Unique B2B aggregator identification detailsString
BankCode
Mandatory
Unique bank identification code
Ex: ALRAJHI, SABB, BSF, ANB, NCB, ALINMA, GIB, RIYADH, ALBI, BJAZ, ICICI, HDFC
String
MessageType
Mandatory
Details on the type of message request to be mentioned as SINGLEREQString
Signature
Mandatory
Encrypted string generated using a Private Key/CA-Signed Certificate with SHA-256 and RSA (JCE Signature)String

Sample Responses

{
  "OSVPaymentEnquiryResponse": [
    {
      "BankCode": "ALRAJHI",
      "MessageType": "SINGLEREQ",
      "OSVPaymentStatusResponse": [
        {
          "CompanyCode": "125001291",
          "SequenceNum": "79878097",
          "StatusCode": "SUCCESS",
          "StatusDesc": "ReceiptReconSuccess-Transport Receipt Recon is successful",
          "TransactionReferenceNumber": "797688999",
          "FTReferenceNumber": "",
          "BankReferenceNumber": "",
          "TransactionType": "",
          "DebitAccountNo": "",
          "AccountName1": "",
          "DebitCurrency": "",
          "DebitTheirRef": "",
          "CreditTheirRef": "",
          "CreditAccountNo": "",
          "AccountName2": "",
          "CreditCurrency": "",
          "CreditAmount": "",
          "AmountDebited": "",
          "CustomerRate": "",
          "AmountCredited": "",
          "BenCustomer1": "",
          "DebitValueDate": "",
          "CreditValueDate": "",
          "PaymentDetails1": "",
          "PaymentDetails2": "",
          "UniqueId": "",
          "UtrNumber": ""
        }
      ]
    }
  ]
}
{
  "OSVPaymentEnquiryResponse": [
    {
      "BankCode": "ALRAJHI",
      "MessageType": "SINGLEREQ",
      "OSVPaymentStatusResponse": [
        {
          "CompanyCode": "125001291",
          "SequenceNum": "77858797",
          "StatusCode": "PENDING",
          "StatusDesc": "Your Payment file has been accepted, Kindly attempt to do a Payment Inquiry in a few minutes to know the Final status.",
          "TransactionReferenceNumber": "797647499",
          "FTReferenceNumber": "",
          "BankReferenceNumber": "",
          "TransactionType": "",
          "DebitAccountNo": "",
          "AccountName1": "",
          "DebitCurrency": "",
          "DebitTheirRef": "",
          "CreditTheirRef": "",
          "CreditAccountNo": "",
          "AccountName2": "",
          "CreditCurrency": "",
          "CreditAmount": "",
          "AmountDebited": "",
          "CustomerRate": "",
          "AmountCredited": "",
          "BenCustomer1": "",
          "DebitValueDate": "",
          "CreditValueDate": "",
          "PaymentDetails1": "",
          "PaymentDetails2": "",
          "UniqueId": "",
          "UtrNumber": ""
        }
      ]
    }
  ]
}
{
  "OSVPaymentEnquiryResponse": [
    {
      "BankCode": "ALRAJHI",
      "MessageType": "SINGLEREQ",
      "OSVPaymentStatusResponse": [
        {
          "CompanyCode": "125001291",
          "SequenceNum": "79878097",
          "StatusCode": "FAILED",
          "StatusDesc": "No Transaction found in the Requested Reference No.",
          "TransactionReferenceNumber": "79768899",
          "FTReferenceNumber": "",
          "BankReferenceNumber": "",
          "TransactionType": "",
          "DebitAccountNo": "",
          "AccountName1": "",
          "DebitCurrency": "",
          "DebitTheirRef": "",
          "CreditTheirRef": "",
          "CreditAccountNo": "",
          "AccountName2": "",
          "CreditCurrency": "",
          "CreditAmount": "",
          "AmountDebited": "",
          "CustomerRate": "",
          "AmountCredited": "",
          "BenCustomer1": "",
          "DebitValueDate": "",
          "CreditValueDate": "",
          "PaymentDetails1": "",
          "PaymentDetails2": "",
          "UniqueId": "",
          "UtrNumber": ""
        }
      ]
    }
  ]
}

Responses description

JSON TagDescriptionData type
OSVPaymentEnquiryResponseRoot nodeObject
MessageTypeType of message response indicated as SINGLEREQString
OSVPaymentStatusResponseElement root containing response of every bank transactionObject
CompanyCodeSender company Code/IdentifierAlphanumeric
SequenceNumValue of “SequenceNum” tag in the request messageNumerical
StatusCodeStatus code of the response
SUCCESS- For successfully settled payment
PENDING- For a pending payment
FAILED- For a payment failed processing
String
StatusDescStatus description of the responseString
TransactionReferenceNumberUnique number representing the transactionsAlphanumeric
FTReferenceNumberFile Reference NumberString
BankReferenceNumberBank Reference NumberString
TransactionTypeTransaction TypeString
DebitAccountNoDebit Account NumberString
AccountName1Account Name 1String
DebitCurrencyDebit CurrencyString
DebitTheirRefDebit Their ReferenceString
CreditTheirRefCredit Their ReferenceString
CreditAccountNoCredit Account NumberString
AccountName2Account Name 2String
CreditCurrencyCredit CurrencyString
CreditAmountCredit AmountString
AmountDebitedAmount DebitedString
CustomerRateCustomer RateString
AmountCreditedAmount CreditedString
BenCustomer1Beneficiary Customer 1String
DebitValueDateDebit Value DateString
CreditValueDateCredit Value DateString
PaymentDetails1Payment Details 1String
PaymentDetails2Payment Details 2String
UniqueIdUnique identification detailsString
UtrNumberUnique transaction reference numberString

Asynchronous Method

Sample request

curl --location 'https://sandboxapi.onesingleview.com/api/batch/paymentenquiry' \
--header 'clientsecret: Enter-Client-Secret' \
--header 'clientid: Enter-Client-Id' \
--header 'SVReferenceID: Enter-SV-Reference-Id' \
--header 'Device: Device-type' \
--header 'DateTimeStamp: YYYY-MM-DDTHH:MM:SS' \
--header 'CompanyId: Enter-Company-Id' \
--header 'BaseCurrency: SAR' \
--header 'Authorization: Bearer <Enter-Token>' \
--header 'Content-Type: application/json' \
--data '{
"Message":
{
  "OSVPaymentMessageRequest": {
    "SVReferenceID": "OSVRefFTIB0000000001",
    "OSVPaymentStatusRequest": [
      {
        "BankCode": "ALRAJHI",
        "MessageType":"SINGLEREQ",
        "Transactions": [
          {
            "SequenceNum": "77858797",
            "CompanyCode": "125001291",
            "TransactionReferenceNumber": "797647499",
            "BankReferenceNumber" : "",
            "PaymentMessageType":"MT100-Others"
          }
        ]
      },
      {
        "BankCode": "RIYADH",
        "MessageType": "SINGLEREQ",
        "Transactions": [
          {
            "CompanyCode": "FIFC001",
            "SequenceNum": "88371630061",
            "TransactionReferenceNumber": "5410077",
            "B2BUserId": "",
            "BulkToSingle": true
          }
        ]
      }
    ]
  }
},
"Signature": "Enter_Signature_String"
}

Request description

JSON TagDescriptionData type
Message
Mandatory
Header information (client credentials)Object & Strings
OSVPaymentenquiryRequest
Mandatory
Root node containing all the payment enquiry messagesObject
OSVPaymentStatusRequest
Mandatory
This tag contains multiple banks payment requestsObject
BankCode
Mandatory
Unique bank identification code
Ex: ALRAJHI, SABB, BSF, ANB, NCB, ALINMA, GIB, RIYADH, ALBI, BJAZ, ICICI, HDFC
Alphabet
Transactions
Mandatory
Tag containing the payment status detailsArray
CompanyCode
Mandatory
Sender company code or identifier provided by the bank at the time of on-boardingAlphanumeric
SequenceNum
Mandatory
Unique sequence number of each transaction
Length of input: 16 characters
String
TransactionReferenceNumber
Mandatory
Unique reference number representing the transactions
Maximum length: 16 characters
String
Signature
Mandatory
Encrypted string obtained by processing request body with Private Key/Certificate through SHA-256 with RSA Algorithm (Crypto : JCE Sign)String

Sample Responses

{
  "OSVPaymentEnquiryResponse": [
    {
      "BankCode": "ALRAJHI",
      "MessageType": "SINGLEREQ",
      "OSVPaymentStatusResponse": [
        {
          "CompanyCode": "125001291",
          "SequenceNum": "79878097",
          "StatusCode": "SUCCESS",
          "StatusDesc": "ReceiptReconSuccess-Transport Receipt Recon is successful",
          "TransactionReferenceNumber": "797688999",
          "FTReferenceNumber": "",
          "BankReferenceNumber": "",
          "TransactionType": "",
          "DebitAccountNo": "",
          "AccountName1": "",
          "DebitCurrency": "",
          "DebitTheirRef": "",
          "CreditTheirRef": "",
          "CreditAccountNo": "",
          "AccountName2": "",
          "CreditCurrency": "",
          "CreditAmount": "",
          "AmountDebited": "",
          "CustomerRate": "",
          "AmountCredited": "",
          "BenCustomer1": "",
          "DebitValueDate": "",
          "CreditValueDate": "",
          "PaymentDetails1": "",
          "PaymentDetails2": "",
          "UniqueId": "",
          "UtrNumber": ""
        }
      ]
    },
    {
      "CompanyCode": "FIFC001",
      "SequenceNum": "88371630061",
      "StatusCode": "SUCCESS",
      "StatusDesc": "ReceiptReconSuccess-Transport Receipt Recon is successful",
      "TransactionReferenceNumber": "5410077",
      "FTReferenceNumber": "",
      "BankReferenceNumber": "",
      "TransactionType": "",
      "DebitAccountNo": "",
      "AccountName1": "",
      "DebitCurrency": "",
      "DebitTheirRef": "",
      "CreditTheirRef": "",
      "CreditAccountNo": "",
      "AccountName2": "",
      "CreditCurrency": "",
      "CreditAmount": "",
      "AmountDebited": "",
      "CustomerRate": "",
      "AmountCredited": "",
      "BenCustomer1": "",
      "DebitValueDate": "",
      "CreditValueDate": "",
      "PaymentDetails1": "",
      "PaymentDetails2": "",
      "UniqueId": "",
      "UtrNumber": ""
    }
  ]
}
{
  "OSVPaymentEnquiryResponse": [
    {
      "BankCode": "ALRAJHI",
      "MessageType": "SINGLEREQ",
      "OSVPaymentStatusResponse": [
        {
          "CompanyCode": "125001291",
          "SequenceNum": "77858797",
          "StatusCode": "PENDING",
          "StatusDesc": "Your Payment file has been accepted, Kindly attempt to do a Payment Inquiry in a few minutes to know the Final status.",
          "TransactionReferenceNumber": "797647499",
          "FTReferenceNumber": "",
          "BankReferenceNumber": "",
          "TransactionType": "",
          "DebitAccountNo": "",
          "AccountName1": "",
          "DebitCurrency": "",
          "DebitTheirRef": "",
          "CreditTheirRef": "",
          "CreditAccountNo": "",
          "AccountName2": "",
          "CreditCurrency": "",
          "CreditAmount": "",
          "AmountDebited": "",
          "CustomerRate": "",
          "AmountCredited": "",
          "BenCustomer1": "",
          "DebitValueDate": "",
          "CreditValueDate": "",
          "PaymentDetails1": "",
          "PaymentDetails2": "",
          "UniqueId": "",
          "UtrNumber": ""
        }
      ]
    },
    {
      "CompanyCode": "FIFC001",
      "SequenceNum": "88371630061",
      "StatusCode": "PENDING",
      "StatusDesc": "Your Payment file has been accepted, Kindly attempt to do a Payment Inquiry in a few minutes to know the Final status.",
      "TransactionReferenceNumber": "5410077",
      "FTReferenceNumber": "",
      "BankReferenceNumber": "",
      "TransactionType": "",
      "DebitAccountNo": "",
      "AccountName1": "",
      "DebitCurrency": "",
      "DebitTheirRef": "",
      "CreditTheirRef": "",
      "CreditAccountNo": "",
      "AccountName2": "",
      "CreditCurrency": "",
      "CreditAmount": "",
      "AmountDebited": "",
      "CustomerRate": "",
      "AmountCredited": "",
      "BenCustomer1": "",
      "DebitValueDate": "",
      "CreditValueDate": "",
      "PaymentDetails1": "",
      "PaymentDetails2": "",
      "UniqueId": "",
      "UtrNumber": ""
    }
  ]
}
{
  "OSVPaymentEnquiryResponse": [
    {
      "BankCode": "ALRAJHI",
      "MessageType": "SINGLEREQ",
      "OSVPaymentStatusResponse": [
        {
          "CompanyCode": "125001291",
          "SequenceNum": "79878097",
          "StatusCode": "FAILED",
          "StatusDesc": "No Transaction found in the Requested Reference No.",
          "TransactionReferenceNumber": "79768899",
          "FTReferenceNumber": "",
          "BankReferenceNumber": "",
          "TransactionType": "",
          "DebitAccountNo": "",
          "AccountName1": "",
          "DebitCurrency": "",
          "DebitTheirRef": "",
          "CreditTheirRef": "",
          "CreditAccountNo": "",
          "AccountName2": "",
          "CreditCurrency": "",
          "CreditAmount": "",
          "AmountDebited": "",
          "CustomerRate": "",
          "AmountCredited": "",
          "BenCustomer1": "",
          "DebitValueDate": "",
          "CreditValueDate": "",
          "PaymentDetails1": "",
          "PaymentDetails2": "",
          "UniqueId": "",
          "UtrNumber": ""
        }
      ]
    },
    {
      "CompanyCode": "FIFC001",
      "SequenceNum": "88371630061",
      "StatusCode": "FAILED",
      "StatusDesc": "No Transaction found in the Requested Reference No.",
      "TransactionReferenceNumber": "5410077",
      "FTReferenceNumber": "",
      "BankReferenceNumber": "",
      "TransactionType": "",
      "DebitAccountNo": "",
      "AccountName1": "",
      "DebitCurrency": "",
      "DebitTheirRef": "",
      "CreditTheirRef": "",
      "CreditAccountNo": "",
      "AccountName2": "",
      "CreditCurrency": "",
      "CreditAmount": "",
      "AmountDebited": "",
      "CustomerRate": "",
      "AmountCredited": "",
      "BenCustomer1": "",
      "DebitValueDate": "",
      "CreditValueDate": "",
      "PaymentDetails1": "",
      "PaymentDetails2": "",
      "UniqueId": "",
      "UtrNumber": ""
    }

  ]
}

Responses description

JSON TagDescriptionData type
OSVPaymentEnquiryResponseRoot nodeObject
OSVPaymentStatusResponseElement root containing response of every bank transactionObject
BankCodeUnique bank identification code
Ex: ALRAJHI, SABB, BSF, ANB, NCB, ALINMA, GIB, RIYADH, ALBI, BJAZ, ICICI, HDFC
String
TransactionStatusThis tag contains the status of the paymentsString
CompanyCodeSender company Code/IdentifierString
SequenceNumUnique sequence number of the payment transactionString
TransactionReferenceNumberUnique reference number representing the transactionsString
FTReferenceNumberFile Reference NumberString
BankReferenceNumberBank Reference NumberString
TransactionTypeTransaction TypeString
DebitAccountNoDebit Account NumberString
AccountName1Account Name 1String
DebitCurrencyDebit CurrencyString
DebitTheirRefDebit Their ReferenceString
CreditTheirRefCredit Their ReferenceString
CreditAccountNoCredit Account NumberString
AccountName2Account Name 2String
CreditCurrencyCredit CurrencyString
CreditAmountCredit AmountString
AmountDebitedAmount DebitedString
CustomerRateCustomer RateString
AmountCreditedAmount CreditedString
BenCustomer1Beneficiary Customer 1String
DebitValueDateDebit Value DateString
CreditValueDateCredit Value DateString
PaymentDetails1Payment Details 1String
PaymentDetails2Payment Details 2String
StatusCodeStatus code of the response
SUCCESS- For successfully settled payment
PENDING- For a pending payment
FAILED- For a payment failed processing
String
StatusDescStatus description of the responseString