Skip to main content
POST
Create a payment method

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
required

Provider name (e.g. imojeTransfer, zen)

Example:

"imojeTransfer"

displayName
string
required

Display name

Required string length: 1 - 100
Example:

"imoje"

shopId
string
required

Shop ID (ObjectId)

Pattern: ^[0-9a-fA-F]{24}$
Example:

"664f1a2b3c4d5e6f7a8b9c0d"

config
object
required

Provider config (API keys, etc.)

Example:
fees
object

Fees

channelFees
object[]

Per-channel fees

channels
object[]

Payment channels

currencies
string[]

Supported currencies

Example:
defaultCurrency
string

Default currency

Pattern: ^[A-Za-z]{3}$
Example:

"PLN"

limits
object

Amount limits

commission
object

Operator commission

flags
object

Gateway flags

testMode
boolean

Test mode

assignToAllProducts
boolean
default:true

Assign this method to all existing products at the standard price

Response

OK

success
boolean
Example:

true

data
object
message
string