payment.js 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. import icon_cashapp from "@assets/pay/icon_cashapp.svg";
  2. import icon_card from "@assets/pay/icon_card.svg";
  3. import icon_applePay from "@assets/pay/icon_apple.svg";
  4. import icon_googlePay from "@assets/pay/icon_google.svg";
  5. import icon_paypal from "@assets/pay/icon_paypal.svg";
  6. import icon_crypto from '@assets/pay/icon_crypto.svg';
  7. import icon_usdc from '@assets/pay/icon_usdc.svg';
  8. import icon_usdt from '@assets/pay/icon_usdt.svg';
  9. import icon_btc from '@assets/pay/icon_btc.svg';
  10. import icon_eth from '@assets/pay/icon_eth.svg';
  11. export const CryptoBonusPercent = 5;
  12. /**
  13. * 加密货币支付渠道分组ID
  14. */
  15. export const CryptoGroupId = 2;
  16. export const CryptoGroupName = "crypto";
  17. export const PayTypeMap = {
  18. //"1": "cashapp",
  19. "1": "credit_card",
  20. "2": "paypal",
  21. "4": "applepay",
  22. "8": "googlepay",
  23. "16": "btcpay",
  24. "32": "eth",
  25. "64": "usdt-trc20",
  26. "128": "usdt-erc20",
  27. "256": "usdc-trc20",
  28. "512": "usdc-erc20",
  29. "1024": "usdt",
  30. "2048": "usdc",
  31. }
  32. /**
  33. * 支付渠道分组 group_id
  34. */
  35. export const PayTypeGroup = {
  36. //1: "cashapp",
  37. 1: "credit_card",
  38. 2: "crypto"
  39. }
  40. /**
  41. * 支付显示配置
  42. * name: 全名称
  43. * short_name: 简称
  44. * icon: 图片
  45. */
  46. export const PaymentGears = {
  47. // "cashapp": {
  48. // name: "Cash App",
  49. // icon: icon_cashapp
  50. // },
  51. "credit_card": {
  52. name: "Card",
  53. icon: icon_card
  54. },
  55. "cashbtcpay": {
  56. name: "Btc Payment",
  57. short_name: "BTC",
  58. icon: icon_btc
  59. },
  60. "paypal": {
  61. name: "PayPal",
  62. icon: icon_paypal
  63. },
  64. "applepay": {
  65. name: "Apple Pay",
  66. icon: icon_applePay
  67. },
  68. "googlepay": {
  69. name: "Google Pay",
  70. icon: icon_googlePay
  71. },
  72. "crypto": {
  73. name: "Crypto",
  74. bonus_percent: CryptoBonusPercent,
  75. icon: icon_crypto
  76. },
  77. "eth": {
  78. name: "Eth",
  79. bonus_percent: CryptoBonusPercent,
  80. icon: icon_eth
  81. },
  82. "usdc": {
  83. name: "USDC",
  84. bonus_percent: CryptoBonusPercent,
  85. icon: icon_usdc
  86. },
  87. "usdt": {
  88. name: "USDT",
  89. bonus_percent: CryptoBonusPercent,
  90. icon: icon_usdt
  91. }
  92. }
  93. ///推荐档位
  94. export const RecommendGears = ["usdc", "credit_card"];
  95. export const WithdrawType = {
  96. //CashApp: 1,
  97. Credit_card: 1,
  98. Paypal: 2,
  99. }