> ## Documentation Index
> Fetch the complete documentation index at: https://docs.subotiz.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Object

Payment entity field reference.

| 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)     |
