LatePayment
Field | Type | Description |
---|---|---|
event | string | The name of the event |
transaction | string | Will always be blank since there is no onchain transaction |
networkId | number | The ID of the network the event occurred on - 1, 5, 137, 80001 etc |
networkName | string | The name of the network (e.g., Ethereum, Goerli, Polygon, etc.) |
contractAddress | address | The address of the contract the event occurred in |
email | string | The email address of the subscriber (if any) |
company | string | Your company name |
parent | string | The name of the parent company (if any) |
subscriber | address | The wallet address that the payment relates to |
dueDate | number | The date the transfer request is due - Unix time in seconds |
amountDue | number | The amount that was due that hasn't been paid |
lateReason | string | The reason the payment is late ("Insufficient balance" and/or "Insufficient allowance" |
eventDate | number | The date the event occurred - Unix time in seconds |
refId | string | The reference ID passed in from checkout |
agreementId | string | The Loop agreement ID associated with the transfer |
transferId | string | The internal ID of the transfer |
invoiceId | string | The ID of the invoice |
Example payload:
{
event: "LatePayment",
transaction: "0xeec977f21bfa8fd084696fa624fa22bcf46b2b5236207c2924f755bc2c3bdf60",
networkId: 5,
networkName: "goerli",
contractAddress: "0xeF265A078Be7854A7e9e1f9d36c40f61Fad7f8b8",
email: "[email protected]",
company: "My Company",
subscriber: "0x1f9090aaE28b8a3dCeaDf281B0F12828e676c326",
dueDate: 1683390682,
amountDue: 100000000;
lateReason: "Insufficient allowance.",
eventDate: 1683563482
agreementId: "4684326b-aed2-49cb-a60a-fcc8e9cdc8e3",
refId: "customer-123",
transferId: "97e412c6-cd7b-4d82-a1f1-4f9e7a4c2d3e",
invoiceId: "inv_0MNiLT0NXI7Xajf6fcW8PmCPpE"
}
Updated about 1 month ago