Retrieve a customer
Retrieves the details of an existing customer.
Request Parametersโ
Path & Query Parametersโ
Parameters
Responsesโ
200 Successful responseโ
Returns a Customer object.
401 undefinedโ
404 undefinedโ
Code Samplesโ
- cURL
- Ruby
- Python
- Node.js
curl https://api.omise.co/customers/:id \
-u skey_test_5xuy4w91xqz7d1w9u0t:
require 'omise'
Omise.api_key = 'skey_test_5xuy4w91xqz7d1w9u0t'
retrieveCustomer = Omise::Customer.retrieve
import omise
omise.api_secret = 'skey_test_5xuy4w91xqz7d1w9u0t'
retrieveCustomer = omise.Customer.retrieve()
const omise = require('omise')({
secretKey: 'skey_test_5xuy4w91xqz7d1w9u0t'
});
const retrieveCustomer = await omise.customers.retrieve();
API Credentials
Try it outโ
Use the interactive form above to test this endpoint.