setting_payment_options.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. {
  2. "status": 200,
  3. "message": "success",
  4. "data": {
  5. "options": {
  6. "MP-WEIXIN": {
  7. "client": "MP-WEIXIN",
  8. "name": "微信小程序端",
  9. "desc": "在微信小程序端付款时使用",
  10. "methods": [
  11. {
  12. "key": 1,
  13. "method": "wechat",
  14. "is_must_template": true,
  15. "template_id": 0,
  16. "is_enable": false,
  17. "is_default": false,
  18. "others": []
  19. },
  20. {
  21. "key": 2,
  22. "method": "balance",
  23. "is_must_template": false,
  24. "template_id": 0,
  25. "is_enable": true,
  26. "is_default": false,
  27. "others": []
  28. }
  29. ]
  30. },
  31. "H5": {
  32. "client": "H5",
  33. "name": "H5端",
  34. "desc": "在H5端付款时使用",
  35. "methods": [
  36. {
  37. "key": 1,
  38. "method": "wechat",
  39. "is_must_template": true,
  40. "template_id": 0,
  41. "is_enable": false,
  42. "is_default": false,
  43. "others": []
  44. },
  45. {
  46. "key": 2,
  47. "method": "alipay",
  48. "is_must_template": true,
  49. "template_id": 0,
  50. "is_enable": false,
  51. "is_default": false,
  52. "others": []
  53. },
  54. {
  55. "key": 3,
  56. "method": "balance",
  57. "is_must_template": false,
  58. "template_id": 0,
  59. "is_enable": true,
  60. "is_default": false,
  61. "others": []
  62. }
  63. ]
  64. },
  65. "WXOFFICIAL": {
  66. "client": "WXOFFICIAL",
  67. "name": "微信公众号端",
  68. "desc": "在微信公众号端付款时使用",
  69. "methods": [
  70. {
  71. "key": 1,
  72. "method": "balance",
  73. "is_must_template": false,
  74. "template_id": 0,
  75. "is_enable": true,
  76. "is_default": false,
  77. "others": []
  78. }
  79. ]
  80. },
  81. "APP": {
  82. "client": "APP",
  83. "name": "APP端",
  84. "desc": "在APP端付款时使用",
  85. "methods": [
  86. {
  87. "key": 1,
  88. "method": "wechat",
  89. "is_must_template": true,
  90. "template_id": 0,
  91. "is_enable": false,
  92. "is_default": false,
  93. "others": []
  94. },
  95. {
  96. "key": 2,
  97. "method": "alipay",
  98. "is_must_template": true,
  99. "template_id": 0,
  100. "is_enable": false,
  101. "is_default": false,
  102. "others": []
  103. },
  104. {
  105. "key": 3,
  106. "method": "balance",
  107. "is_must_template": false,
  108. "template_id": 0,
  109. "is_enable": true,
  110. "is_default": false,
  111. "others": []
  112. }
  113. ]
  114. }
  115. }
  116. }
  117. }