# 4. Purchase interface ## 4.1. Interface URL Interface Name |Test URL|Production URL ------- |-----------|------- Purchase | | ## 4.2. Purchase interface 1. Request message format This field is a list of common fields, sending, every channel needs some channel channel exclusive field, specific fields please go to the channel's exclusive canal to the fields that view. Consumer interface is divided into jump transformation and parameters return type, default to jump transformation, parameters return type will be explained in chapter 4 channels (exclusive) inside. | Parameter | Type | Required | Description | | ------------- | ------------ | -------- | ------------------------------------------------------------ | | version | String(12) | M | "VER000000002" | | charSet | String(6) | M | “UTF-8” | | transType | String(4) | M | “PURC” | | orderNum | String(60) | M | Order number: it is defined by the merchant itself, and the order number must not be repeated for the same merchant number | | orderAmount | String(12) | M | Order amount: if 100 yuan, it will be 100 or 100.00 | | orderCurrency | String(3) | M | Currency of the order: ISO standard, such as RMB filling in "CNY", us dollar filling in "USD" | | frontURL | String(400) | M | When the payment is complete, jump to the address | | backURL | String(400) | M | Payment results are asynchronously notified to this address | | merReserve | String(1024) | M | Merchant reserved content, can pass any content, such as purchase information, account number, etc., but do not pass special symbols, such as commas. | | merID | String(15) | M | Merchant ID, assigned by AllPay | | acqID | String(11) | M | "99020344" | | paymentSchema | String(10) | M | Channel code:[Click Here](https://git.allpayx.com/OpenAPI/b2c_pc_payment/src/master/paymentSchema.md) | | goodsInfo | String(60) | M | Goods Information | | transTime | String(14) | M | Transaction time, format :" yyymmddhhmmss" | | signType | String(3) | M | MD5 | | signature | String(32) | M | MD5 signature |