---
title: "POST /api/v{version}/BookingSlot/CreatePaymentByDefaultPaymentMethod"
method: POST
path: "/api/v{version}/BookingSlot/CreatePaymentByDefaultPaymentMethod"
tags: ["BookingSlot"]
---

# POST /api/v{version}/BookingSlot/CreatePaymentByDefaultPaymentMethod

`POST /api/v{version}/BookingSlot/CreatePaymentByDefaultPaymentMethod`

## Request

- Base URL: `https://api.trucklots.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.trucklots.com/api/v{version}/BookingSlot/CreatePaymentByDefaultPaymentMethod`
- Auth: API key in header `Authorization` and API key in header `X-Partner-Authorization`

## Path parameters

- `version` string, required

## Request body

- CreatePaymentByDefaultPaymentMethodRequest
  - `paymentMethodId` string, nullable
  - `isShareInvoiceToSavedReceipent` boolean
  - `scheduledDate` string, nullable
  - `bookingId` string, uuid, nullable
  - `customInvoiceId` string, uuid, nullable
  - `isPaymentDoInstantly` boolean

## Response `200`

OK

- CreatePaymentByDefaultPaymentMethodResponse
  - `message` string, nullable
  - `status` boolean
  - `data` unknown
  - `notificationData` unknown
  - `totalRecords` integer, nullable
  - `isPaymentFuture` boolean

---

[API](https://skmtc.dev/trucklots/apis/trucklot-parking-api.md) - [All operations](https://skmtc.dev/trucklots/apis/trucklot-parking-api/llms.txt) - [OpenAPI document](https://skmtc.dev/trucklots/apis/trucklot-parking-api/revisions/c49b46a3c7f3?raw)
