Getting Started

At PayRiff, we offer a one-stop-shop to manage your online payments. Enjoy an entire ecosystem of customised online payment solutions to operate your business securely.


  • Sign up

    To register, you need to click on the link Sign up, filling out all the forms you will get to the activation page.

  • Activation

    As soon as you create a PayRiff account, you can begin interacting with it in test mode after activating your account by Phone verification. Therefore, to start accepting payments from customers, you must first create a Personal or Business account. All of PayRiff’s features are available in test mode, though no live charges can be made.

  • Connect

    After registering and activating the account, in order to start integration, you need to create a link or a merchant account by going to the Connect Page and clicking choose or create merchant.

    • Personal

      If you don't have your own company or tax id, PayRiff creates an impeccable chance for you to get a one-time payment.

      addYourFinCode
      agreement
      verification
      withdrawalMethod
    • Business

      Owing to this opportunity, you can process limitless payments by creating a merchant account. Payriff also gives a fantastic chance to you in order to create multiple numbers of applications by utilising companies.

      addYourFinCode
      companyDetails
      creditCard
      bankDetails

Connect & Production

Set up your account and Dashboard to work for your business


Personal

If you choose Personal and connected, you are already on the production.

Business

In order for your application to be transferred to Online status, you should read and sign the contract. Then, the status of the application will alter from development to online. If you want to switch to production before, you should fill in one payment method, attach a card or details of bank account. Besides, you can easily download one copy of the signed contract. Although now you can receive money and check that the application’s status is online, you can withdraw money 24 hours after the first application is created.

addYourFinCode




Extra Features

The Dashboard is organized by the most common workflows used to manage your business. For example, the Transactions' section includes everything you need to manage the flow of money in and out of your account.

In many cases, you can use the Dashboard to perform specific actions, such as refunding a payment or canceling a subscription, without needing to use the API—making the Dashboard a useful tool for running your business.


Dashboard

The PayRiff Dashboard is a feature-rich user interface for you to operate and configure your PayRiff account. You can use it to manage payments and refunds, respond to dispute, monitor your integration, and more.

Home provides useful at-a-glance information about the activity on your account. A wide range of analytics and real-time charts provide insight into the performance of your business. Home also shows recent activity that may require you to take action, such as unanswered disputes or identity verifications.

PayRiff.az

Transactions

Transactions section includes everything you need to manage the flow of money in and out of your account. You can use the transactions to perform specific actions, such as refunding a payment or canceling a subscription, without needing to use the API.

Payriff.az

Creating reports and searches

All of your transactional data can be filtered and exported as reports in CSV format. You can also download the report. The Dashboard search can be used to find specific information using search terms and operators, find a specific payment using the customer’s email address or the last four digits of their card number to narrow down the number of results.


Transactions status
Parameter Description
CREATED Indicates that the operation has been created.
APPROVED Successful payment.
CANCELED After canceled payment, the forwarding address
DECLINED The operation was refused.
REFUNDED The funds were returned.
PREAUTH_APPROVED Confirmation of pre-authorization is reported.
EXPIRED Indicates that the payment page has expired.
REVERSE Reverse payment has been made.
PARTIAL_REFUND A partial reversal operation occurred.

Refund

You can refund charges made to your account, either in whole or in part. Refunds use your available PayRiff balance—this doesn’t include any pending balance. If your available balance doesn’t cover the amount of the refund, PayRiff debits the remaining amount from your bank account.

*If PayRiff can’t debit the remaining amount from your bank account, your refunds may go into a pending status until you add funds to your PayRiff balance. You can view a list of all your pending refunds in the Dashboard. If the original charge underwent currency conversion, the refunded amount converts back using the same process. There are no fees to refund a charge, but the fees from the original charge aren’t returned.

Refunds can be issued via the API or the Dashboard and are processed immediately. Once issued, a refund cannot be canceled.

