All the functionality of the Business Console is accessible via API to be used with any third-party software. To do so, you need to authenticate using the API key. After you register in the Business Console you can log in to the API using your credentials, get a temporary x-access-token and generate an API key. Alternatively, you can use the graphic interface of the Developer tools in the Business Console.

Here you can get your Business ID, API endpoint address and generate an API key. On your right there is a link to API documentation.

Also in this section you can add the postback URLs to receive the notifications once the payment has been made by your customers.

The postback has to be configured with the URL of your server that will handle the data. The postback URLs can be configured for both, the mainnet and the testnet.

To see how this can be done via API, please visit our API Documentation

There are two ways to authenticate get a postback. First – is to whitelist PumaPay URLs: the Business Console and the Console Backend. The second one is to use the header and then token. If your API is configured in the way that it requires multiple headers and tokens, you can use the + button to add another header.

When you hit Test, the Business Console sends a test request to your server. If the response is 200, that means the connection is successful. After you hit Save, from that moment the Console Backend will send postbacks with payment related data per every transaction.

Was this article helpful to you?

Leave a Reply