Create Payment Method (Internal)

Creates a new payment method. Requires admin API key.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Headers

x-admin-api-keystringRequired

Request

This endpoint expects an object.
codestringRequired

Payment method code (unique)

namestringRequired
Payment method name
responseTypeenumRequired
Response type
Allowed values:
minAmountdoubleRequired
Minimum amount
requiredFieldsobjectRequired
Required fields configuration
providerCodeenumRequired
Provider code
Allowed values:
descriptionstringOptional
Payment method description
maxAmountdoubleOptional

Maximum amount (null for unlimited)

isActivebooleanOptionalDefaults to true
Is active

Errors