Skip to main content

settings

Update Admin Charges

This endpoints allows you to adjust all the seetings that are peculiar to your solution, its required to enable you adjust the redemption flow for your customers.

Endpoint

POST /merchant-integrations/update-admin-charges

Update the configuration for admin charges.

If set to true, redemption charges, especially for onchain vouchers, will be deducted from your admin balance, that means, you need to ensure that you have a balance that will cover the charges, else, the charges will be taken from the users vouchers

Request Body

{
"takeChargesFromWallet": true
}

Response

{
"success": true,
"message": "Admin charges updated successfully"
}

Fetch Admin Charges

GET /merchant-integrations/fetch-admin-charges

Retrieve the current admin charges configuration.

On special occasions, the admin service can issue discounts for certain businesses.

Response

{
"message": "string",
"status": "string",
"code": 0,
"data": {
"redeemChargesFixRate": 0,
"redeemChargesPercentageDiscount": 0,
"takeChargesFromWallet": true
}
}