FolioPayments
Set a payment to success.
Sets a payment to success and triggers the accounting. This API can also be called on failed or timed out payments<br>You must have this scope: 'payments.admin'.<br>For fine-grained clients, you must have this permission: 'core.folio_payments.commit'.
put/finance/v0-nsfw/folios/{folioId}/payments/{paymentId}/commit
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/{paymentId}/commit
- AuthOAuth 2Implicit: https://identity.apaleo.com/connect/authorizeScopes: payments.admin, admin
Path parameters
folioIdstring required
paymentIdstring required
The id of the payment.
Request body
Example request
{
"pspReference": "4325816867241937",
"paymentMethod": "VisaCredit",
"refundActionAllowed": "Online",
"capturedAmount": {
"amount": 210,
"currency": "EUR"
}
}Response
Success
Changes
No recorded changes to this operation across all 4 revisions of this API.