Create a customer

Create a customer that has the information in the body of the request.

note

If you wish to save a customer's payment details using any of the available payment methods on the Revolut Checkout Widget (Revolut Pay, Card payments), you need to meet one of the following requirements:

  • Have a customer object with email and assign it to the order by providing customer.id
  • Create a new customer with, at least, customer.email during order creation

For more information, see: Charge a customer's saved payment method.

Request

Header Parameters
Header Parameters

Example: "Bearer sk_1234567890ABCdefGHIjklMNOpqrSTUvwxYZ_1234567890-Ab_cdeFGHijkLMNopq"

This parameter accepts the Merchant API Secret key to authorise requests coming from the merchant's backend.

It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a Bearer token.

info

For more information, see: Authentication

Request body
Body object

The full name of the customer.

The name of the customer's business.

The email address of the customer.

note

Uniqueness of customer's email address is not enforced. This means, you can create multiple customer objects with the same email address.

The phone number of the customer in E.164 format.

The birth date of the customer.

Response

Created

Response body
Body object

Permanent customer ID used to retrieve, update, and delete a customer.

The full name of the customer.

The name of the customer's business.

The phone number of the customer in E.164 format.

The date and time the customer was created.

The data and time the customer was last updated.

The email address of the customer.

The birth date of the customer.

Was this page helpful?