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