Using the Dashboard
To refund a payment via the Dashboard:
  1. Find the payment to be refunded in the payments overview page Transactions.
  2. Click the button Refund to the right of the charge.
  3. By default, you will issue a full refund. For a partial refund, enter a different amount to be refunded.
  4. Click Refund.

Online Invoicing

With PayRiff, you can send invoices online to your customers through the click of a button even if you don’t have a website. Accept instant payments from your customers via credit or debit card with our online invoicing solution.

This guide describes how to create an invoice and collect payment. You can also use them as a tool to collect payment. Businesses that aren’t subscription based but still need to send invoices to their customers commonly use one-off invoices. For example, a consulting business might send invoices for the time and resources that each consultation uses.

PayRiff.az

To create an invoice in the PayRiff Dashboard:
  1. Navigate to the Create an invoice page.
  2. Fill out the Customer details, Payment details, and Payment settings fields and click Save.
  3. Verify the email address, but you can modify it if you want to use a test email address.
  4. Navigate to the Invoices page and click Send Invoice.

PayRiff.az

Customer notification via SMS:

PayRiff.az

Customer notification via Email:

PayRiff.az

The PayRiff Dashboard is the most common way to create one-off invoices but you can automate this process if you integrate with the API.


Recurring Payments

Easily manage the entire customer lifecycle from accepting recurring payments to managing customer subscriptions.


cardSave

POST

                                                

{
  "body": {
    "amount": 4,
    "approveURL": "https://payriff.com/approve",
    "cancelURL": "https://payriff.com/cancel",
    "declineURL": "https://payriff.com/decline",
    "currencyType": "AZN",
    "description": "Card save description",
    "directPay": true,
    "language": "AZ"
  },
  "merchant": "ES10901XX"
}

                                                
                                            
                                                
                  {
                  "code": "string",
                  "internalMessage": "string",
                  "message": "string",
                  "payload": {
                    "orderId": "string",
                    "paymentUrl": "string",
                    "sessionId": "string"
                    }
                  }
                                                
                                            


Parameter Description
amount Payment amount to block
approveURL After successful payment, the forwarding address.
cancelURL After canceled payment, the forwarding address
declineURL After declined payment, the forwarding address
currencyType Currency of payment (AZN, USD, EUR)
description Payment description for customer
language Payment page language (AZ, EN, RU)
merchant Your unique merchant number

*If the parameters approveUrl, cancelUrl, declineUrl are left blank, then we will automatically redirect to Success, Cancel, Decline

Using this method, you can save a credit card during the payment process so that you can use it in further automatic operations.

You first need to make some payment using this method, if the transaction was successful, we return a POST request for approveURL, parameter cardUuid, you can save it in the database, and then later using the autoPay method, set the request parameter to thecardUuidparameter and payment will be made, with a saved customer card.

                                                
   {
     "code": "string",
     "internalMessage": "string",
     "message": "string",
     "payload":  {
               "orderID": "11154555",
               "sessionID":"75B00D99650XXXXXXXXXXXXXAEB8",
               "transactionType": "",
               "purchaseAmount": "1",
               "currency": "840",
               "tranDateTime": "11/11/2020 17:00:19",
               "responseCode": "001",
               "responseDescription": "Approved, no balances available",
               "brand": "VISA",
               "orderStatus": "APPROVED",
               "approvalCode": "325111 A",
               "acqFee": "0",
               "orderDescription": "Item description",
               "approvalCodeScr": "335111",
               "purchaseAmountScr": "0.01",
               "currencyScr": "USD",
               "orderStatusScr": "TƏSDİQLƏNİB",
               "cardRegistrationResponse": "",
               "rrn": "259990XX7X",
               "pan": "416973XXXXXX5555",
               "cardHolderName": "",
               "cardUID": "42EDEXXXXXXXXXX80D70050XXXXX4BCX"
      }
    }



                                                
                                            

E-commerce Plugins

