View Categories

Get fee

< 1 min read

Use this POST request to retrieve the service fee, which is deducted based on the amount provided in the request body.

{{base_url}}/api-services/v1/invoice/fees

Headers

Parameter NameValueMendatoryDescription
apikeyStringYesyour API key (provided by RichattPay)

Body

{
    "amount"  : 50,
    "codeService" : "INVOICE_PAYOUT"
}

Example of successful response

{
    "fee": 0.5
}

Examples of error response

Status()