constant

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package constant payment constant

Index

Constants

View Source
const (
	// CreateOrder creates order
	CreateOrder = "https://developer.toutiao.com/api/apps/ecpay/v1/create_order"

	// QueryOrder query order
	QueryOrder = "https://developer.toutiao.com/api/apps/ecpay/v1/query_order"

	// CreateSettle settle trade
	CreateSettle = "https://developer.toutiao.com/api/apps/ecpay/v1/settle"

	// QuerySettle query settle
	QuerySettle = "https://developer.toutiao.com/api/apps/ecpay/v1/query_settle"

	// UnsettleAmount query unsettle amount
	UnsettleAmount = "https://developer.toutiao.com/api/apps/ecpay/v1/unsettle_amount"

	// QueryPlatformOrder query platform order 自动结算结果查询
	QueryPlatformOrder = "https://developer.toutiao.com/api/apps/ecpay/v1/query_platform_order"

	// CreateRefund create refund
	CreateRefund = "https://developer.toutiao.com/api/apps/ecpay/v1/create_refund"

	// QueryRefund query refund
	QueryRefund = "https://developer.toutiao.com/api/apps/ecpay/v1/query_refund"

	// OrderPush order push
	OrderPush = "https://developer.toutiao.com/api/apps/order/v2/push"

	// QueryMerchantBalance query merchant balance
	QueryMerchantBalance = "https://developer.toutiao.com/api/apps/ecpay/saas/query_merchant_balance"

	// MerchantWithdraw merchant withdraws
	MerchantWithdraw = "https://developer.toutiao.com/api/apps/ecpay/saas/merchant_withdraw"

	// QueryWithdrawOrder query withdraws order
	QueryWithdrawOrder = "https://developer.toutiao.com/api/apps/ecpay/saas/query_withdraw_order"

	// QueryMerchantBill query merchant bill
	QueryMerchantBill = "https://developer.toutiao.com/api/apps/bills?"
)
View Source
const (
	// AsyncPay 异步支付类型
	AsyncPay = "payment"

	// AsyncSettle 异步结算类型
	AsyncSettle = "settle"

	// AsyncRefund 异步退款类型
	AsyncRefund = "refund"

	// AsyncWithdraw 异步提现类型
	AsyncWithdraw = "withdraw"

	// AsyncTransfer 异步转账类型
	AsyncTransfer = "transfer"

	// AsyncSettleFinish 异步结算完成类型 自动分账
	AsyncSettleFinish = "settle_finish"
)
View Source
const (
	// SettleFail 结算失败
	SettleFail = "FAIL"
	// SettleSuccess 结算成功
	SettleSuccess = "SUCCESS"
)
View Source
const (
	// LimitWx 屏蔽微信支付
	LimitWx = "LIMIT_WX"
	// LimitAli 屏蔽支付宝支付
	LimitAli = "LIMIT_ALI"
	// LimitDyzf 屏蔽抖音支付
	LimitDyzf = "LIMIT_DYZF"
)
View Source
const (
	// DisableMsgOne 是否屏蔽消息  1-屏蔽 0-非屏蔽
	DisableMsgOne = 1
	// DisableMsgZero 是否屏蔽消息  1-屏蔽 0-非屏蔽
	DisableMsgZero = 0
)
View Source
const (
	// Success 通知成功 0
	Success = 0

	// FailedToCheckTheSignature 验签失败
	FailedToCheckTheSignature = 400
)
View Source
const (
	// Alipay 提现渠道枚举值:alipay: 担保支付普通版支付宝,wx: 担保支付普通版微信,hz: 担保支付普通版抖音支付,yzt: 担保支付企业版聚合账户
	Alipay = "alipay"
	// Wx 微信
	Wx = "wx"
	// Hz 抖音
	Hz = "hz"
	// Yzt 聚合账户
	Yzt = "yzt"
)
View Source
const (
	// Payment 支付账单 账单类型,包括 payment:支付账单,settle:分账账单,refund:退款账单,return:退分账账单,withdraw:提现账单,rebate:返佣账单,annual_rebate:年框返佣账单
	Payment = "payment"
	// Settle 分账账单
	Settle = "settle"
	// Refund 退款账单
	Refund = "refund"
	// Return 退分账账单
	Return = "return"
	// Withdraw 提现账单
	Withdraw = "withdraw"
	// Rebate 返佣账单
	Rebate = "rebate"
	// AnnualRebate 年框返佣账单
	AnnualRebate = "annual_rebate"
)
View Source
const (
	// SyncAppName 小程序
	SyncAppName = "douyin"
)

应用名称

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL