Payment with capture delay
A delay for capturing the transaction can be defined upon order creation. To do this, populate the capture_delay attribute with the desired number of days for the delay.
This value must be between 0 and 6:
Example:
Request
POST https://secure.lyra.com/marketplace/orders?expand=items
Body
{ "marketplace": "ebfb36ab-2d30-4326-adb9-e16b0c9a89f3", "reference": "MKP BURO example", "description": "Office supplies order", "currency": "EUR", "capture_delay": "3", ... }
The capture_delay attribute cannot be used for changing the capture date of the transaction associated with an already executed order (PENDING status). You must pass “expected_capture_date” with the desired capture date, between the current date (D) and D+6. The format of the date is “YYYYMMDDHHMMSS”.
Example:
Request
PUT https://secure.lyra.com/marketplace/orders/515abac9-6cb2-4e21-8a25-b08d7e41e43c
Body
{ "marketplace": "ebfb36ab-2d30-4326-adb9-e16b0c9a89f3", "reference": "Exemple MKP BURO", "description": "Commande fournitures", "currency": "EUR", "expected_capture_date": "20190425193000", ... }