List payment methods
curl --request GET \
--url https://api.turos.app/v1/billing/payment-methods \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.turos.app/v1/billing/payment-methods"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.turos.app/v1/billing/payment-methods', 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
List payment methods
List the current organization’s saved payment methods, primary first.
GET
/
v1
/
billing
/
payment-methods
List payment methods
curl --request GET \
--url https://api.turos.app/v1/billing/payment-methods \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.turos.app/v1/billing/payment-methods"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.turos.app/v1/billing/payment-methods', 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>"
}