POST
/
merchant
/
credit
/
get_promo_config
curl --request POST \
  --url https://api.unibee.top/merchant/credit/get_promo_config \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "currency": "<string>"
}'
{
  "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>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
currency
string

currency

Response

200 - application/json
code
integer
data
object
message
string
redirect
string
requestId
string