Skip to main content
POST
Shop-key variant: the path binding is enforced by ShopAccessGuard.

Autoryzacje

X-API-Key
string
header
wymagane

Parametry ścieżki

shopId
string
wymagane

Shop ID (ObjectId)

Treść

application/json
name
string
wymagane

Provider name (e.g. imojeTransfer, zen)

Przykład:

"imojeTransfer"

displayName
string
wymagane

Display name

Required string length: 1 - 100
Przykład:

"imoje"

shopId
string
wymagane

Shop ID (ObjectId)

Pattern: ^[0-9a-fA-F]{24}$
Przykład:

"664f1a2b3c4d5e6f7a8b9c0d"

config
object
wymagane

Provider config (API keys, etc.)

Przykład:
fees
object

Fees

channelFees
object[]

Per-channel fees

channels
object[]

Payment channels

currencies
string[]

Supported currencies

Przykład:
defaultCurrency
string

Default currency

Pattern: ^[A-Za-z]{3}$
Przykład:

"PLN"

limits
object

Amount limits

commission
object

Operator commission

flags
object

Gateway flags

testMode
boolean

Test mode

assignToAllProducts
boolean
domyślnie:true

Assign this method to all existing products at the standard price

Odpowiedź

OK

success
boolean
Przykład:

true

data
object
message
string