Delete payment method
curl --request DELETE \
--url https://api.turos.app/v1/billing/payment-methods/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.turos.app/v1/billing/payment-methods/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.turos.app/v1/billing/payment-methods/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "error",
"id": "<string>",
"code": "<string>",
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {},
"traceparent": "<string>",
"hint": "<string>",
"docsUrl": "<string>"
}Billing
Delete payment method
Remove a saved payment method from the current organization.
DELETE
/
v1
/
billing
/
payment-methods
/
{id}
Delete payment method
curl --request DELETE \
--url https://api.turos.app/v1/billing/payment-methods/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.turos.app/v1/billing/payment-methods/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.turos.app/v1/billing/payment-methods/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "error",
"id": "<string>",
"code": "<string>",
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {},
"traceparent": "<string>",
"hint": "<string>",
"docsUrl": "<string>"
}