List all customers
GET
https://us-central1-appgregator.cloudfunctions.net/stripe/customers/
Query Parameters
Name
Type
Description
name*
String
ft-4
connection_name*
String
stripe-1
limit
1
Headers
Name
Type
Description
x-api-key*
String
XXX
{
"object": "list",
"data": [
{
"id": "cus_NJNsg6BdEubDmW",
"object": "customer",
"address": null,
"balance": 0,
"created": 1675752984,
"currency": null,
"default_currency": null,
"default_source": null,
"delinquent": false,
"description": "test only",
"discount": null,
"email": "ronald@importir.org",
"invoice_prefix": "5AAA9D47",
"invoice_settings": {
"custom_fields": null,
"default_payment_method": null,
"footer": null,
"rendering_options": null
},
"livemode": false,
"metadata": {},
"name": null,
"next_invoice_sequence": 1,
"phone": null,
"preferred_locales": [],
"shipping": null,
"tax_exempt": "none",
"test_clock": null
},
{
"id": "cus_NJNpiyaF6ReOKN",
"object": "customer",
"address": null,
"balance": 0,
"created": 1675752824,
"currency": null,
"default_currency": null,
"default_source": null,
"delinquent": false,
"description": "test only",
"discount": null,
"email": "ronald@importir.org",
"invoice_prefix": "E9F058A4",
"invoice_settings": {
"custom_fields": null,
"default_payment_method": null,
"footer": null,
"rendering_options": null
},
"livemode": false,
"metadata": {},
"name": null,
"next_invoice_sequence": 1,
"phone": null,
"preferred_locales": [],
"shipping": null,
"tax_exempt": "none",
"test_clock": null
}
],
"has_more": true,
"url": "/v1/customers"
}
curl --location --request GET 'https://us-central1-appgregator.cloudfunctions.net/stripe/customers?name=ft-4&connection_name=stripe-1&limit=2' \
--header 'x-api-key: XXX'
var axios = require('axios');
var config = {
method: 'get',
url: 'https://us-central1-appgregator.cloudfunctions.net/stripe/customers?name=ft-4&connection_name=stripe-1&limit=2',
headers: {
'x-api-key': 'XXX'
}
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://us-central1-appgregator.cloudfunctions.net/stripe/customers?name=ft-4&connection_name=stripe-1&limit=2',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'x-api-key: XXX'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
Last updated