Create a GatewayAsk AIpost https://api.shop-and-pay.com/v1.0/Gateway/Recent RequestsLog in to see full request historyTimeStatusUser Agent Retrieving recent requests…LoadingLoading…Query ParamsinstancestringrequiredYour Shop & Pay instance nameForm Dataamountint32requiredAmount of payment in cents.vatRatefloatDefaults to nullVAT Rate PercentagecurrencystringrequiredCurrency of payment (ISO code).skustringProduct stock keeping unitpurposestringThe purpose of the payment.successRedirectUrlstringURL to redirect to after successful payment.failedRedirectUrlstringURL to redirect to after failed payment.cancelRedirectUrlstringURL to redirect to after manual cancellation by shopper.basketarray of stringsList of all products (incl. shipping costs). The sum of all product amounts must match the amount parameter above. Basket products contains name, description, quantity and amount (in cents).basketADD stringpsparray of int32sList of PSPs to provide for payment. If empty all available PSPs are provied.pspADD int32pmarray of stringsList of payment mean names to displaypmADD stringpreAuthorizationbooleanDefaults to falseWhether charge payment manually at a later date (type authorization)reservationbooleanDefaults to falseWhether charge payment manually at a later date (type reservation)referenceIdstringAn internal reference id used by your system.fieldsstringThe contact data fields which should be stored along with paymentskipResultPagebooleanDefaults to falseSkip result page and directly redirect to success or failed URLchargeOnAuthorizationbooleanDefaults to falsepreAuthorization needs to be "true". This will charge the authorization during the first payment.validityint32Gateway validity in minutes.subscriptionStatebooleanDefaults to falseDefines whether the payment should be handled as subscription.subscriptionIntervalstringPayment intervalsubscriptionPeriodstringDuration of the subscriptionsubscriptionCancellationIntervalstringDefines the period, in which a subscription can be canceled.buttonTextarray of stringsChange the default button Text "Pay" to a custom StringbuttonTextADD stringlookAndFeelProfilestringUUID of the look and feel profile to use.successMessagestringCustom success message on result page.motobooleanDefaults to falseDefines whether the payment should be handled as MOTO.Response 200200Updated 11 months ago