---
title: "Record a Credit Card Payment"
method: POST
path: "/v1/billing/invoices/{invoice_id}/credit_card_payment"
tags: ["Billing"]
---

# Record a Credit Card Payment

`POST /v1/billing/invoices/{invoice_id}/credit_card_payment`

## Request

- Base URL: `https://api.rocket.net`
- URL: `https://api.rocket.net/v1/billing/invoices/{invoice_id}/credit_card_payment`
- Auth: HTTP bearer

Used to create a credit card payment

## Path parameters

- `invoice_id` integer, required

## Response `200`

OK

- SuccessResponse
  - `success` boolean: whether the request succeeded
  - `errors` string[]
  - `messages` string[], nullable
  - `result` object
    - `success` boolean: whether the request succeeded

## Other responses

- `400`: Bad Request
- `401`: Authentication failed
- `403`: Not authorized to access endpoint
- `405`: Invalid input
- `412`: Precondition failed
- `500`: Internal error

---

[API](https://skmtc.dev/rocket/apis/rocket-net-api.md) - [All operations](https://skmtc.dev/rocket/apis/rocket-net-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rocket/apis/rocket-net-api/revisions/db0dcbbc5764?raw)
