Webhooks
A webhook is a tool that allows you to receive notifications after an event happens. After setting up a webhook with an HTTPS URL, you'll receive POST requistions in that endpoint with event data in JSON format.
Duopen will send all events to all registered webhooks, with no separation; it's your responsibility to process incoming data correctly.
At the moment, Duopen offers transactions and consents events.
Tip
More events will be added, so remember to check the docs if you are receiving a new requisition that you don't know how to process.
Dealing with notifications
It's important that your API answers as fast as possible our POST request with a HTTP 2XX status. In case Duopen don't receive a response in the first 10 seconds or any other status code as the response, we will consider that our POST request failed.
In case of failure, Duopen will try again - for a maximum of 5 tries - in exponential time intervals.
It's strongly recommended that your API responds with 2XX as soon as the notification is received, and then do it's own processing after that.
Security
After successfully completing your testing in the sandbox environment, you can request your production API keys. Follow these steps:
Complete Testing: Ensure all functionalities are thoroughly tested in the transaction-sandbox and consent-sandbox.
Request Keys: Submit a request for production API keys through our support channel.
Verification: Duopen team will review your request.
Receive Keys: Upon approval, you will receive your unique production API keys.
Go Live: Use your production keys to integrate our services into your live application.
For any questions, please contact our support team.
Last updated