List all customers
Returns a list of your customers.
Request Parameters
Path & Query Parameters
Parameters
Responses
200 Successful response
Returns a CustomerList object.
401 undefined
Code Samples
- cURL
- Ruby
- Python
- Node.js
curl https://api.omise.co/customers \
-u skey_test_5xuy4w91xqz7d1w9u0t:
require 'omise'
Omise.api_key = 'skey_test_5xuy4w91xqz7d1w9u0t'
listCustomers = Omise::Customer.retrieve
import omise
omise.api_secret = 'skey_test_5xuy4w91xqz7d1w9u0t'
listCustomers = omise.Customer.retrieve()
const omise = require('omise')({
secretKey: 'skey_test_5xuy4w91xqz7d1w9u0t'
});
const listCustomers = await omise.customers.retrieve();
ข้อมูลยืนยันตัวตน API
Try it out
Use the interactive form above to test this endpoint.