E-Channel (Mandiri Bill) Object

For more details on customizing VA number, go here.

"echannel" : {
    "bill_info1" : "Payment For:",
    "bill_info2" : "Tuition fee",
    "bill_info3" : "Name:",
    "bill_info4" : "Budi Utomo",
    "bill_info5" : "Class:",
    "bill_info6" : "Computer Science",
    "bill_info7" : "ID:",
    "bill_info8" : "VT-12345",
    "bill_key" : "081211111111"
}
JSON AttributeDescriptionTypeRequired
bill_info1Label 1. Mandiri allows only 10 characters. Exceeding characters will be truncated.String(255)Required
bill_info2Value for Label 1. Mandiri allows only 30 characters. Exceeding characters will be truncated.String(255)Required
bill_info3Label 2. Mandiri allows only 10 characters. Exceeding characters will be truncated.String(255)Optional
bill_info4Value for Label 2. Mandiri allows only 30 characters. Exceeding characters will be truncated.String(255)Optional
bill_info5Label 3. Mandiri allows only 10 characters. Exceeding characters will be truncated.String(255)Optional
bill_info6Value for Label 3. Mandiri allows only 30 characters. Exceeding characters will be truncated.String(255)Optional
bill_info7Label 4. Mandiri allows only 10 characters. Exceeding characters will be truncated.String(255)Optional
bill_info8Value for Label 4. Mandiri allows only 30 characters. Exceeding characters will be truncated.String(255)Optional
bill_keyCustom bill key assigned by you. If shorter than minimum then Midtrans will add trailing 0s as most significant bits. If longer than maximum then Midtrans will trim the remaining least significant bits.
  • B2C: Accepts 6-12 digits.
  • B2B: Accepts 6-12 digits.
If the previous transaction with same bill key is still active then Midtrans will return new random bill key instead. Definition of active:
  • B2C: previous transaction status is PENDING.
  • B2B: B2B bill key will be remain active with no expiry, unless the bill key is cancelled before it's paid. Detail regarding cancel can be seen here.
String(6-12)Optional