GET /openapi/memorylake/admin/v1/billing/payment-methods
Lists the saved cards: brand, last four digits, expiry and which one is the default. Adding, removing and choosing the default are done in the console.
Permission required:credits:manage
curl -X GET 'https://app.memorylake.ai/openapi/memorylake/admin/v1/billing/payment-methods' \ -H 'Authorization: Bearer sk_xxxxxx'
Response
object
Show Load More Response Payment Method object
array
List of items in the current page
Show Payment Method object
boolean
Used for automatic top-ups and renewals
string
Payment method type, e.g. card
string
Card brand, e.g. visa
integer
Expiry month, 1–12
integer
Expiry year
string
Last four digits
string
Token to fetch the next page; absent on the last page
integer
Total number of items matching the filter across all pages; omitted when the count is unavailable