๐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 |
Last updated