Integrate PayRiff with popular e-commerce platforms via our payment plugins. Ready-made plugins for popular shopping carts platforms. You can download by clicking below.

Opencart V3
WooCommerce V3

Google Pay ™

Accept payments without entering card details.

Google Pay™ is a digital wallet, which enables simple and fast card payments, without the need to enter the card data for each payment. The card data is safely stored by Google. This payment method is available for all devices (mobile phones and computers), irrespective of the operating system and web browser.
In case of Google Pay usage, Acceptor is obligated to comply with the provisions of the following regulations

Note: The description below applies to provision of this service directly by displaying the Google Pay lightbox at the website of payment recipient (e-store) or in the mobile application. If you wish to offer this method via Payriff hosted payment page, no additional integration effort is required.

Authorization Methods

  • PAN_ONLY
  • CRYPTOGRAM_3DS
The authorization methods allowed with GooglePay ™ are by card and by 3D Secure cryptogram. For more information about the authorized authorization methods consult the official Google ™ documentation.

Accepted Cards

The cards that are allowed for these payment methods are:
  • VISA
  • MASTERCARD

Web integration

To integrate the website with the Google Pay method, proceed according to the instructions placed at this website:

The gateway parameter in the script should have the constant value of payriff, according to the example below:

const tokenizationSpecification = {
    type: 'PAYMENT_GATEWAY',
    parameters: {
            'gateway': 'payriff',
            'gatewayMerchantId': 'merchant id(ex.: ES1234567)'
         }
};

The value of the gatewayMerchantId parameter should be the identifier of the payment point where the order is made.

Please note that Payriff as the processor of Google Pay payments enables the handling of all types of payment cards issued by the Visa and MasterCard organizations (including Maestro). This implies the following configuration of the Google script:

const allowedCardNetworks = ['MASTERCARD', 'VISA'];
const allowedCardAuthMethods = ['PAN_ONLY', 'CRYPTOGRAM_3DS'];

In response, Google shall return the PaymentData item, and the field paymentMethodData.tokenizationData.token shall contain a safely encrypted Google Pay Token (a string of characters).

A sample Google Pay Token looks like this:

{
 "signature" : "XRUAQQDY3wBQyHB4sZcktRoJXKxm+OLcjHzCvdDeGn23oX0kkwIgKznRFZZL+sAMv1b5cuD+YurXMZraYMsr9hbravVY5Ro\u003d",
 "protocolVersion" : "ECv1",
 "signedMessage": "{\"encryptedMessage\":\"rI97aLwfbLHyCFnMMCVWcTHw3xhYIK+CEnuQ74K+nlLpCgOlfpScib9jds4sxDtN6CunCqCSMfd/3yHeeRy6aCx1yyqcT4ey6NueeBznprJpkmVVgI1JHWLQt4hzAXMUAcYASYLOabKP9fUZvHkOBDytD531jpzNXa+Spc/zrpGzFKx2C4VU9sC95q9i+ey+kr7ZMNVCOFJPWXu7lKZ105IOOqozJ6/70MKmxP3jM89eeq+/19QnyHjQLXfnQPvQjiUJKGCcRKDLlrb3XoY5ZUUzGfN5eZCLzCVg0hWEbwU+6J7KWYJyW+Wr1r8bagN9zWsrMKhDpsQbHfyzb+yBzFUoxeUgL4a7FeVvEllIcHtqsvTCf6FENV20aF5VLDv5qzUkV+PzTAIbFEuabA0God9UbVCVVv7nM8QFzvRPhzYYFVFTn4JHvL2qZ4pAR9lE+w\\u003d\\u003d\",\"ephemeralPublicKey\":\"BPHLC4sBHpenY1M0ixmiDMuWJTaTJOqggRUwtgBJMcBp28VsxHD7zPI7985x4F5EjMP5y8j/cuUzbe/cGPjOKGk\\u003d\",\"tag\":\"RaXrPOUuc5iw3oxDa0C2MOjaKxgxIRQvwOspmtFV0zU\\u003d\"}"
}

