Create a Pay By LinkAsk AIpost https://api.cloudbeds.com/payments/v2/pay-by-linkBody Paramspaiddoublerequired> 0The amount to charge via the payment link. Must be greater than 0descriptionstring | nullDescription of the created payment posted to folio. Explains what the payment is forinventoryObjectobjectrequiredInventory object that the payment is associated with.inventoryObject objectpropertyIdstringThe property ID associated with the inventory object. Must be a valid Cloudbeds property IDfolio_idint64 | null≥ 0The folio ID to associate the payment created with this pay by link to. If not provided, the payment will be associated to the default folioexpires_afterint320 to 30Defaults to 7Number of days the payment link remains valid. Maximum 30 daysauth_paymentbooleanDefaults to falsePayment capture method. Set to false for immediate payment collection, true for card authorization only (capture later via PMS UI)falsetruefalseHeadersX-Property-IdstringrequiredThe property ID of the clientacceptstringenumDefaults to application/jsonGenerated from available response content typesapplication/jsontext/plainAllowed:application/jsontext/plainResponses 200Successfully created pay by link 400Bad request 401Unauthorized 500Internal Server ErrorUpdated 7 months ago