curl --request POST \
--url https://api.unibee.top/merchant/credit/edit_config \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"currency": "<string>",
"description": "<string>",
"discountCodeExclusive": 123,
"exchangeRate": 123,
"logo": "<string>",
"logoUrl": "<string>",
"metaData": {},
"name": "<string>",
"payoutEnable": 123,
"previewDefaultUsed": 123,
"rechargeEnable": 123,
"recurring": 123,
"type": 123
}'
{
"code": 123,
"data": {
"creditConfig": {
"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.top/merchant/credit/edit_config \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"currency": "<string>",
"description": "<string>",
"discountCodeExclusive": 123,
"exchangeRate": 123,
"logo": "<string>",
"logoUrl": "<string>",
"metaData": {},
"name": "<string>",
"payoutEnable": 123,
"previewDefaultUsed": 123,
"rechargeEnable": 123,
"recurring": 123,
"type": 123
}'
{
"code": 123,
"data": {
"creditConfig": {
"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.
The response is of type object
.