Monetary Value
All monetary is serialized as JSON string, with some restrictions:
- Only contains numeric characters and a
.
character as a decimal-fraction separator. - Has at most 2 decimal-fraction digits.
Example of valid monetary values: - `"10000"` - `"10000.0"` - `"10000.00"`
Note
Decimal rounding might take place if the decimal fraction value is not equal to
.0
Payout Notification Payload
Parameter | Description |
---|---|
reference_no | Unique reference_no of a payout |
amount | Amount of the processed payout |
status | approved : payout request is approved by approver user |
rejected : payout request is rejected by approver user | |
processed : payout request is sent to the bank and completed | |
completed : payout request is sent to the bank and received by beneficiary account | |
failed : payout didn't go through | |
updated_at | Payout status update time in ISO8601 format |
error_code | In case payout is failed we will send an error code, related to the failed payout failed payout error code and messages |
error_message | In case payout is failed we will send an error message, related to the failed payout failed payout error code and messages |
Top up Notification Payload
Parameter | Description |
---|---|
transaction_id | Unique id generated by Midtrans for top up to Bank |
order_id | Unique id generated by Payouts |
gross_amount | Amount topped up |
status | topup |
transaction_time | Transaction time in ISO8601 format |