PayIn API Overview
This section lists the base fields for PayIn order creation and create-and-pay.
Base fields (CreatePayInOrderCmd)
| Field | Required | Description |
|---|---|---|
merchantOrderNo | Yes | Merchant order number (idempotent) |
amount | Yes | Order amount, minimum 0.01 |
currency | Yes | Currency |
productName | No | Product name |
productDesc | No | Product description |
billingAddress | No | Billing address (see Address Structure) |
shippingAddress | No | Shipping address (see Address Structure) |
remark | No | Remark |
returnUrl | No | Sync redirect URL (lower priority than merchant config) |
extParams | No | Extended parameters (JSON) |
lineItems | No | Order line items (see LineItem Structure) |
createAndPay fields (CreatePayInOrderAndPayCmd)
| Field | Required | Description |
|---|---|---|
methodCode | Yes | Payment method code (e.g., INTERNATIONAL_CARD) |
methodData | Yes | Payment method data (depends on methodCode) |
See the
payMethoddocs for method-specific fields.