---
title: Pay Invoice
---

[Skip to content](#%5Ftop) 

[API Reference](https://developers.cloudflare.com/api/python)

[Accounts](https://developers.cloudflare.com/api/python/resources/accounts)

Copy Markdown

Open in **Claude**

Open in **ChatGPT**

Open in **Cursor**

---

**Copy Markdown**

**View as Markdown**

# Pay Invoice

##### [Pay Invoice](https://developers.cloudflare.com/api/python/resources/accounts/subresources/pay%5Finvoice/methods/create)

accounts.pay\_invoice.create(PayInvoiceCreateParams\*\*kwargs)  \-> [PayInvoiceCreateResponse](https://developers.cloudflare.com/api/python/resources/accounts#%28resource%29%20accounts.pay%5Finvoice%20%3E%20%28model%29%20pay%5Finvoice%5Fcreate%5Fresponse%20%3E%20%28schema%29)

POST/accounts/{account\_id}/pay-invoice

##### ModelsExpand Collapse 

class PayInvoiceCreateResponse: …

client\_secret: Optional\[str\]

The Stripe client secret for frontend payment confirmation.