1. Push events
| Event | Repeat | Describe |
|---|---|---|
| OT_PAY | yes | Out payment |
2.Global push format
| Parameter | Type | Required | Describe |
|---|---|---|---|
| event | String | true | Event name |
| trace | String | true | Link ID, the same link ID for the same transaction |
| orderNo | String | true | Order number, globally unique |
| timestamp | Long | true | Push timestamp (milliseconds) |
| detail | Object | true | The format of push content varies depending on the event |
2.1. (OT_PAY)Outlay payment
| Parameter | Type | Required | Describe |
|---|---|---|---|
| payNo | String | true | PayID |
| outTradeNo | String | true | Merchant Transaction Number |
| copeCoin | String | true | Payout coin |
| copeAmount | String | true | Total payout amounty |
| actualAmount | String | true | Actual paid amount |
| exchangeRate | String | true | Exchange rate |
| feeRate | String | true | Fee rate |
| payCurrency | String | true | Original deduction currency |
| payAmount | String | true | Original deduction amount |
| feeCurrency | String | true | Fee currency |
| fee | String | true | Fee amount |
| createAt | String | true | Order creation time (timestamp, milliseconds) |
| completeAt | String | true | Order completion time (timestamp, milliseconds) |
| orderStatus | Int | true | Order status (1=Completed, 2=In Progress, 3=Cancelled, 4=Partially Cancelled)) |
| payStatus | Int | true | Payment status (1=Unpaid, 2=Paid, 3=Partially Paid)) |
| paymentDetails | Object | true | Payment details(Detailed description of reference characters) |
Detailed description of reference characters
| Parameter | Type | Required | Describe |
|---|---|---|---|
| orderNo | String | true | Order number |
| chainTag | String | true | Chain |
| coin | String | true | Payout coin |
| amount | String | true | Payout amount |
| address | String | true | Recipient address |
| txHash | String | true | Transaction hash |
| feeCurrency | String | true | Fee currency |
| fee | String | true | Fee amount |
| status | Int | true | Status (1=Completed, 2=In Progress, 3=Cancelled) |
| createAt | String | true | Creation time (timestamp, milliseconds) |
| txAt | String | true | Payment time (timestamp, milliseconds) |
