Data Model
Overview
The "Payout Data Model" is a Data model type used in your webhook endpoint. This model provides information about any PayoutReleased event.
Your webhook endpoint will receive a POST request from ECOM that contains an event Type parameter with a value of
"PAYOUT_RELEASED" . It is used to notify your system of the payout .
Now, we are going to declare the Payout Data Model properties of your endpoint and its models along with each accepted parameter and possible value.
Request Model
Fields Description
Field Name | Data Type | Description |
---|---|---|
payoutId | string | Unique identifier for the payout. |
amount | number | Amount payout. |
currency | string | Currency of the payout amount. |
paymentMethod | string | Payment method used for the original transaction. |
createdAt | Date | Timestamp when the payout was processed. |
numOfTxn | number | Number of transactions associated with the payout. |
notes | string | Notes of the payout. |