---
title: "Collect payment for a class booking by using the guest's saved credit/debit card"
method: POST
path: "/Catalog/Payments/Invoice/IntializeCloudPayment"
---

# Collect payment for a class booking by using the guest's saved credit/debit card

`POST /Catalog/Payments/Invoice/IntializeCloudPayment`

This API helps you to collect payment for the class booking by using the guest's saved credit/debit card.

You must specify appropriate details for the parameters in the API request body. For more information, refer to the **Request Body Parameters** table.

## Query parameters

- `transactionDetails` object
- `billingInfo` object
- `shippingInfo` object
- `paymentDetails` object

## Response `200`

200

- object
  - `InvoiceTransactionId` string
  - `PrintReciept` boolean
  - `TransactionId` string
  - `RequireSignature` boolean
  - `success` boolean
  - `ToastMessage` unknown
  - `Error` unknown
  - `HostedPaymentURL` unknown
  - `TokenFK` unknown
  - `ProcessingMessage` unknown

## Other responses

- `400` — 400

---

[API](https://skmtc.net/zenoti/apis/zenoti-authentication.md) · [All operations](https://skmtc.net/zenoti/apis/zenoti-authentication/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zenoti/zenoti-authentication/revisions/e628f892391a/schema)
