Creates a link to a payment form where guests can pay.
Creates a link to a payment form where guests can pay. To enable open invoice payment methods you need to provide at least the paid charges with the request. For some open invoice payment methods you also need to ensure that the full billing address of the folio is set, before you create the payment link. The payment will be processed asynchronously. Use the location header to poll for the status of the payment. As long as a payment is pending it reduces the amount of allowed payments for the folio.<br>You must have this scope: 'folios.manage'.<br>For fine-grained clients, you must have this permission: 'core.folio_payments.create'.
Request
- Base URLhttps://api.apaleo.com (the document declares no server; this is the origin it was published from)
- URLhttps://api.apaleo.com/finance/v0-nsfw/folios/{folioId}/payments/by-link
- AuthOAuth 2Implicit: https://identity.apaleo.com/connect/authorizeScopes: folios.manage, admin
Path parameters
Headers
Unique key for safely retrying requests without accidentally performing the same operation twice. We'll always send back the same response for requests made with the same key, and keys can't be reused with different request parameters. Keys expire after 24 hours.
Request body
Example request
{
"expiresAt": "2026-10-19T20:04:04.5956671Z",
"countryCode": "de",
"description": "Prepayment for the group booking apaleo Summer party",
"payerEmail": "0chai@hemenal5.space",
"returnUrl": "https://example.com/return",
"amount": {
"amount": 150,
"currency": "EUR"
},
"paidCharges": [
{
"chargeId": "BLIPKWXP-1-1-1",
"amount": 230
}
]
}Response
Payment was created and will be processed.
Changes
No recorded changes to this operation across all 4 revisions of this API.