---
title: Pay Invoice
---

[Skip to content](#%5Ftop) 

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

[Accounts](https://developers.cloudflare.com/api/go/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/go/resources/accounts/subresources/pay%5Finvoice/methods/create)

client.Accounts.PayInvoice.New(ctx, params) (\*[PayInvoiceNewResponse](https://developers.cloudflare.com/api/go/resources/accounts#%28resource%29%20accounts.pay%5Finvoice%20%3E%20%28model%29%20PayInvoiceNewResponse%20%3E%20%28schema%29), error)

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