Android integration

To integrate the mobile application with the Google Pay method, proceed according to the instructions placed at this website:

Error codes in Google Pay

List of standard errors returned by Google Pay lightbox can be found on the Google Developers site.

In addition following errors may occur:

StatusCode CodeLiteral Code Description
ERROR_VALUE_INVALID GOOGLE_PAY_CLIENT_ERROR 8322 Validation error.
Google Pay token was created for different merchant id.
Merchant ID used in createOrder and in the gatewayMerchantId field must match.

PaymentsError

This object contains details about errors returned by client JavaScript methods. Errors might not be displayed in a user-facing dialog.

Property Description
statusCode Short code that describes the type of error.
statusMessage Developer-facing message that describes the error encountered and possible steps to correct it.

Common errors

This object displays errors that you might encounter across all JavaScript methods. Be sure to check the developer console for additional error messages.

Status Code Description
BUYER_ACCOUNT_ERROR The current Google user is unable to provide payment information.
DEVELOPER_ERROR

A passed parameter is improperly formatted. An error message may appear in the browser console for all configured environments.

MERCHANT_ACCOUNT_ERROR

The site accessing the Google Pay API does not have the right permission. This could be due to either an incorrect configuration or an incorrect merchant identifier set in the request. Check the statusMessage field for more details. If you continue to have trouble, please contact support.

INTERNAL_ERROR General server error.

Gateway API

The Developers section of the Dashboard provides you with useful information about of integration. You can view Gateway APIs.


Authorization

First, get your unique merchant secret key from Applications page, and include the merchant secret key in Header as value for the Authorization variable

Header example
Authorization: [SECRET_KEY]
Base URL - Gateway API V2
https://api.payriff.com/api/v2/{method_name}
Base URL - Gateway API V3
https://api.payriff.com/api/v3/{method_name}

Gateway API V2


autoPay

POST

                                                
{
    "body": {
      "amount": number,
      "approveURL": string,
      "cancelURL": string,
      "declineURL": string,
      "cardUuid": string,
      "description": string,
        "orderId": string,
      "sessionId": string
    },
    "merchant": string
}
                                                
                                            
                                                
{
  "code": "string",
  "internalMessage": "string",
  "message": "string"
}
                                                
                                            


Parameter Description
amount Payment amount
cardUuid Unique id credit card payment for automatic payment. If you want to save card payment details. You can get it using the cardSave method.
merchant Your unique merchant number

orderID / sessionId - Normally no change is made. If a request is sent and preAuth / createOrder request is received by this method, in addition, if we want to complete the payment without going to the payment page, the sent orderID / sessionID is recorded.

Post / Get request ----> After successful payment the Post request is sent covering all data about payment, Following this, GET request will open the corresponding page (success, cancel, decline)

Using this method, you can make an automatic payment using a cardUuid.

To use this method, you first need to make some payment using the cardSave method, and get a cardUuid parameter.


invoices

http://api.payriff.com/api/v2/invoices

POST

                                                
{
  "body": {
    "amount":0.02,
     "approveURL": "string",
    "cancelURL": "string",
    "currencyType": "AZN",
    "customMessage": "string",
    "declineURL": "string",
    "description": "string",
    "email": "string",
    "expireDate": "2021-12-14T11:30:17.600Z",
    "fullName": "string",
    "installmentPeriod": 0,
    "installmentProductType": "BIRKART",
    "languageType": "AZ",
    "phoneNumber": "string",
    "sendSms": true,
    "sendWhatsapp" : true,
    "sendEmail": true,
    "amountDynamic" : false,
    "directPay" : true
  },
  "merchant": "string"
}
                                                
                                            
                                                
