PaymentScenario
A single payment scenario.
More info: see the get operation and the payment scenarios endpoint.
Fields
Field | Description |
---|---|
id int (required) | Unique ID Example value:123 |
typeid int (required) | Type for the payment scenario. Can be ‘Immediate payment’ (2701), ‘Mollie bank transfer’ (2702), ‘Regular bank transfer’ (2703), ‘Deferred online payment’ (2704), ‘Deferred other’ (2705). Example value:2701 |
name mlstring (required) | Name of the payment scenario Example value:"VISA" |
availability PaymentscenarioAvailability (required) | Rules that define in what conditions this payment scenario is available Example value:{ "saleschannels": [ 14 ], "usescript": false } |
bankaccountbeneficiary string | Beneficiary for the bank account number. Only used for type 2703 (Regular bank transfer) Example value:"Ticketmatic BVBA" |
bankaccountbic string | BIC code for the bank account number. Only used for type 2703 (Regular bank transfer) Example value:"KREDBEBB" |
bankaccountnumber string | Bank account number to be used. Only used for type 2703 (Regular bank transfer) Example value:"BE12 3456 7890 1234" |
expiryparameters PaymentscenarioExpiryParameters (required) | Rules that define when an order becomes expired. Not used for type 2701. Example value:{ "daysaftercreation": 28 } |
feedescription mlstring (required) | A very short description of the fee that is applicable. Example value:"+ 1€" |
internalremark string | An internal remark, which is never shown to customers. Can be used to distinguish identically named payment scenarios. For example: You could have two "For websales only, box office uses different scenario with different fees." |
logo string (required) | Logo url Example value:"logos/paypal.svg" |
mailorganization bool (required) | Send mail to organization if known Example value:true |
ordermailtemplateid_expiry int (required) | Link to the order mail template that will be sent when the order is expired. Can be 0 to indicate that no mail should be sent. Not used for type 2701. Example value:345 |
ordermailtemplateid_overdue int (required) | Link to the order mail template that will be sent when the order is overdue. Can be 0 to indicate that no mail should be sent. Not used for type 2701. Example value:234 |
ordermailtemplateid_paymentinstruction int (required) | Link to the order mail template that will be sent as payment instruction. Can be 0 to indicate that no mail should be sent. Not used for type 2701. Example value:123 |
overdueparameters PaymentscenarioOverdueParameters (required) | Rules that define when an order becomes overdue. Not used for type 2701. Example value:{ "daysaftercreation": 14 } |
paymentmethods int[] (required) | Set of payment methods that are linked to this payment scenario. Depending on the type, this field has different usage. Example value:[ 23, 45, 12 ] |
shortdescription | Short description of the payment scenario, will be shown to customers Example value:"Will charge your VISA credit card. Note: fees apply." |
visibility string (required) | Parameter that sets the visibility of this scenario, can be either ‘FULL’ or ‘API’. Example value:"FULL" |
isarchived bool (required) | Whether or not this item is archived |
createdts timestamp (required) | Created timestamp Example value:"2014-09-26 15:24:36" |
lastupdatets timestamp (required) | Last updated timestamp Example value:"2014-09-26 15:24:36" |
This type can have custom fields
Example
1{
2 "id": 123,
3 "typeid": 2701,
4 "name": "VISA",
5 "availability": {
6 "saleschannels": [ 14 ],
7 "usescript": false
8 },
9 "bankaccountbeneficiary": "Ticketmatic BVBA",
10 "bankaccountbic": "KREDBEBB",
11 "bankaccountnumber": "BE12 3456 7890 1234",
12 "expiryparameters": {
13 "daysaftercreation": 28
14 },
15 "feedescription": "+ 1€",
16 "internalremark": "For websales only, box office uses different scenario with different fees.",
17 "logo": "logos/paypal.svg",
18 "mailorganization": true,
19 "ordermailtemplateid_expiry": 345,
20 "ordermailtemplateid_overdue": 234,
21 "ordermailtemplateid_paymentinstruction": 123,
22 "overdueparameters": {
23 "daysaftercreation": 14
24 },
25 "paymentmethods": [ 23, 45, 12 ],
26 "shortdescription": "Will charge your VISA credit card. Note: fees apply.",
27 "visibility": "FULL",
28 "isarchived": false,
29 "createdts": "2014-09-26 15:24:36",
30 "lastupdatets": "2014-09-26 15:24:36"
31}