post https://app.sandbox.midtrans.com/snap/v1/transactions
Backend integration goal is to acquire SNAP_TOKEN by providing payment informations. We provide a HTTP API to do this.
Snap validates HTTP request by using Basic Authentication method. The username is your SERVER_KEY while the password is empty. You can see your SERVER-KEY on Settings - Access Keys. Authorization header value is represented by AUTH_STRING. AUTH_STRING is base-64 encoded string of your username & password. AUTH_STRING = Base64(SERVER_KEY + :)