Create Payment Form (Pay by Link)

Accept payments by an SMS, email, or document.
Create a form that permits your customers to make card payments by link.

  • Payment forms are generated and managed by Lemonway.
  • Payment forms are publicly accessible, making it possible for anyone to pay with a valid link.
  • Payment by bank card is only supported.

Payment Scenerios:

  1. Benificary Wallet walletReceiver not specified
    You only specify walletPayer and not walletReceiver in the body parameters.
    They make a card payment and funds are transfered to the walletPayer (a designated wallet)

  2. Payer and Benificary Wallet defined

  3. Benificary pecified

Note: Deferred payment is not supported.

Body Params
string
length between 0 and 60

To cross-reference a buyer with a payment, use optId to help associate them with one another.
Note: Do not use special characters in this field, for example: #, @, and !.

string
length between 0 and 100

Associated with the Payer Wallet.
If this field is filled then the money reaches this wallet before arriving at the beneficiary wallet (via a transfer wallet to wallet). Important: Don't put the SC Wallet here, it won't work. You cannot debit the SC Wallet with a credit card.

string
length between 0 and 100

Beneficiary Wallet. If this field is not complete, then the end-user must to fill its value on the payment form. We recommend you complete the form instead of your end-user Don't put the SC Wallet here, it won't work. You cannot credit the SC Wallet with a credit card.

string

Amount or a range of the amount to be debited.

  1. If this field is configured with an interval (eg, 15.30-500.26) then the final customer will have to enter an appropriate amount in the form.
  2. If this field is not filled then the end-user can enter any amount to the form.
  3. If this field is filled with a precise value (eg 15.60), then the end-user has no choice in the amount field of the form. Amounts are given as integer numbers in cents. Note: If you enter a fixed amount
int32

Your Fee Amounts are given as integer numbers in cents

string
length between 0 and 140

Comment Regarding the Transaction

string
length between 0 and 255

URL redirection after the payment procedure is successfully finished

string
length between 0 and 255

URL redirection after the payment procedure is cancelled

string
length between 0 and 255

URL edirection after the payment procedure is failed

string
length between 0 and 255

Payer's First Name If this field is not filled then the end-user have to fill it in the payment form

string
length between 0 and 255

Payer's Last Name If this field is not filled then the end-user have to fill it in the payment form

string
length between 0 and 255

Payer's Email If this field is not filled then the end-user have to fill it in the payment form

string
length between 0 and 255

Link to a custom CSS Stylesheet The stylesheet should be publicly accessible via *HTTPS

string
length between 0 and 255
string
length between 0 and 255

At the end of the payment procedure, an HTTP POST message containing the payment status (PAID, ERROR, CANCEL) is sent to this address. It is possible that the same notification might be sent several times.

string
length between 0 and 255

Reserved for a future version

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).

Responses

401

Unauthorized

500

InternalServerError

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