{
    "code": "00000",
    "message": "Operation performed successfully",
    "route": "dashboard/main",
    "internalMessage": null,
    "payload": {
        "id": 12,
        "merchantId": "ES109000",
        "amount": 10,
        "payriffAmount": null,
        "payriffFixedFeeAmount": null,
        "payriffFee": null,
        "totalAmount": null,
        "fullName": "string string",
        "email": "string@string.com",
        "phoneNumber": "+994123456789",
        "customMessage": null,
        "expireDate": "2022-12-14T11:30:17.6",
        "currencyType": "AZN",
        "languageType": "AZ",
        "paymentType": "ONETIME",
        "active": true,
        "description": "string",
        "approveURL": "string.com",
        "cancelURL": "string.com",
        "declineURL": "string.com",
        "uuid": "2d0be10a98da45c68c61966844e2c941",
        "invoiceUuid": "fcaa53aedca14b3a9c6039f4459d8fs3",
        "invoiceCode": "1042729",
        "invoiceStatus": "PENDING",
        "createdDate": "2022-11-24T18:17:46.129",
        "paymentUrl": "https://pay.payriff.com/y/RS8u",
        "sendSms": true
    }
}
                                                
                                            



Using this method, you can create an invoice and send SMS to your customer for payment.


get-invoice

http://api.payriff.com/api/v2/get-invoice

POST

                                                
{
  "merchant": "ES1010101",
  "body": {
    "uuid": "c1123472cf7945f9876076fcb9af8a05"
  }
}
                                                
                                            
                                                
                                                    {
"code": "00000",
    "message": "Operation performed successfully",
    "route": "dashboard/main",
    "internalMessage": null,
    "responseId": "ad8af3df69ef4e76b1c2c69052df138e",
    "payload": {
         "id": 958376,
         "merchantId": "ES1092847",
         "amount": 0.03,
         "payriffAmount": null,
         "payriffFixedFeeAmount": null,
         "payriffFee": null,
         "totalAmount": null,
         "fullName": "Ismayilov Oruj",
         "email": "finance4@ferrumcapital.az",
         "phoneNumber": "994503713968",
         "personalCode": null,
         "expireDate": "2025-07-06T00:00:01.5",
         "currencyType": "AZN",
         "languageType": "AZ",
         "paymentType": "ONETIME",
         "subscriptionState": null,
         "paymentDay": null,
         "expireDay": null,
         "active": true,
         "description": "BBBB-12ER6XY",
         "approveURL": "https://payment.ferrumcapital.az/index?res_rtm=approve",
         "cancelURL": "https://payment.ferrumcapital.az/index?res_rtm=canceled",
         "declineURL": "https://payment.ferrumcapital.az/index?res_rtm=decline",
         "uuid": "55b5ad32dc1b4d3fae0b669602414f25",
         "invoiceUuid": "4a46f4e8de1a415da141c6197dcc8bcd",
         "baseUrl": null,
         "invoiceCode": "1958376",
         "invoiceStatus": "COMPLETE",
         "installmentProductType": "BIRKART",
         "installmentPeriod": 0,
         "source": "DASHBOARD",
         "directPay": true,
         "createdDate": "2024-07-18T15:11:45.672"
      }
 }
                                                
                                            



Using this method you can get invoice information. Consider invoiceUuid as uuid in this api request.


transfer

POST

                                                
{
"merchant": "ES1000010",
"body": {
     "toMerchant": "ES192837",
     "amount": 0,
     "description": "transfer"
    }
}
                                                
                                            
                                                
{
    "code": "00000",
    "message": "Operation performed successfully",
    "route": "dashboard/main",
    "internalMessage": null,
    "payload": "APPROVED"
}
                                                
                                            



Using this method you can transfer money from wallet to wallet in Payriff



Parameter Description
toMerchant Merchant ID receiver
amount Transfer amount
description Transfer reason
merchant Your unique merchant number

topup

POST

                                                
{
"merchant": "ES1000010",
"body": {
      "phoneNumber": "994501234567",
      "amount": 0,
      "description": "transfer"
    }
}
                                                
                                            
                                                
