Credit
Get Credit Config list
Member Authentication
Merchant
Credit
Promo Credit
Discount
User Discount
Email Template
Gateway
- POSTPayment Gateway Archive
- GETPayment Gateway
- POSTPayment Gateway
- POSTPayment Gateway Edit
- POSTPayment Gateway Country Config Edit
- POSTEdit Payment Gateway Sort
- GETGet Payment Gateway List
- POSTPayment Gateway Setup
- POSTExchange Rate Api Setup
- GETGet Payment Gateway Setup List
- POSTPayment Gateway Webhook Setup
- POSTWire Transfer Edit
- POSTWire Transfer Setup
- POSTSegment Setup
Invoice
- POSTAdmin Cancel Invoice
- POSTDelete Pending Invoice
- GETInvoice Detail
- POSTInvoice Detail
- POSTInvoice Edit
- POSTFinish Invoice
- GETGet Invoice List
- POSTGet Invoice List
- POSTMark Invoice Refund
- POSTMark Invoice Refund As Success
- POSTMark Wire Transfer Invoice As Success
- POSTNew Invoice
- POSTGenerate Invoice PDF
- POSTUpdate Invoice PDF
- POSTAdmin Reconvert Crypto Data and Send Invoice Email
- POSTCreate InvoiceRefund
- POSTSend Invoice Email
Admin Member
Metric
Metric Event
Payment
- POSTCancel Payment
- POSTCapture Payment
- GETPayment Detail
- GETGet OneTime Payment Item List
- GETGet Payment List
- POSTDelete Payment Method
- GETPayment Method
- GETPayment Method List
- POSTCreate New Payment Method
- POSTNew Payment
- POSTCancel Payment Refund
- GETPayment Refund Detail
- GETGet Payment Refund List
- POSTNew Payment Refund
- GETGet Payment TimeLine List
- POSTGet Payment TimeLine List
Plan
Product
Search
Session
Subscription Update
Subscription
- POSTAppend Subscription TrialEnd
- POSTCancel Subscription Immediately
- POSTCancel Subscription At Period End
- POSTCancel Last Cancel Subscription At Period End
- POSTChange Subscription Gateway
- POSTCreate Subscription Preview
- POSTCreate Subscription
- GETSubscription Detail
- POSTSubscription Detail
- GETGet Subscription List
- POSTGet Subscription List
- GETSubscription Next Invoice Preview
- GETUser Pending Crypto Subscription Detail
- POSTUser Pending Crypto Subscription Detail
- GETUser Subscription Detail
- POSTUser Subscription Detail
Subscription Note
Subscription Config
Subscription Payment
Subscription Timeline
User
- GETGet User Admin Note List
- POSTGet User Admin Note List
- POSTChange User Email
- POSTChange User Default Gateway
- POSTClear AutoCharge Method
- GETUser Count
- GETGet User Profile
- GETUser List
- POSTUser List
- POSTNew User
- POSTNew Admin Note
- POSTResume User
- GETUser Search
- POSTUser Search
- POSTSuspend User
- POSTUpdate User Profile
Vat Gateway
Credit
Get Credit Config list
GET
/
merchant
/
credit
/
config_list
curl --request GET \
--url https://api.unibee.top/merchant/credit/config_list \
--header 'Authorization: Bearer <token>'
{
"code": 123,
"data": {
"creditConfigs": [
{
"createTime": 123,
"currency": "<string>",
"description": "<string>",
"discountCodeExclusive": 123,
"exchangeRate": 123,
"id": 123,
"logo": "<string>",
"logoUrl": "<string>",
"merchantId": 123,
"metaData": {},
"name": "<string>",
"payoutEnable": 123,
"previewDefaultUsed": 123,
"rechargeEnable": 123,
"recurring": 123,
"totalDecrementAmount": 123,
"totalIncrementAmount": 123,
"type": 123
}
]
},
"message": "<string>",
"redirect": "<string>",
"requestId": "<string>"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
type list of credit account, 1-main account, 2-promo credit account
currency
Response
200 - application/json
CreditConfig List Object
create utc time
currency
description
discount code exclusive when purchase, default no, 0-no, 1-yes
keep two decimal places,multiply by 100 saved, 1 currency = 1 credit * (exchange_rate/100), main account fixed rate to 100
Id
logo image base64, show when user purchase
logo url, show when user purchase
merchant id
name
0-no, 1-yes
is default used when in purchase preview, default no, 0-no, 1-yes
0-no, 1-yes
apply to recurring, default no, 0-no,1-yes
the total decrement amount
the total increment amount
type of credit account, 1-main account, 2-promo credit account
curl --request GET \
--url https://api.unibee.top/merchant/credit/config_list \
--header 'Authorization: Bearer <token>'
{
"code": 123,
"data": {
"creditConfigs": [
{
"createTime": 123,
"currency": "<string>",
"description": "<string>",
"discountCodeExclusive": 123,
"exchangeRate": 123,
"id": 123,
"logo": "<string>",
"logoUrl": "<string>",
"merchantId": 123,
"metaData": {},
"name": "<string>",
"payoutEnable": 123,
"previewDefaultUsed": 123,
"rechargeEnable": 123,
"recurring": 123,
"totalDecrementAmount": 123,
"totalIncrementAmount": 123,
"type": 123
}
]
},
"message": "<string>",
"redirect": "<string>",
"requestId": "<string>"
}