For the synchronous payment methods, the latest status will be provided on the response of payment step.
And for asynchronous payment methods, Your merchant server needs to implement Midtrans /status
endpoint here for your mobile application to work correctly since Midtrans SDK does not have your server_key
. Note the below points, accept and return Content-Type JSON
Headers
- Content-Type: application/json
- Accept: application/json
- Authorization : Basic Base64(SERVER_KEY:)