Payment Intents
Flex API Reference
Welcome to the Flex API reference docs. Here you'll find all the endpoints exposed by Flex, learn how to use them and what they return.
API Endpoint
https://api.withflex.com
List Payment Intents
Returns a list of payment intents
Parameters
No parameters available.
get/v1/payment_intents
RESPONSE
[]
Get Payment Intent
Retrieves the details of a PaymentIntent that has previously been created.
Parameters
No parameters available.
get/v1/payment_intents/{id}
RESPONSE
[]
Send Receipt
Send a receipt to customer for the associated payment
Parameters
No parameters available.
post/v1/payment_intents/receipt
RESPONSE
[]
Cancel Payment Intent
Cancels a PaymentIntent
Parameters
No parameters available.
post/v1/payment_intents/{id}/cancel
RESPONSE
[]