Create Payment Intent

The Payment intent is the contract between your backend and Lean to certify that you will request a payment from your customer of a specified amount and currency. In order to initiate a payment, the payment_intent_id must be provided into the pay() or checkout() method of the LinkSDK.

Body Params
uuid
required

The Customer you want to make a payment.

float
required

The amount that should be charged to the customer.

string
required
length between 3 and 3

The currency that the customer will make the payment in.

string

The description submitted to the bank as a reference when initiating a payment. Can be used for reconciliation. By default this value is a the Payment Intent UUID without hyphens but you can also specify the description upon creation of a payment intent.

string

Payment destination for where funds are settled into.

string
enum

A category code that relates to the type of services or goods that corresponds to the underlying purpose of the payment. The code must conform to the payment purpose code list.
Supported values:

  • FIS – Financial services
  • TCS – Telecommunication services
  • MWP – Mobile wallet card payments
  • OAT – Own account transfer
  • IFS – Information services
  • RNT – Rent payments
  • LNC – Loan charges
  • PIN – Personal investments
  • GDS – Goods bought or sold
Response

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