GET /v1/billing/payment-methods
Tags: billing
Responses
200 — Saved card payment methods on the org's Stripe customer
JSON
{
"$ref": "#/components/schemas/ListPaymentMethodsResponse"
}Code samples
TypeScript
TypeScript
import { firecase } from "@firecase/sdk";
const result = await firecase.get("/billing/payment-methods");
console.log(result);Python
Python
import firecase
result = firecase.get("/billing/payment-methods")
print(result)curl
Bash
curl -X GET https://api.firecase.ai/v1/billing/payment-methods \
-H "Authorization: Bearer $FIRECASE_API_KEY" \
-H "Content-Type: application/json"