Postman Collection

Download our Postman Collection that provides all calls available for each of our payment flows. Our collection already includes our own test variables by default.

📘

Add your own credentials

While we provide one of our own test accounts by default, we strongly encourage you to create your test account and link your own credentials to the collection.

Version: 1.0.2

Our collection Datatrans Payments includes helpful examples for our customer-initiated, merchant-initiated, and after the payment flows. It includes examples of calls required for our Redirect, Lightbox, Secure Fields, and Server to Server integrations.

If you prefer to add not only our recommended collection but any available call with all possible options, you may instead download our OpenAPI specification from our API Reference and import it to Postman manually.

Testing with our collection

Here are the steps to get started with our Postman Collection:

  • Install Postman on your device and create your Postman account. While this is optional, it will help keep your changes saved.
  • Click the button above, and add our collection together with the default environment Datatrans Docs to your Postman account.
  • If possible, change the value of {{basicAuth}} within the environment variables.
  • Start testing your own flows.
  • Once you want to run tests in production, you may simply leave the value of environment empty and update the value of {{basicAuth}} within the environment variables.

Releases

Please note that if you import our Postman Collection with the button above, updates will not automatically be added to your copy of the collection.

Version 1.0.2 - Released on 2021-02-09
- Added request to retrieve mobileToken for Mobile SDK integrations in customer-initiated payments

Version 1.0.1 - Released on 2021-01-19
- Various bug fixes

Version 1.0.0 - Released on 2020-09-30
- Initial release of our Postman Collection
- Added example requests for customer-initiated payments, merchant-initiated payments
and after the payment actions
- Added a default generic environment, with variables merchants can use to test our flows