PaymentscenarioExpiryParameters

The PaymentscenarioExpiryParameters can only be set when the Paymentscenario is of a type deferred payment.

It determines the moment in time when an order expires. It’s calculated as MIN(<order creation date> + daysafterordercreation, <date of first event in order> - daysbeforeevent). If deleteonexpiry is set to true, the order will be deleted.

Fields

FieldDescription
daysaftercreation
int 
(required)

The amount of days after the paymentscenario was set that the order becomes overdue.

Example value:14
daysafterordercreation
int 
(required)

DEPRECATED, use daysaftercreation. The amount of days after an order has been created that the order becomes overdue.

Example value:14
daysbeforeevent
int 
(required)

DEPRECATED, use daysaftercreation. The number of days before an event that an order becomes overdue.

Example value:5
deleteonexpiry
bool 
(required)

Indicates is the order will be deleted when it’s expired.

Example

1{
2    "daysaftercreation": 14,
3    "daysafterordercreation": 14,
4    "daysbeforeevent": 5,
5    "deleteonexpiry": false
6}