Skip to content

Commit

Permalink
Update bookings-create-v2 response w/ new paymentParameters (#389)
Browse files Browse the repository at this point in the history
* Update bookings-create-v2 response w/ new paymentParameters

* Bump version to 7.10.0
  • Loading branch information
nanuuki authored May 23, 2019
1 parent 189062b commit 3298403
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "maas-schemas",
"version": "7.9.0",
"version": "7.10.0",
"description": "Schemas for MaaS infrastructure",
"main": "index.js",
"engine": {
Expand Down
60 changes: 59 additions & 1 deletion schemas/maas-backend/bookings/v2/bookings-create/response.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,64 @@
"definitions": {
"avainpayPaymentParameters": {
"anyOf": [
{
"type": "object",
"description": "JSAPI payment parameters @ v1.0.2",
"properties": {
"return_code": {
"description": "The return code, usually 'SUCCESS'",
"type": "string"
},
"appid": {
"description": "App Id",
"type": "string"
},
"sub_appid": {
"description": "Submerchant app ID",
"type": "string"
},
"mch_id": {
"description": "Merchant ID",
"type": "string"
},
"sub_mch_id": {
"description": "Submerchant ID",
"type": "string"
},
"nonce_str": {
"description": "Nonce string",
"type": "string"
},
"result_code": {
"description": "The result code, usually 'SUCCESS'",
"type": "string"
},
"prepay_id": {
"description": "WeChat's prepay ID",
"type": "string"
},
"trade_type": {
"description": "Trade type",
"type": "string"
},
"code_url": {
"description": "WeChat's code URL",
"type": "string"
},
"sign": {
"description": "WeChat's message signature",
"type": "string"
},
"paySign": {
"description": "WeChat's payment signature",
"type": "string"
},
"timeStamp": {
"description": "Timestamp",
"type": "string"
}
}
},
{
"type": "object",
"description": "JSAPI payment parameters",
Expand Down Expand Up @@ -71,7 +129,7 @@
"type": "string"
},
"sub_mch_id": {
"description": "Our sub-merchant ID",
"description": "Sub-merchant ID",
"type": "string"
},
"nonce_str": {
Expand Down

0 comments on commit 3298403

Please sign in to comment.