Update payment method (currently only supports setting as default)
PUT
/payments/v1/payment-methods/
const url = 'https://api.nudova.dev/api/payments/v1/payment-methods/';const options = {method: 'PUT', 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 PUT \ --url https://api.nudova.dev/api/payments/v1/payment-methods/ \ --header 'Authorization: <Authorization>'PUT /api/v1/payment-methods/{id}/
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Media typeapplication/json