Create Payment LinkAsk AIpost https://api.getpinch.com.au/test/payment-linksBody Paramsamountint64requiredThe amount to be paid through the Payment linkpayerIdstringrequiredId of a Payer to create a Payment link for.descriptionstringrequiredThe description of the payment, shown on the payment page.currencystringCurrency to take payment in (Will default to Merchant currency if not specified)linkExpiryDatedateDateTime for the Payment Link to expireallowedPaymentMethodsarray of stringsrequiredList of Payment Methods that can be used to take Payment. (Options are credit-card and bank-account)allowedPaymentMethods*ADD stringsurchargePaymentMethodsarray of stringsPayment methods that a surcharge should be applied to when used. (Options are credit-card and bank-account)surchargePaymentMethodsADD stringreturnUrlstringrequiredUrl to redirect the user to once the payment has been completed. Parameters for paymentLinkId and paymentId will be added to redirected url.metadatastringMetadata is a free text field that you can use to store state against the Payment Link object, once Payment is complete the metadata will be passed onto the Payment object.Responses 200200 400400Updated 3 months ago