๐Payment Intents
A payment intent is used to define the payment details including currency, description, among other fields to complete the checkout options of your TurinPay button.
Create a Payment Intent
POST
https://api.turinpay.com/intents
This endpoint allows you to create a payment intent.
Headers
Name
Type
Description
X-API-Key
string
Authentication token from the API key belonging to the user
Request Body
Name
Type
Description
notificationUrl
string
Callback URL to send a notification once the payment is completed
orderId
string
Order id to link the payment intent
currency
string
Currency pair. Eg: EUR, USD
price
number
Ticket price for payment
{
"checkoutId": "5c754c2b-6b4f-4ce2-b9e3-8b320b890090",
"orderId": "5c754c2b8b320b890090",
"price": 23,
"currency": "EUR",
}
Last updated
Was this helpful?