Customer
Use the Retrieve API to retreive a customer. A Created Customer has an ID used to request customer.
Retrieve A Customer
Retrieves a Customer object.
GET /v1/retrieve/customer/:paymentIdRetrieve Customers
Retrieves a Customer object.
GET /v1/retrieve/customers/const axios = require('axios');
const headers = {
authorization: 'key_<Your-Key>'
};
// Make the GET request
const response = await axios.get('https://<axxonpay-url-gateway>/v1/retreive/customer/:customerId', { headers });Parameters
| Parameter | Required/Optional | Type | Description |
|---|---|---|---|
| id | REQUIRED | String | ID of the Customer belongs to. Every payment processed has an ID, pass the ID to refund the charge created. |