cURL
curl --request GET \ --url https://rest.compute.cudo.org/v1/billing-accounts/{id}/payment-methods \ --header 'Authorization: <api-key>'
{ "paymentMethods": [ { "card": { "brand": "<string>", "country": "<string>", "expMonth": "<string>", "expYear": "<string>", "fingerprint": "<string>", "last4": "<string>" }, "id": "<string>", "isDefault": true, "paypal": { "payerEmail": "<string>", "payerId": "<string>" }, "type": "<string>" } ] }
Retrieves the payment methods associated with a billing account.
API key authentication. API keys should be passed using the format Bearer API_KEY.
Bearer API_KEY
A successful response.
Show child attributes