Create a customer
Creates a new customer object.
Request Parametersโ
Request Bodyโ
Body Parameters
Responsesโ
200 Customer created successfullyโ
Returns a Customer object.
400 undefinedโ
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'
createCustomer = Omise::Customer.post
import omise
omise.api_secret = 'skey_test_5xuy4w91xqz7d1w9u0t'
createCustomer = omise.Customer.post()
const omise = require('omise')({
secretKey: 'skey_test_5xuy4w91xqz7d1w9u0t'
});
const createCustomer = await omise.customers.post();
API Credentials
Try it outโ
Use the interactive form above to test this endpoint.