Ovrd Notification URL

post/v2/charge

Request

  • Base URL
    https://api.sandbox.midtrans.com
  • URL
    https://api.sandbox.midtrans.com/v2/charge
  • Auth
    HTTP basic

Request body

payment_typestring required
custom_field1string
custom_field2string
custom_field3string

Response

200

OR

Example response

{
  "status_code": "201",
  "status_message": "QRIS transaction is created",
  "transaction_id": "30a689ba-7251-4052-b8a0-f677fd53e1be",
  "order_id": "order-id-12312",
  "merchant_id": "G379181825",
  "gross_amount": "100000.00",
  "currency": "IDR",
  "payment_type": "qris",
  "transaction_time": "2023-01-05 10:01:39",
  "transaction_status": "pending",
  "fraud_status": "accept",
  "actions": [
    {
      "name": "generate-qr-code",
      "method": "GET",
      "url": "https://api.sandbox.midtrans.com/v2/qris/30a689ba-7251-4052-b8a0-f677fd53e1be/qr-code"
    }
  ],
  "qr_string": "00020101021226620014COM.GO-JEK.WWW011993600914337918182570210G3791818250303UKE51440014ID.CO.QRIS.WWW0215AID7720513752290303UKE5204359353033605802ID5910PAPI LIVE26005KUKAR6105755535409100000.0062475036b1855b6c-70ab-4449-9778-61b8ffe43fd20703A016304C385",
  "acquirer": "gopay",
  "expire_time": "2023-01-05 11:01:39"
}

Changes

No recorded changes to this operation across all 1 revision of this API.