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.
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>"
}
]
}Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>
A successful response.
Show child attributes