Midtrans has 2 options when it comes to users’ payment experience.
The first one is SNAP, the simplest way to integrate a beautiful, customizable payment flow that works great across desktop as well as mobile platform. Check out our code on online documentation (https://snap-docs.midtrans.com/). You can also check its demo at https://demo.midtrans.com.
The second one is through our Core API, which runs entirely behind the scenes. You will send payment information to us via our API, and the user experience is entirely up to you; your workflow, your layout, your brand. Please check our example code in online docs (http://api-docs.midtrans.com/).