post
https://app.sandbox.midtrans.com/snap/v1/transactions
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Backend integration goal is to acquire SNAP_TOKEN by providing payment information. We provide a HTTP API to do this.
Snap validates HTTP requests by using the Basic Authentication method. The username is your SERVER_KEY while the password is empty. You can see your SERVER_KEY on Settings - Access Keys. The Authorization header value must be AUTH_STRING, where AUTH_STRING is the base64-encoded string of your username and password. AUTH_STRING = Base64(SERVER_KEY + :)