Get Customer
Endpoint for getting Customer by ID.
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/{customer_id}
Response
| Code | Description |
|---|---|
| 200 | Success |
| 500 | Internal Error |
Example Usage
- JavaScript
- Python
- Go
get.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 customer_id = '';
const url = `https://api.reverepayments.dev/api/v1/groups/${group_id}/revere_pay/${linked_account_id}/customers/${customer_id}`;
fetch(url, requestOptions)
.then((response) => response.text())
.then((result) => console.log(result))
.catch((error) => console.log('error', error));get.py
import requests
group_id = ""
linked_account_id = ""
customer_id = ""
url = "https://api.reverepayments.dev/api/v1/groups/"+group_id+"/revere_pay/"+linked_account_id+"/customers/" + customer_id
headers = {
'Authorization': 'API_KEY'
}
response = requests.request("GET", url, headers=headers)
print(response.text)get.go
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
const group_id = ""
const linked_account_id = ""
const customer_id = ""
url := "https://api.reverepayments.dev/api/v1/groups/" + group_id + "/revere_pay/" + linked_account_id + "/customers/" + customer_id
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
{
"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/29",
"brand": "Visa",
"card_type": "debit",
"card_category": "PERSONAL",
"holder_name": "John Doe",
"billing_address": {
"line_1": "742 Evergreen Terrace",
"line_2": "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": "2026-07-21T12:43:14.964535Z",
"updated_at": "2026-07-21T12:43:14.964535Z"
}
],
"created_at": "2026-07-21T12:43:14.834027Z",
"updated_at": "2026-07-21T12:43:14.834028Z"
}Automatic card updates
Saved cards are kept up to date automatically when the card network reports a new card number or a new expiration date. The card is updated in place:
card_idstays the same.first_six,last_four,expiration,brand,card_type,card_category,holder_name,issuer,issuer_country,regulated,commercialandupdated_atare refreshed.
No webhook is sent when a card is updated automatically. If you store card details on your side, fetch the Customer again to get the latest values. Each card number or expiration date update is billed as an Account Updater event based fee.
info
Automatic card updates may not be available with every gateway.