List of Partner APIs
Base URL
Production: https://partner-api.midtrans.com
Staging: https://partner-api.stg.midtrans.com
Request Header
| Field | Type | Attribute | Description |
|---|---|---|---|
| Authorization | String | Mandatory | Basic Base64Encode(partnerServerKey:) Sample PARTNER_SERVER_KEY = f58abc7a-c17f-46e4-898a-607f1257fb62AUTH_STRING = Base64("f58abc7a-c17f-46e4-898a-607f1257fb62:")AUTH_STRING = ZjU4YWJjN2EtYzE3Zi00NmU0LTg5OGEtNjA3 |
| X-PARTNER-ID | String | Mandatory | Unique identifier for partner. Provided by Midtrans. |
| X-MERCHANT-ID | String | Mandatory | Unique identifier for each merchant under the partner. Provided by Midtrans. |
| Accept | String | Mandatory | application/json |
| Content-Type | String | Mandatory | application/json |