curl --request POST \
--url https://api.unibee.dev/merchant/credit/config_list \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"currency": "<string>",
"types": [
123
]
}
'{
"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>"
}curl --request POST \
--url https://api.unibee.dev/merchant/credit/config_list \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"currency": "<string>",
"types": [
123
]
}
'{
"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>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
CreditConfig List Object
Show child attributes
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