put https://partner.gupshup.io/partner/app//capping
Use this API to update the Gupshup fee cap for a Gupshup app
Parameters
Parameters | Value | Description |
---|---|---|
Authorization | {{PARTNER_APP_TOKEN}} | Access Token for the application |
APP ID | {{APP_ID}} | Unique Identifier for Gupshup App |
cap | {{CAPPING_VALUE}} | Capping value. Values supported between: 50 to 750 |
Sample Request
curl --location --request PUT 'https://partner.gupshup.io/partner/app/{{APP_ID}}/capping' \
--header 'Authorization: {{PARTNER_APP_TOKEN}}' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'cap={{CAPPING_VALUE}}'
Sample Response
{
"status": "success"
}