Disable discounts for a payment method
Path parameters
-
ID of the paymentMethod
POST /payment-methods/{paymentMethodId}/disable-discounts
curl \
-X POST https://api.pace.cloud/pay/2024-3/payment-methods/93db55b6-a9ab-4597-a253-49a1718cea0a/disable-discounts \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (404)
{
"errors": [
{
"id": "string",
"links": {
"about": "string"
},
"status": "string",
"code": "string",
"title": "string",
"detail": "string",
"source": {
"pointer": "string",
"parameter": "string"
},
"meta": {}
}
]
}
Response examples (500)
{
"errors": [
{
"id": "string",
"links": {
"about": "string"
},
"status": "string",
"code": "string",
"title": "string",
"detail": "string",
"source": {
"pointer": "string",
"parameter": "string"
},
"meta": {}
}
]
}