This endpoint requires authentication. Include your Bearer token in the Authorization header.
Code Examples
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Path Parameters
Payment Setting ID
Response
Success
curl --request DELETE \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/payment-setting/{id} \
  --header 'Authorization: Bearer <token>'{
  "message": "Payment setting deleted successfully."
}Delete Payment Setting
curl --request DELETE \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/payment-setting/{id} \
  --header 'Authorization: Bearer <token>'{
  "message": "Payment setting deleted successfully."
}const response = await fetch('https://server26-dot-royalti-project.uc.r.appspot.com/payment-setting/example-id', {
  method: 'DELETE',
  headers: {
    'Authorization': `Bearer ${token}`,
  },
});
const data = await response.json();
console.log(data);
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Payment Setting ID
Success