{
  "code": "00000",
  "message": "Operation performed successfully",
  "route": "dashboard/main",
  "internalMessage": null
}
                                                
                                            



Using this method you can transfer money from Payriff wallet to MPAY wallet



Parameter Description
phoneNumber Mpay wallet phone number receiver
amount Transfer amount
description Transfer reason
merchant Your unique merchant number

wallets

GET

https://api.payriff.com/api/v2/wallet
                                                
  {
    "code": "string",
    "message": "string",
    "route": "string",
    "internalMessage": "null",
    "payload": {
    "historyResponse": [
      {
       "id": "number",
       "active": "boolean",
       "balance": "number",
       "amount": "number",
       "operation": "string"
      },
    ],
    "totalBalance": "number"
    }
  }
                                        
                                        

walletById

GET

https://api.payriff.com/api/v2/wallet/:ID
                                        
{
   "id": "number",
   "active": "boolean",
   "balance": "number",
   "appId": "number",
   "userId": "number",
   "applicationStatus": "string"
}
                                        
                                        

Gateway API V3


Create Order

https://api.payriff.com/api/v3/orders

POST

                                
{
    "amount": 0.01,
    "language": "EN",
    "currency": "AZN",
    "description": "Test purchase 0.01 azn",
    "callbackUrl": "https://google.com",
    "cardSave": false,
    "operation": "PURCHASE"
}

                                
                            
                                
{
    "code": "00000",
    "message": "Operation performed successfully",
    "route": "dashboard/main",
    "internalMessage": null,
    "responseId": "f90c32f819d74f169e6c40daa4d37dd9",
    "payload": {
      "orderId": "154d7774-a672-43de-8305-4a6bf5cefed9",
      "paymentUrl": "https://pay.payriff.com/r/154d7774-a672-43de-8305-4a6bf5cefed9?type=direct",
      "transactionId": 1222096
     }
}

                                
                            



Pre-Authorization

https://api.payriff.com/api/v3/orders

POST

                                
{
    "amount": 0.1,
    "language": "EN",
    "currency": "AZN",
    "description": "Testing Preauth",
    "callbackUrl": "payriff.com",
    "cardSave": "true",
    "operation": "PRE_AUTH"
}

                                
                            
                                
{
    "code": "00000",
    "message": "Operation performed successfully",
    "route": "dashboard/main",
    "internalMessage": null,
    "responseId": "cebd5495216d4111aec4e4fbf9687deb",
    "payload": {
        "orderId": "50e82d58-9699-4864-8781-6e7728587c71",
        "paymentUrl": "https://sbpay.payriff.com/r/50e82d58-9699-4864-8781-6e7728587c71?type=direct",
        "transactionId": 1144709
    }
}
                                
                            

This API blocks the payment amount on the card balance. The block period is 30 days. If the payment is not completed during this period, the amount will be restored to the card balance.


Order Information

https://api.payriff.com/api/v3/orders/:ORDER_ID

GET


https://api.payriff.com/api/v3/orders/:ORDER_ID
                                
                            

{
    "code": "00000",
    "message": "Operation performed successfully",
    "route": "dashboard/main",
    "internalMessage": null,
    "responseId": "50171f77c34d4536a6f87438a2dca48d",
    "payload": {
      "orderId": "359805a7-8673-4be2-b544-19911175652a",
      "amount": 0.01,
      "currencyType": "AZN",
      "merchantName": "Lamiya LLC",
      "operationType": "PURCHASE",
      "paymentStatus": "PAID",
      "auto": false,
      "createdDate": "2024-07-11T12:01:14.903781",
      "description": "Test purchase 0.05 azn",
      "transactions": [
        {
          "uuid": "55d4a5cb-ef0a-4dea-821a-b134a2d7d24c",
          "createdDate": "2024-07-11T12:02:28.729886",
          "status": "PAID",
          "channel": "KAPITAL_BANK",
          "channelType": "ON_US",
          "requestRrn": "1073874",
          "responseRrn": "118217639",
          "pan": "418980******2222",
          "paymentWay": "DIRECT",
          "cardDetails": {
            "maskedPan": "414723******7784",
            "brand": "VISA",
            "cardHolderName": "test test"
          },
          "merchantCategory": "ES1090067",
          "installment": {
            "type": "BIRKART",
            "period": "PERIOD_6"
          }
        }
      ]
    }
}
                                
                            



