Update my (as payment-gateway) details
PATCH/auth/payment-gateway
Update my (as payment-gateway) details
Request
- application/json
Body
Cents ID of the gateway
The name of the payment gateway
The registration date of the payment-gateway (YYYY-MM-DD format)
configuration
object
The color of the button (hex color code)
The AB value for configuration
List of sectors of charities to be excluded
List of charities to be exclude
List of sectors of charities to be included, if empty all charities will be included
List of charities to be included, if empty all charities will be included
Responses
- 200
- 401
- 422
successful operation
- application/json
- Schema
- Example (from schema)
Schema
Cents ID of the gateway
The name of the payment gateway
The registration date of the payment-gateway (YYYY-MM-DD format)
configuration
object
The color of the button (hex color code)
The AB value for configuration
List of sectors of charities to be excluded
List of charities to be exclude
List of sectors of charities to be included, if empty all charities will be included
List of charities to be included, if empty all charities will be included
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Nexi",
"registration_date": "2023-05-13",
"configuration": {
"button_color": "#FF0000",
"ab": 0.1
},
"charities_blacklist_sectors": [
[
"sector 1",
"sector 2"
]
],
"charities_blacklist": [
[
"charity_id_1",
"charity_id_2"
]
],
"charities_whitelist_sectors": [
[
"sector 1",
"sector 2"
]
],
"charities_whitelist": [
[
"charity_id_1",
"charity_id_2"
]
]
}
Unauthorized
Invalid input