Single Payment

Make a single payment through Payouts API

SingleView Payouts API services allow a single payment facility to interact through JSON requests and responses. The request is posted in a format specified for the concerned end-point. Based on the validity of the request, SingleView Payouts API processes the request and reflects a response accordingly. The authentication process involves additional identification parameters to ensure the best way to authorize the payment request.

📘

Mandatory information

  • The user must provide the valid credentials in the header
  • Encrypted and valid Signature and an active "Access Token"
  • Request format as specified with all the mandatory details with appropriate request tags

🌐Domain details

Make a single payment

Endpoint details

Endpoint URLMethodAuthentication requirements
/api/v1/payment/fundtransfer?transferType=POST1/. clientid (Optional)
2. clientsecret (Optional)
3. SVReferenceID
4. Device
5. DateTimeStamp
6. CompanyId
7. Authroization: Bearer (Token)
8. Signature
transferTypeQuery Parameter1. Same Bank : interbank
2. Local Bank: sarie
3. International : swift

Sample request

curl --location 'https://sandboxapi.onesingleview.com/api/v1/payment/fundtransfer?transferType=interbank' \
--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 '{
"OSVPaymentMessageRequest": {
  "TransactionType": "MT100",
  "OSVPaymentTransactionRequest": [
    {
      "BankCode": "ALRAJHI",
      "TransactionReferenceNumber": "797687499",
      "TransactionDescription": "2222222",
      "BulkToSingle": true,
      "TransactionData": [
        {
          "CompanyCode": "125001291",
          "SequenceNum": "77858297",
          "B2BAggrId": "CUST0348",
          "B2BName": "",
          "B2BUserId": "",
          "B2BCRN": "2020050501",
          "B2BUrn": "",
          "DateCurrencyAmount": {
            "Date": "250116",
            "Currency": "SAR",
            "Amount": "12"
          },
          "OrderingCustomerNameAddress": {
            "OrderingCustomerName": "Susanta Patra",
            "OrderingCustomerAdd1": "Head Off P.O Box 66674",
            "OrderingCustomerAdd2": " Riyadh",
            "OrderingCustomerAdd3": "Saudi Arabia"
          },
          "OrderingInstitution": "RJHISARI",
          "OrderingCustomerAccountNumber": "204000010006085129123",
          "OrderingCustomerIBAN": "204000010006085129123",
          "OrderingCurrency": "SAR",
          "BeneficiaryAccountWithInstitutionBIC": "RJHIKWK0",
          "BeneficiaryAccountNumberNameAddress": {
            "BeneficiaryAccount": "SA8780071050000000015966",
            "BeneficiaryName": "WITHIN NCB- ABDUL- RIYADH BANK",
            "BeneficiaryADD1": "Trade Finance Center",
            "BeneficiaryADD2": "Al Rabie Dist Riyadh Saudi Arabia",
            "BeneficiaryADD3": "Riyadh Saudi Arabia"
          },
          "PurposeOfRemittance": "01",
          "DetailsOfCharge": "SHA",
          "AdditionalDetails": "",
          "TransactionComment": "2222",
          "TransferType": "sarie"
        }
      ]
    }
  ]
}
},
"Signature": "Enter_Signature_String"
}'

Request Description

