cURL
curl --request GET \ --url https://api.example.com/api/v1/workspaces/{workspace_id}/billing/payment-info \ --header 'X-API-Key: <api-key>'
{ "invoices": [ { "amount_paid": 123, "currency": "<string>", "date": "2023-11-07T05:31:56Z", "hosted_invoice_url": "<string>", "id": "<string>", "invoice_pdf": "<string>", "status": "<string>" } ], "payment_method": { "brand": "<string>", "exp_month": 123, "exp_year": 123, "last4": "<string>" } }
Return the workspace’s default payment method and recent invoices from Stripe.
Documentation IndexFetch the complete documentation index at: https://docs.riftmap.dev/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.riftmap.dev/llms.txt
Use this file to discover all available pages before exploring further.
Successful Response
Show child attributes