Delete Bulk Payment Settings
Description:
The /payment-setting/bulk/delete
endpoint allows deletion of multiple payment settings simultaneously.
Method:
POST
Request Payload:
Parameter | Type | Description |
---|---|---|
paymentSettingIds | array | Array of payment setting IDs to delete |
curl --request POST \
--url https://server26-dot-royalti-project.uc.r.appspot.com/payment-setting/bulk/delete \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"ids": [
"<string>"
]
}'
{
"message": "Payment settings deleted successfully",
"deletedCount": 3
}
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Success
The response is of type object
.
curl --request POST \
--url https://server26-dot-royalti-project.uc.r.appspot.com/payment-setting/bulk/delete \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"ids": [
"<string>"
]
}'
{
"message": "Payment settings deleted successfully",
"deletedCount": 3
}