Skip to main content

Step 2 - Configure the integration method

Now that you have successfully completed the setup and installation steps for the , as detailed inStep 1 - Setup and activate the integration method, you are ready to manage your integration configuration. This will enable you to start utilizing our PT2 API endpoints effectively. Please follow the steps below to guide you through the necessary configuration process:




Alt text

  1. The first thing you will need to provide the proper endpoint URL to your request, as shown below:

    POST{{domain}}/payment/request
    Be Aware Of

    Please note that not using the proper endpoint URL {domain} will lead to authentication issues within your responses. To find the your proper domain you can read ourWhat is my (Region)/(endpoint URL)?tutorial article.

    https://secure.paytabs.sa/payment/request
  2. Then you will need to provide your API server key.

    curl --location --request POST 'https://secure.paytabs.sa/payment/request' \--header 'authorization: SJ******MD-J2******L6-99******DZ' \
    You Should Know

    To know how to find your API Server/Client keys we recommend you to check ourHow to get my Authentication/Integration/API Keys?tutorial article.

  3. Finally, you will need to provide your profile_id within the required parameters that should be sent in the request payload.

     {profile_id => 2342} 
    You Should Know

    To know how to find your profile_id, we recommend you to check ourHow to get your account information from PT2 Dashboard?tutorial article.

    you should know

    In order to understand the types of PayTabs merchant profiles, we highly recommend you to check ourWhat is Test Profile vs Live Profile?solution article.


Here you are, done with configuring the PayTabs API endpoints. And now you can go on the ground with your business using the preferred payment methods.

We are glad to be always in help. We aim to serve you better each time. As such, please spare a minute to share feedback about your recent experience with PayTabs Developers , on Trustpilot, or Google Reviews.