---
title: "Prepares payment by retrieving card details from Stripe, calculating fees, and updating payment intent"
method: POST
path: "/api/v1/ExternalPayment/{guid}/prepare-payment"
tags: ["ExternalPayment"]
---

# Prepares payment by retrieving card details from Stripe, calculating fees, and updating payment intent

`POST /api/v1/ExternalPayment/{guid}/prepare-payment`

## Request

- Base URL: `https://api.fireserviceusa.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.fireserviceusa.com/api/v1/ExternalPayment/{guid}/prepare-payment`
- Auth: none declared

## Path parameters

- `guid` string, required

## Request body

- PreparePaymentRequest: Request model for preparing a payment (retrieving card details, calculating fees, updating payment intent)
  - `PaymentMethodId` string, nullable
  - `CustomerEmail` string, nullable
  - `Amount` number, double, nullable: Optional: The amount to pay. If not provided or less than/equal to 0, uses the full unpaid invoice amount. Allows for partial payments.

## Response `200`

Success

---

[API](https://skmtc.dev/fireserviceusa/apis/fireservice-usa-p2-api.md) - [All operations](https://skmtc.dev/fireserviceusa/apis/fireservice-usa-p2-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fireserviceusa/apis/fireservice-usa-p2-api/revisions/96ea2ea68d87?raw)
