on_sync_payments Event
Fired for each payment transaction included in the synchronization response.
Syntax
class BillPaymentSyncPaymentsEventParams(object): @property def payment_aggregate() -> str: ... @property def payment_tx_type() -> str: ... @property def payment_id() -> str: ... @property def payee_id() -> str: ... @property def payee_list_id() -> str: ... @property def payee_account() -> str: ... @property def payee_aggregate() -> str: ... @property def payment_amount() -> str: ... @property def from_account_id() -> str: ... @property def payment_status() -> str: ... @property def payment_date() -> str: ... # In class BillPayment: @property def on_sync_payments() -> Callable[[BillPaymentSyncPaymentsEventParams], None]: ... @on_sync_payments.setter def on_sync_payments(event_hook: Callable[[BillPaymentSyncPaymentsEventParams], None]) -> None: ...
Remarks
When this event is fired for each payment transaction included in the response (if any), the following are returned for each payment transaction identified by PaymentId:
- PaymentAggregate contains the aggregate for a payment transaction.
- PaymentTxType indicates the payment transaction type, if this is added, modified or canceled (possible values: ADDED, MODIFIED, CANCELLED).
- PaymentId contains the server id of a transaction in the list of payment transactions (if any) returned in the synchronization response.
- PayeeId contains the id of the payee the payment has been sent to.
- PayeeListId contains the list id of the payee the payment has been sent to.
- PayeeAccount contains the account the user has with the payee the payment has been sent to.
- PayeeAggregate contains the info aggregate (name and address details) of the payee the payment has been sent to.
- PaymentAmount contains the amount of a payment transaction.
- FromAccountId contains the account number a payment has been sent from.
- PaymentStatus contains the status of a payment transaction.
- PaymentDate contains the date of a payment transaction.
If what you need is not returned through this event, you can always parse each PaymentAggregate using our OFXAggregate component.