Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 2.88 KB

TransactionResponse.md

File metadata and controls

31 lines (25 loc) · 2.88 KB

# TransactionResponse

use Xendit\BalanceAndTransaction\TransactionResponse;

Properties

Name Type Required Description Examples
id string ☑️ The unique id of a transaction. It will have `txn_` as prefix txn_438e4b61-7c4c-4dbb-bbba-94a896bff333
product_id string ☑️ The product_id of the transaction. Product id will have a different prefix for each product. You can use this id to match the transaction from this API to each product API. d290f1ee-6c54-4b01-90e6-d701748f0851
type TransactionResponseType ☑️ null
status TransactionStatuses ☑️ null
channel_category ChannelsCategories ☑️ null
channel_code string ☑️ The channel of the transaction that is used. See channel codes for the list of available per channel categories. BCA
account_identifier string ☑️ Account identifier of transaction. The format will be different from each channel. 123123123
reference_id string ☑️ customer supplied reference/external_id My custom reference
currency Currency ☑️ null
amount float ☑️ The transaction amount. The number of decimal places will be different for each currency according to ISO 4217. 150.21
cashflow string ☑️ Representing whether the transaction is money in or money out For transfer, the transfer out side it will shows up as money out and on transfer in side in will shows up as money-in. Available values are `MONEY_IN` for money in and `MONEY_OUT` for money out. null
settlement_status string The settlement status of the transaction. `PENDING` - Transaction amount has not been settled to merchant's balance. `SETTLED` - Transaction has been settled to merchant's balance null
estimated_settlement_time \DateTime Estimated settlement time will only apply to money-in transactions. For money-out transaction, the value will be `NULL`. Estimated settlement time in which transaction amount will be settled to merchant's balance. 2016-08-29T09:12:33.001Z
business_id string ☑️ The id of business where this transaction belong to 5fc9f5b246f820517e38c84d
fee FeeResponse ☑️ null
created \DateTime ☑️ Transaction created timestamp (UTC+0) 2016-08-29T09:12:33.001Z
updated \DateTime ☑️ Transaction updated timestamp (UTC+0) 2016-08-29T09:12:33.001Z

[Back to README]