支付模块
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

api.go 2.5 KiB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. package adapay
  2. const SDK_VERSION = "1.3.1"
  3. const BASE_URL = "https://api.adapay.tech"
  4. const PAGE_BASE_URL = "https://page.adapay.tech"
  5. const PAYMENT_CREATE = "/v1/payments"
  6. const PAYMENT_QUERY = "/v1/payments/{payment_id}"
  7. const PAYMENT_LIST_QUERY = "/v1/payments/list"
  8. const PAYMENT_CLOSE = "/v1/payments/{payment_id}/close"
  9. const PAYMENT_CONFIRM = "/v1/payments/confirm"
  10. const PAYMENT_QUERY_CONFIRM = "/v1/payments/confirm/{payment_confirm_id}"
  11. const PAYMENT_QUERY_CONFIRM_LIST = "/v1/payments/confirm/list"
  12. const PAYMENT_REVERSE = "/v1/payments/reverse"
  13. const PAYMENT_QUERY_REVERSE = "/v1/payments/reverse/{reverse_id}"
  14. const PAYMENT_QUERY_REVERSE_LIST = "/v1/payments/reverse/list"
  15. const REFUND_CREATE = "/v1/payments/{payment_id}/refunds"
  16. const REFUND_QUERY = "/v1/payments/refunds"
  17. const BILL_DOWNLOAD = "/v1/bill/download"
  18. const QUERY_CASHS_STAT = "/v1/cashs/stat"
  19. const MEMBER_CREATE = "/v1/members"
  20. const MEMBER_CREATE_REALNAME = "/v1/members/realname"
  21. const MEMBER_QUERY = "/v1/members/{member_id}"
  22. const MEMBER_QUERY_LIST = "/v1/members/list"
  23. const MEMBER_UPDATE = "/v1/members/update"
  24. const SETTLE_ACCOUNT_CREATE = "/v1/settle_accounts"
  25. const SETTLE_ACCOUNT_QUERY = "/v1/settle_accounts/{settle_account_id}"
  26. const SETTLE_ACCOUNT_DELETE = "/v1/settle_accounts/delete"
  27. const SETTLE_ACCOUNT_DETAIL_QUERY = "/v1/settle_accounts/settle_details"
  28. const SETTLE_ACCOUNT_MODIFY = "/v1/settle_accounts/modify"
  29. const SETTLE_ACCOUNT_BALANCE = "/v1/settle_accounts/balance"
  30. const SETTLE_ACCOUNT_COMMISSIONS = "/v1/settle_accounts/commissions"
  31. const SETTLE_ACCOUNT_COMMISSIONS_LIST = "/v1/settle_accounts/commissions/list"
  32. const CORP_MEMBERS_CREATE = "/v1/corp_members"
  33. const CORP_MEMBERS_QUERY = "/v1/corp_members/{member_id}"
  34. const CREATE_CASHS = "/v1/cashs"
  35. const USER_IDENTITY = "/v1/union/user_identity"
  36. const WALLET_LOGIN = "/v1/walletLogin"
  37. const WALLET_PAY = "/v1/account/payment"
  38. const WALLET_CHECKOUT = "/v1/checkout"
  39. const QUERY_CHECKOUT_LIST = "/v1/checkout/list"
  40. const FAST_CARD_APPLY = "/v1/fast_card/apply"
  41. const FAST_CARD_CONFIRM = "/v1/fast_card/confirm"
  42. const FAST_CARD_LIST = "/v1/fast_card/list"
  43. const FAST_PAY_CONFIRM = "/v1/fast_pay/confirm"
  44. const FAST_PAY_SMS_CODE = "/v1/fast_pay/sms_code"
  45. const FREEZE_ACCOUNT_FREEZE = "/v1/settle_accounts/freeze"
  46. const FREEZE_ACCOUNT_FREEZE_LIST = "/v1/settle_accounts/freeze/list"
  47. const UnFREEZE_ACCOUNT_FREEZE = "/v1/settle_accounts/unfreeze"
  48. const UnFREEZE_ACCOUNT_FREEZE_LIST = "/v1/settle_accounts/unfreeze/list"
  49. const TRANSFER_CREATE = "/v1/settle_accounts/transfer"
  50. const TRANSFER_LIST = "/v1/settle_accounts/transfer/list"