Create a customer
Before creating a Payment Session, you need to create a customer. You can create a customer using the Customers APIAPI
.
Create a customer
Customer object
Create a Payment Session
To create a Payment SessionAPI
, you need to specify the amount, currency, customer, payment_method_types, and return_url. The return_url is where your customers will be redirected after the payment is completed.
Create a Payment Session
url parameter.
Payment Session object