Request body for event transaction
{
"event_id": "0bae6dfc-8200-009e-9c16-c149ce5b019b",
"timestamp": "2022-12-13 17:03:39",
"event_type": "TRANSACTION",
"event_detail": "NEW_TRANSACTION",
"data": {
"id": "0bae6dfc-8000-006b-d513-9e834a782907",
"card": {
"id": "0bae6dfc-7a00-00bc-b366-2acb4fccd899",
"card_name": "coba daily limit xxx"
},
"type": "CARD_PAYMENT/TRANSFER_FUND/RECEIVED_FUND/ADD_BALANCE/DEDUCT_BALANCE etc..",
"amount": 10000,
"base_amount": 7000,
"total_fee": 3000,
"status": "IDLE/PROCESSING/TRANSFERRING/PENDING/SUCCESS/FAILED/REVERSAL",
"account": {
"id": "0b855b63-2a00-0002-8e25-50898d076f13",
"currency": "IDR",
"display_name": "Main"
},
"created_at": "2022-12-13 17:03:39",
"updated_at": "2022-12-13 17:03:39",
"description": "Add balance to coba daily limit xxx"
}
}
Field | Type | Description |
---|---|---|
id | String UUID | Transaction ID. |
card | Object (nullable) | Card info if transaction happened on card. |
type | String | Transaction type, currently we have CARD_PAYMENT, TRANSFER_FUND, RECEIVED_FUND, ADD_BALANCE, DEDUCT BALANCE, etc. See on Transaction object for detail of each type. |
amount | Number | Transaction total from base amount and total fee. if amount less than 0 means that transaction is money out from card or account, vice versa. |
base_amount | Number | Base amount of transaction, if you create payment to beneficiary or recipient, the amount that recipient received will be the same with base amount. |
total_fee | Number | Total fee of the transaction. |
status | String | Status of transaction, currently we have IDLE, PROCESSING, TRANSFERRING, PENDING, SUCCESS, FAILED and REVERSAL. See on Transaction object page for the detail of each status. |
account | Object (nullable) | Account info if transaction happened on account. |
created_at | Datetime | Datetime when transaction created. |
updated_at | Datetime | Last datetime when transaction updated. |
description | String | Transaction's description. |
reference_id | String | Transaction's reference identifier from your system. |