Delete (detach) a payment method
DELETE
/payments/v1/payment-methods/
const url = 'https://api.nudova.dev/api/payments/v1/payment-methods/';const options = {method: 'DELETE', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://api.nudova.dev/api/payments/v1/payment-methods/ \ --header 'Authorization: <Authorization>'DELETE /api/v1/payment-methods/{id}/
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Media typeapplication/json