POST payment/trade_pay_offline
Request Information
URI Parameters
None.
Body Parameters
TradePayOfflineViewModelName | Description | Type | Additional information |
---|---|---|---|
amount | decimal number |
None. |
|
note | string |
None. |
|
attach | string |
None. |
|
client_id | integer |
None. |
|
app_id | integer |
None. |
|
user_coupon_id | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "amount": 1.0, "note": "sample string 2", "attach": "sample string 3", "client_id": 4, "app_id": 1, "user_coupon_id": 1 }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
DataResponseOfApiCoreTradeThirdPartyDataName | Description | Type | Additional information |
---|---|---|---|
code | integer |
None. |
|
message | string |
None. |
|
success | boolean |
None. |
|
data | ApiCoreTradeThirdPartyData |
None. |
Response Formats
application/json, text/json
Sample:
{ "code": 1, "message": "sample string 2", "success": true, "data": { "pay": true, "trade_id": 2, "title": "sample string 3", "body": "sample string 4", "amount": "sample string 5", "notify_url": "sample string 6", "sign": "sample string 7", "product_code": "sample string 8", "timeout_express": "sample string 9", "prepay_id": "sample string 10", "nonce": "sample string 11", "timestamp": "sample string 12", "package": "sample string 13", "sign_type": "sample string 14", "order_id": 15, "ext": {} } }