I think Postman is such a reliable platform in terms of any web service 101.
There are always a library, documentation, project or video, yet none of them feels like a SUCCESS responded group of HTTP calls.

Sounds like, PayU Hub developers think the same, therefore they have created a page called Give our APIs a Try.
Open the page and just click on 'Run in Postman' button.
Afterwards, it's time to clear up those 3(three);
- Provider Integration Guide
- Setting your Environment Variables
- Running the Requests in the Correct Order
Provider Integration Guide
The provider integration page, namely PayU Hub & iyzico, consists of general integration specifications. It's written on the page that the minimum API version is 1.3.0. So put that info in our pocket and move on our way.🚵
Setting your Environment Variables
There are 6+1 different variables / header parameters / credentials that need to be set up for a full cycle transaction; app_id, public_key, private_key, x-payments-os-env, api-version, Content-Type and the +1 idempotency key.
To begin with, app_id, public_key and private_key parameters comes along soon after we generate 'Create Business Unit' for the very first time.
It is just under Account > Business Units at PaymentsOS control panel. 💪
And the rest;
-
api-versionwe already know -
Content-Typeisapplication/json -
idempotency_keyis optional - Lastly,
x-payments-os-envistestfor your test purposes.
Running the Requests in the Correct Order
Now, we are ready for Step2 and Step3 as mentioned on the previous article.
First, we will store customer cards as a token. Then, we will accept payments.
Here we go! See you on the Part3🏁
Top comments (0)