---
title: "Attempt invoice payment"
method: POST
path: "/invoices/{id}/payment/attempt"
tags: ["Invoices"]
---

# Attempt invoice payment

`POST /invoices/{id}/payment/attempt`

Use when paying an invoice with the customer's wallet balance (e.g. prepaid credits or balance applied at checkout).

## Path parameters

- `id` string, required

## Response `200`

OK

- SuccessResponse
  - `message` string

## Other responses

- `400` — Invalid request
- `404` — Resource not found
- `500` — Server error

---

[API](https://skmtc.net/flexprice/apis/flexprice-api-2.md) · [All operations](https://skmtc.net/flexprice/apis/flexprice-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/flexprice/flexprice-api-2/versions/da8f268dc77d/schema)
