v1
latestOpenAPI 3.1.02026-07-2478315484.9 KBPayment Intents
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.
post/payments/v1/intents
Request body
Example request
{
"amount": 120.43
}Response
Example response
{
"currency": "AED"
}