Payment Method
amerta / payload-types / PaymentMethod
Interface: PaymentMethod
Defined in: payload-types.ts:2719
This interface was referenced by Config's JSON-Schema
via the definition "payment-method".
Properties
active?
optionalactive:boolean|null
Defined in: payload-types.ts:2773
Enable or disable this payment method
codSettings?
optionalcodSettings: {instructions?:string|null; }
Defined in: payload-types.ts:2742
instructions?
optionalinstructions:string|null
Instructions shown to user on the Thank You page
createdAt
createdAt:
string
Defined in: payload-types.ts:2788
currencies?
optionalcurrencies: (string|Currency)[] |null
Defined in: payload-types.ts:2761
If the sales channel currency is not supported by the payment method, the currency conversion will be handled at checkout using the first supported currency.
description?
optionaldescription:string|null
Defined in: payload-types.ts:2765
Internal description of this payment method
icons?
optionalicons: {id?:string|null;image:string|Media; }[] |null
Defined in: payload-types.ts:2781
Images/icons for this payment method
id
id:
string
Defined in: payload-types.ts:2720
label
label:
string
Defined in: payload-types.ts:2728
Label visible to customers at checkout
mamoPaySettings?
optionalmamoPaySettings: {liveApiKey?:string|null;testApiKey?:string|null;testMode?:boolean|null;webhookId?:string|null; }
Defined in: payload-types.ts:2748
liveApiKey?
optionalliveApiKey:string|null
testApiKey?
optionaltestApiKey:string|null
testMode?
optionaltestMode:boolean|null
webhookId?
optionalwebhookId:string|null
name
name:
string
Defined in: payload-types.ts:2724
Internal name for the payment method (e.g., 'Credit Card', 'PayPal')
order?
optionalorder:number|null
Defined in: payload-types.ts:2777
Order of this payment method in the list
publicDescription?
optionalpublicDescription:string|null
Defined in: payload-types.ts:2769
Description visible to customers
salesChannels
salesChannels: (
string|SalesChannel)[]
Defined in: payload-types.ts:2757
This payment method will only be available in the selected sales channels.
stripeSettings?
optionalstripeSettings: {publishableKey:string;secretKey:string;webhookId?:string|null;webhookSecret?:string|null; }
Defined in: payload-types.ts:2733
publishableKey
publishableKey:
string
secretKey
secretKey:
string
Stripe Secret Key (sk_...)
webhookId?
optionalwebhookId:string|null
webhookSecret?
optionalwebhookSecret:string|null
type
type:
"stripe"|"cod"|"mamo-pay"
Defined in: payload-types.ts:2732
Type of payment method
updatedAt
updatedAt:
string
Defined in: payload-types.ts:2787