---
title: Pay Invoice
---

[Skip to content](#_top)

[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_invoice/methods/create)

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

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