Create payment sessionAsk AIpost https://api.sandbox.eu.ppro.com/v1/payment-sessionsCreates a new Payment Session.Body ParamsamountobjectrequiredThe amount to be authorized.amount objectamountTypestringenumDefines if the provided 'amount' is a maximum value or an exact value. This field is relevant only for recurring payments.MAXEXACTVARIABLEAllowed:MAXEXACTVARIABLEconsumerobjectrequiredThe consumer details.consumer objectrecurringbooleanrequiredIndicates whether this is a recurring payment which needs the creation of a payment-agreement.truefalsewebhooksUrlstringThe URL to which the agreement state changes will be notifiedauthenticationSettingsarrayauthenticationSettingsADD Authentication SettingspaymentDescriptorstringThe payment descriptor (arbitrary string). May be presented to the consumer.merchantPaymentChargeReferencestringThe merchant payment charge reference.merchantPaymentAgreementReferencestringThe merchant payment agreement reference.paymentAgreementIdstringID of an existing payment-agreement with the consumerorderobjectThe order details.order objectinitialPaymentChargeobjectAn initial payment charge to be created when initializing the agreement in a "link and pay" journeyinitialPaymentCharge objectfrequencyobjectfrequency objectstartDatedate-timeThe start date of the agreementendDatedate-timeThe end date of the agreementautoCapturebooleanIndicates whether the payment charge should be automatically captured after a successful authorization.falsetruefalselabelsobjectCustom labels associated with the payment charge or agreement.Add Labels objectHeadersMerchant-Idstringrequiredlength ≥ 1acceptstringenumDefaults to application/jsonGenerated from available response content types*/*application/jsonAllowed:*/*application/jsonResponses 200OK 400Invalid request.Updated 7 months ago