JSON TagDescriptionData type
Message
Mandatory
Header information (client credentials)Object
OSVPaymentMessageRequest
Mandatory
Root node containing all the payment transaction messagesObject
TransactionType
Mandatory
To be always mentioned as MT100Alphanumeric
OSVPaymentTransactionRequest
Mandatory
This tag contains multiple banks requestsObject
BankCode
Mandatory
Unique bank identification code
Ex: ALRAJHI, SABB, BSF, ANB, NCB, ALINMA, GIB, RIYADH, ALBI, BJAZ, ICICI, HDFC
Alphanumeric
TransactionReferenceNumber
Mandatory
It is a unique reference number generated by the customer for each transaction)
Maximum length : 16 numeric characters
Numeric
TransactionDescription
Mandatory
Payment Description
Maximum length : 35 characters
String
BulkToSingle
Optional
Boolean indication of payment type (Bulk/Single)Boolean (True/False)
TransactionData
Mandatory
This tag contains the payment detailsArray
CompanyCode
Mandatory
Sender company code/Identifier provided by the bankAlphanumeric
SequenceNum
Mandatory
Unique number representing each transaction
Length of input: 16 characters
Numeric
B2BAggrId
Conditional
Unique B2B aggregator identification details. Mandatory only for ICICI Bank.Alphanumeric
B2BName
Conditional
Unique B2B name. Mandatory only for ICICI Bank.Alphabet
B2BUserId
Conditional
Unique B2B user identification details. Mandatory only for ICICI Bank.Alphanumeric
B2BUrn
Conditional
Unique B2B URN. Mandatory only for ICICI Bank.String
B2BCRN
Conditional
Unique Identity for Client Will be provided by Al Rajhi Bank. Mandatory only for Al Rajhi Bank.String
DateCurrencyAmount
Mandatory
Element root containing details of Date, Currency and AmountObject
Date
Mandatory
Value date
Transactions will be performed on this date.
Date must be expressed as YYMMDD
Maximum length : 6 numeric characters
Date
Currency
Mandatory
This is the currency code used in the transaction.
Length of input: 3 characters
Alphabetic
Amount
Mandatory
This is the amount used in the transactionNumeric
OrderingCustomerNameAddress
Mandatory
Element root containing details of Ordering customerObject
OrderingCustomerName
Mandatory
Ordering Customer’s Name
Input size:
Min - 3 Characters
Max - 35 Characters
Alphabet
OrderingCustomerAdd1
Mandatory
Ordering Customer’s Address Line 1
Input size:
Min - 3 Characters
Max - 35 Characters
String
OrderingCustomerAdd2
Mandatory
Ordering Customer’s Address Line 2 ( city to be mentioned)
Input size:
Min - 3 Characters
Max - 35 Characters
String
OrderingCustomerAdd3
Mandatory
Ordering Customer’s Address Line 3
Input size:
Min - 3 Characters
Max - 35 Characters
String
OrderingInstitution
Mandatory
Ordering Institution
Ex: SABBSARI, RJHISARI
Maximum length: 8 or 11 characters
Alphanumeric
OrderingCustomerAccountNumber
Mandatory
Ordering Customer’s account number (Any one is mandate Account Number or IBAN Number)
Input size:
Min - 11 Characters
Max - 24 Characters
Alphanumeric
OrderingCustomerIBAN
Mandatory
Ordering Customer’s IBAN number (Any one is mandate Account Number or IBAN Number)Alphanumeric
OrderingCurrency
Mandatory
This is the currency code used in the transaction.
Maximum length : 3 digit currency code
Alphabet
BeneficiaryAccountWithInstitutionBIC
Mandatory
Beneficiary BIC Code
Ex: SABBSARI, RJHISARI
Maximum length: 8 or 11 characters
Alphanumeric
BeneficiaryAccountNumberNameAddress
Mandatory
Element root containing details of the beneficiary Object
BeneficiaryAccount
Mandatory
Beneficiary Customer’s account number
Input size:
Min - 11 Characters
Max - 24 Characters
String
BeneficiaryName
Mandatory
Beneficiary Name
Input size:
Min - 3 Characters
Max - 35 Characters
Alphabetic
BeneficiaryADD1
Mandatory
Beneficiary Address Line 1
Input size:
Min - 3 Characters
Max - 35 Characters
String
BeneficiaryADD2
Mandatory
Beneficiary Address Line 2 ( city to be mentioned)
Input size:
Min - 3 Characters
Max - 35 Characters
String
BeneficiaryADD3
Mandatory
Beneficiary Address Line 3
Input size:
Min - 3 Characters
Max - 35 Characters
String
PurposeOfRemittance
Mandatory
Code representing the purpose of remittanceNumeric
DetailsOfCharge
Mandatory
Always should be SHAAlphabet
AdditionalDetails
Mandatory
Additional details
Max size of input: 35 Characters
String
TransactionComment
Mandatory
Additional comments for the payments
Max size of input: 35 Characters
String
TransferType
Mandatory
Same Bank : interbank,
Local Bank: sarie,
International : swift
Alphabet
Signature
Mandatory
Encrypted string generated using a Private Key/CA-Signed Certificate with SHA-256 and RSA (JCE Signature)String

Sample response

✅ Successful response

{
  "OSVPaymentMessageResponse": {
    "OSVPaymentTransactionResponse": [
      {
        "BankCode": "ALRAJHI",
        "BankReferenceNumber": "",
        "TransactionReferenceNumber": "797687499",
        "TransactionData": [
          {
            "CompanyCode": "125001291",
            "SequenceNum": "77858297",
            "StatusCode": "OK",
            "StatusDetail": "Your Payment file has been accepted, Kindly attempt to do a Payment Inquiry in a few minutes to know the Final status."
          }
        ]
      }
    ]
  }
}

Response description

JSON TagDescriptionData type
OSVPaymentMessageResponseRoot nodeObject
OSVPaymentTransactionResponseElement root containing response of every bank transactionsObject/Array
BankCodeUnique bank identification code
Ex: ALRAJHI, SABB, BSF, ANB, NCB, ALINMA, GIB, RIYADH, ALBI, BJAZ, ICICI, HDFC
String
BankReferenceNumberBank Reference NumberString
TransactionReferenceNumberIt is a unique reference number generated by the customer by the time of transaction)String
TransactionDataThis tag contains the status of the paymentsString
CompanyCodeSender company Code/IdentifierString
SequenceNumUnique sequence number of the transactionString
StatusCodeCode representing status of the request
OK
FAILED
ONHOLD
Alphabet
StatusDetailDetails about the status of the request
OK - Your Payment file has been accepted, Kindly attempt to do a Payment Inquiry in a few minutes to know the Final status.
FAILED - Invalid Account number, Exceed Daily Limit, Account Restricted, Connectivity Error
ONHOLD - Timeout accessing the server. Please retry.
String