Can I charge service fees to my customers?

Standard Midtrans procedure, transaction fees will be charged to merchants who carry out the collaboration process to use Midtrans services.

If you want the transaction fee to be charged to your customer, then please add the transaction fee to the final value (gross_amount parameter) that you want to send to Midtrans API.
An example of the API can be seen below:

{  
    "transaction_details": {  
       "order_id": "CustOrder-102",  
       "gross_amount": 8000  
},  
"item_details": [  
    {  
      "id": "a01",  
      "price": 7000,  
      "quantity": 1,  
      "name": "Apple"  
    },  
    {  
     "id": "b02",  
     "price": 1000,  
     "quantity": 1,  
     "name": "Biaya Transaksi"  
     }  
  ]  
{

Make sure the total amount in item_details is the same as the gross_amount to avoid errors.

For the details, you can see in our technical documentation here ↗.