Create a Payment AgreementAsk AIpost https://api.sandbox.eu.ppro.com/v1/payment-agreementsBody ParamspaymentMethodstringrequiredlength ≥ 1The payment method which should be used to process the payment charge.paymentMediumstringenumDefaults to ECOMMERCEThe payment medium.ECOMMERCEMOTOPOSAllowed:ECOMMERCEMOTOPOSdescriptionstringlength between 0 and 100The description of the agreementmerchantPaymentAgreementReferencestringThe merchant payment agreement reference.frequencyobjectThe frequency of payment chargesfrequency objectstartDatedate-timeThe start date of the agreementendDatedate-timeThe end date of the agreementamountobjectDefines the amount of each subsequent payment charge. Defined in conjunction with 'amountType'.amount objectamountTypestringenumDefines if the provided 'amount' is a maximum value or an exact value.MAXEXACTVARIABLEAllowed:MAXEXACTVARIABLEinstrumentIdstringThe identifier of an existing payment instrument. Instruments are used for account on file payments.instrumentPayment Instrument (BANCONTACT_ACCOUNT)Payment Instrument (BANK_ACCOUNT)Payment Instrument (CARD_NETWORK_TOKEN)Payment Instrument (MOCK)Payment Instrument (PASSTHROUGH_WALLET)Payment Instrument (UPI_AUTOPAY)Payment Instrument (CARD_PPRO_VAULTED)Payment Instrument (RAW_CARD)The payment instrumentPayment Instrument (BANCONTACT_ACCOUNT) objectpaymentSessionIdstringThe identifier of the associated payment-session. Payment-sessions are created by the drop-in UI.consumerobjectrequiredThe consumer details.consumer objectwebhooksUrlstringThe URL to which the agreement state changes will be notifiedinitialPaymentChargeobjectAn initial payment charge to be created when initializing the agreement in a "link and pay" journeyinitialPaymentCharge objectauthenticationSettingsarrayThe authorization authentication settings.authenticationSettingsADD Authentication SettingsinitialSchemeAuthorizationReferencestringThe initial scheme authorization reference, eg. for cards network transaction identifier (NTI)labelsobjectCustom labels associated with the payment agreement.Add Labels objectHeadersMerchant-IdstringrequiredThe merchant identifier.Responses 200OK 504Call to the upstream dependency timed out.Updated 6 months ago