Payment Intent

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.

Production Endpoint
https://api.withflex.com
Staging Endpoint
https://api-stg.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
[]

Cancel Payment Intent

Cancels a PaymentIntent

Parameters

No parameters available.

post/v1/payment_intents/{id}/cancel
RESPONSE
[]