| Field | Type | Desc |
|---|---|---|
| id | string | Database primary key ID (Snowflake ID, string format) |
| out_trans_id | string | Payment flow ID |
| trade_id | string | Order ID / Trade ID |
| merchant_id | string | Merchant ID |
| payment_method | string | Payment method |
| payment_channel | string | Payment channel |
| status | string | Payment status |
| amount | string | Payment amount, truncated to two decimal places |
| currency | string | Currency |
| channel_trade_id | string | Channel transaction ID |
| order_trans_id | string | Order transaction ID (globally unique, represents one payment attempt) |
| channel_payment_method | ChannelPaymentMethod | Payment method information |
| created_at | string | Creation time |
| channel_ret_code | string | Channel return code |
| channel_ret_msg | string | Channel return message |
ChannelPaymentMethod
| Field | Type | Desc |
|---|---|---|
| type | string | Type, fixed value “card” |
| card | CardInfo | Card information |
CardInfo
| Field | Type | Desc |
|---|---|---|
| brand | string | Card brand |
| country | string | Issuing country |
| last4 | string | Last 4 digits of card number |
| funding | string | Card type (credit/debit) |