Get Customers
Endpoint for getting all Customers.
info
Please be aware that this endpoint requires a Manage Customers API Key.
GET
/api/v1/groups/{group_id}/revere_pay/{linked_account_id}/customers/reporting
Query Parameters
| Name | Description | Type |
|---|---|---|
| limit | Optional parameter to limit the number of results in the query | uint64 |
| offset | The number of items to skip before starting to collect the result set. | uint64 |
| name | Name of the Customer | string |
| Email of the Customer | string | |
| first_name | First Name of the Customer | string |
| last_name | Last Name of the Customer | string |
| first_six | Card BIN attached to the Customer | string |
| last_four | Last four digits of the Card Number attached to the Customer | string |
Response
| Code | Description |
|---|---|
| 200 | Success |
| 500 | Internal Error |
Example Usage
- JavaScript
- Python
- Go
getAll.js
var headers = new Headers();
headers.append('Authorization', 'API_KEY');
var requestOptions = {
method: 'GET',
headers: headers,
redirect: 'follow'
};
const group_id = '';
const linked_account_id = '';
const url = `https://api.reverepayments.dev/api/v1/groups/${group_id}/revere_pay/${linked_account_id}/customers/reporting?limit=10&offset=0`;
fetch(url, requestOptions)
.then((response) => response.text())
.then((result) => console.log(result))
.catch((error) => console.log('error', error));
getAll.py
import requests
group_id = ""
linked_account_id = ""
url = "https://api.reverepayments.dev/api/v1/groups/"+group_id+"/revere_pay/"+linked_account_id+"/customers/reporting?limit=10&offset=0"
headers = {
'Authorization': 'API_KEY'
}
response = requests.request("GET", url, headers=headers)
print(response.text)
getAll.go
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
const group_id = ""
const linked_account_id = ""
url := "https://api.reverepayments.dev/api/v1/groups/" + group_id + "/revere_pay/" + linked_account_id + "/customers/reporting?limit=10&offset=0"
client := &http.Client{}
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "API_KEY")
res, _ := client.Do(req)
defer res.Body.Close()
bytes, err := io.ReadAll(res.Body)
if err != nil {
fmt.Println(err.Error())
return
}
fmt.Println(string(bytes))
}
Example Success Response
{
"data": {
"items": [
{
"id": "25f8fa96-5c96-4448-994c-c2b7281ed263",
"group_id": "9be095b0-4d8e-47a7-b44b-667e4e92b86c",
"first_name": "John",
"last_name": "Doe",
"email": "johndoe@reverepayments.com",
"cards": [
{
"card_id": "7aef4024-045b-4901-a5cc-b9a54ea19bb1",
"first_six": "411111",
"last_four": "1111",
"expiration": "11/26",
"brand": "Visa",
"card_type": "debit",
"card_category": "PERSONAL",
"holder_name": "John Doe",
"billing_address": {
"line1": "742 Evergreen Terrace",
"line2": "Apt 5B",
"city": "Springfield",
"subdivision": "IL",
"postal_code": "62704",
"country": "US"
},
"issuer": "Visa Sandbox",
"issuer_country": "US",
"regulated": true,
"commercial": false,
"card_on_file": true,
"created_at": "2025-07-21T12:43:14.964535Z",
"updated_at": "2025-07-21T12:43:14.964535Z"
}
],
"created_at": "2025-07-21T12:43:14.834027Z",
"updated_at": "2025-07-21T12:43:14.834028Z"
}
],
"total_count": 1
}
}