Organization Billing
Get Payment Method
Changed onGet current payment method.
Returns the saved payment method details (last 4 digits, brand) and auto-billing status.
Requirements:
- Read permission
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']}")
get/v1/organizations/billing/payment-method
Request
- Base URL: https://api.mixpeek.com
- URL: https://api.mixpeek.com/v1/organizations/billing/payment-method
- Auth: HTTP bearer
Response
Successful Response
Example response
{
"payment_method": {
"type": "card",
"card_last4": "4242",
"card_brand": "visa"
}
}Changes
- warning
removed the optional property
from the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- warning
- info
the endpoint scheme security
BearerAuthwas added to the API
- info