Payment with capture delay

A time of capture of the transaction can be defined during the creation of an order. To do that, populate the "capture_delay" field with the desired number of days for the delay.

This value must be between 0 and 6:

POST https://secure.lyra.com/marketplace/orders

{
	"marketplace": "ebfb36ab-2d30-4326-adb9-e16b0c9a89f3",
	"reference": "MKP BURO example",
	"description": "Office supplies order",
	"currency": "EUR",
	"capture_delay": "3",

	...

}

To change the capture date of the transaction associated with an already executed order (status PENDING), you cannot use the field "capture_delay". You must populate "expected_capture_date" with the desired capture date, between the current date D and D + 6. The format of the date is "YYYYMMDDhhmmss".

PUT https://secure.lyra.com/marketplace/orders/515abac9-6cb2-4e21-8a25-b08d7e41e43c

{
	"marketplace": "ebfb36ab-2d30-4326-adb9-e16b0c9a89f3",
	"reference": "MKP BURO example",
	"description": "Office supplies order",
	"currency": "EUR",
	"expected_capture_date": "20190425193000",

	...

}