Details of payment data.
Field | Type | Description |
---|---|---|
id | String UUID | Payment identifier from Monit system. |
name | String | Payment's name. |
category | String | TRANSFER, BILL, REIMBURSE. |
status | String | IDLE, PROCESSING, COMPLETED, FAILED. |
description | String | Payment's description. |
total_amount | Number | Payment's total amount. |
reference_id | String | Reference identifier from your system. |
account | Object (nullable) | Account object contains account id, display name and currency. |
tags | List of string | Payment's tags. |
Category
Currently, our create payment API only support for TRANSFER, but you can pull / fetch payments that you created from Monit WebApp.
Status
When your create payment from API, you will received status PROCESSING on API response and progress READY_TO_PAY on WebApp but you cannot pay that payment from Monit WebApp because system API will immediately process that payment in async process. You can still fetch other payments that created from Monit WebApp but you cannot interact with those payments.
Status IDLE mean that payment is not processing yet, for example if the payment created on WebApp. PROCESSING mean that payment is in processing flow, COMPLETED mean that all transactions inside the payment is processed.
Account Object
Account object is simply an account that used to pay the payment. Account object is not null if Payment is already PROCESSED.
Field | Type | Description |
---|---|---|
id | String UUID | Account identifer from Monit system. |
display_name | String | Account's display name, |
currency | String | Account's currency, currently we only support IDR. |