Skip to main content
Create Payment Methods for Machine

Authorizations

Authorization
string
header
required

Enter your Bearer token. It's required to authenticate API requests.

Path Parameters

MachineID
integer<int64>
required

The unique identifier of the machine.

Body

application/json

The payment methods to create for the machine.

MachineID
integer<int64>

The unique identifier of the machine associated with the payment method.

PaymentMethodID
integer<int32>

The unique identifier of the payment method.

ConvenienceFeePercentageBit
boolean | null

Indicates whether a convenience fee is applied as a percentage.

ConvenienceFeeValue
number<double>

The value of the convenience fee applied to the payment method.

LastUpdated
string<date-time>

The date and time when the payment method was last updated.

ExternalPaymentProviderUsername
string | null

The username used to authenticate with an external payment provider.

ExternalPaymentProviderPassword
string | null

The password used to authenticate with an external payment provider.

ExternalPaymentProviderTerminalID
string | null

The terminal ID provided by the external payment provider.

ExternalPaymentProviderLocationIdentifier
string | null

The location identifier used by the external payment provider.

PaymentMethodWorkingDays
object[] | null

The working days during which the payment method is active.

PaymentMethodCustomData
string | null

Custom data related to the payment method, provided as a string.

ConvenienceFeeBackupValue
number<double>

A backup value for the convenience fee in case the primary value is unavailable.

PaymentMethodQRString
string | null

A QR code string associated with the payment method.

Response

200 - application/json

The newly created payment methods for the specified machine.

MachineID
integer<int64>

The unique identifier of the machine associated with the payment method.

PaymentMethodID
integer<int32>

The unique identifier of the payment method.

ConvenienceFeePercentageBit
boolean | null

Indicates whether a convenience fee is applied as a percentage.

ConvenienceFeeValue
number<double>

The value of the convenience fee applied to the payment method.

LastUpdated
string<date-time>

The date and time when the payment method was last updated.

ExternalPaymentProviderUsername
string | null

The username used to authenticate with an external payment provider.

ExternalPaymentProviderPassword
string | null

The password used to authenticate with an external payment provider.

ExternalPaymentProviderTerminalID
string | null

The terminal ID provided by the external payment provider.

ExternalPaymentProviderLocationIdentifier
string | null

The location identifier used by the external payment provider.

PaymentMethodWorkingDays
object[] | null

The working days during which the payment method is active.

PaymentMethodCustomData
string | null

Custom data related to the payment method, provided as a string.

ConvenienceFeeBackupValue
number<double>

A backup value for the convenience fee in case the primary value is unavailable.

PaymentMethodQRString
string | null

A QR code string associated with the payment method.