Get current payment method.
Returns the saved payment method details (last 4 digits, brand) and auto-billing status.
Requirements:
Example:
response = await client.get("/v1/organizations/billing/payment-method")
if response["has_payment_method"]:
print(f"Card: {response['payment_method']['card_brand']} ****{response['payment_method']['card_last4']}")
REQUIRED: Bearer token authentication using your API key. Format: 'Bearer sk_xxxxxxxxxxxxx'. You can create API keys in the Mixpeek dashboard under Organization Settings.
Successful Response