Refund / Reverse

https://api.payriff.com/api/v3/refund 

POST


{
"amount": number,
"orderId": string
}


                

{
    "code": "00000",
    "message": "Operation performed successfully",
    "route": "dashboard/main",
    "internalMessage": null,
    "responseId": "03c7047b600e425eb581aa0a59d4a177",
}
                                
                            



Complete

https://api.payriff.com/api/v3/complete

POST

                                
{
"amount": "number",
"orderId": "string"
}
                                
                            
                                
{
"code": "string",
"internalMessage": "string",
"message": "string",
"payload": {
"orderId": "string",
"paymentUrl": "string",
"sessionId": "string"
}
}
                                
                            



Pay with saved card

https://api.payriff.com/api/v3/autoPay

POST

                                
{
    "cardUuid": string,
    "amount": number,
    "currency": string,
    "description": string,
    "callbackUrl": string,
    "operation": string
}
                
                                
{
    "code":string,
    "message": string,
    "route": string,
    "internalMessage":string | null,
    "responseId": string,
    "payload": {
        "orderId": string,
        "description": string,
        "amount": number,
        "auto": boolean,
        "operationType": string,
        "paymentStatus": string,
        "createdDate": string,
        "currencyType": string,
        "transactions": [
            {
                "uuid": string,
                "createdDate": string,
                "status": string,
                "channel": string,
                "channelType": string,
                "requestRrn": string,
                "responseRrn":string | null,
                "pan": string,
                "paymentWay": string,
                "cardDetails": {
                    "maskedPan": string,
                    "brand": string,
                    "cardHolderName": string
                },
                "merchantCategory": string,
                "installment": {
                    "type":string | null,
                    "period":string | null
                },
                "deliveryAddress": Object
            }
        ]
    }
}
                                
                            



Result codes/messages

                                
ResultCodes {
    String SUCCESS = "00000";
    String SUCCESS_GATEWAY = "00";
    String SUCCESS_GATEWAY_APPROVE = "APPROVED";
    String SUCCESS_GATEWAY_PREAUTH_APPROVE = "PREAUTH-APPROVED";
    String WARNING = "01000";
    String ERROR = "15000";
    String INVALID_PARAMETERS = "15400";
    String UNAUTHORIZED = "14010";
    String TOKEN_NOT_PRESENT = "14013";
    String INVALID_TOKEN = "14014";
}

ResultMessages {
    String OK = "OK";
    String SUCCESS = "Operation performed successfully";
    String ERROR = "Internal Error";
    String UNAUTHORIZED = "Unauthorized";
    String NOT_FOUND = "Not found";

    String TOKEN_NOT_PRESENT = "Token not present";
    String INVALID_TOKEN = "Invalid Token";
    String TOKEN_EXPIRED = "Token expired";
    String DEACTIVE_TOKEN = "Token is not active";
    String LINK_EXPIRED = "Link is expired!";

    String NO_RECORD_FOUND = "No record found!";
    String NO_INVOICE_FOUND = "No invoice found!";
    String APPLICATION_NOT_FOUND = "Application not found!";
    String USER_NOT_FOUND = "User not found!";
    String USER_ALREADY_EXISTS = "User already exists!";
    String UNEXPECTED_GATEWAY_ERROR = "Occurred problem with Processing";
    String INVALID_CREDENTIALS = "Username or Password is incorrect";
  }