• France
status page
Demo shops
assistance
FAQContact support
Search
Categories
Tags
Europe (English)
France
Spain
Europe (English)
India
Homepage
Use cases
Create a payment
Create an installment payment
Create a multi-card (split) payment
Create a payment by Alias (Token)
Create a payment link
Create a recurring payment
Manage subscriptions
Manage your transactions (refund, cancel...)
Analyze your reports
API docs
Embedded Form
REST API
Hosted payment
Mobile payment
File exchange
SDD mandates by REST API
Snippets
Payment methods
Plugins
Marketplace
Guides
Merchant Back Office
Back Office Expert
Functional guides

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",
  ...
}
Jobs
Legal
GDPR
25.18-1.11