The developer.datatrans.com Developer Hub

Welcome to the developer.datatrans.com developer hub. You'll find comprehensive guides and documentation to help you start working with developer.datatrans.com as quickly as possible, as well as support if you get stuck. Let's jump right in!

Welcome to the Datatrans documentation platform for developers

Create Payments on the web
How to apply the Payment Page to your web solution.

Make In-App Payments
Our Android and iOS mobile SDKs help you to accept mobile payments.

Credit and Cancel
Refund or cancel a payment.

Payments using an Alias
Improved checkout experience by applying an Alias.

Try now

Click on the button below to see the Payment page in action. You can find test card numbers here.

Pay CHF 10.00
<script src="https://pay.sandbox.datatrans.com/upp/payment/js/datatrans-2.0.0.min.js"></script>
<form id="paymentForm"
      data-merchant-id="1100004624"
      data-amount="1000"
      data-currency="CHF"
      data-refno="123456789"
      data-sign="30916165706580013">
    <a id="paymentButton" class="btn btn-primary">Pay CHF 10.00</a>
</form>
<script type="text/javascript">
    $("#paymentButton").click(function () {
        Datatrans.startPayment({'form': '#paymentForm'});
    });
</script>

Feedback

We are happy to get feedback about our documentation. Do no hesitate to contact us.


What's Next

Looks good? Go ahead and open up a test account.

Test account
Payment Page
Secure Fields
Mobile SDK