Create New Pending Payment

Depending on your activated payment plans this call will let you setup a new payment plan.

Body Params
int64
required

Payment Plan ID

string

Defines if the payment should be captured right away or if the capture should be deferred. Possible values: Automatic and Manual. Default is set to 'Automatic'.

delivery
object
required
items
array of objects
required

Possible values:
PhysicalGood
Discount
ShippingFee
DigitalGood
ExternalPayment
Insurance

items*
customer
object
required
string
required

Return success url

string
required

Return error url

string
required

Return cancel url

string
length between 0 and 50

Unique ID of the call, generated by your server. This ID can be used as a search field when looking for operation details

string
required
length between 0 and 256

Payment Account ID to Credit

int32

Amount to Debit Amounts are given as integer numbers in cents

int32

Your Fee Amounts are given as integer numbers in cents

string
length between 0 and 140

Comment Regarding the Transaction

boolean

If true:

  1. [amountCom] will be ignored and will be replaced with Lemonway's fee
  2. You will not receive any fee
Headers
string
required

Authorization bearer (OAuth 2)

string

Response language accepted by final client (PSU). English by default

string
required

IP address of the final client (PSU).

string

User-agent of the final client (PSU).

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/json