Refund

Refunds

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 Refunds

Returns a list of all refunds you’ve previously created.

Parameters

No parameters available.

get/v1/refunds
RESPONSE
[]

Create Refund

Creates a new refund object and refund the specified payment.

Parameters

No parameters available.

post/v1/refunds
RESPONSE
[]

Get Refund

Retrieves the details of an existing refund.

Parameters

No parameters available.

get/v1/refunds/{refund_id}
RESPONSE
[]