Create or Update a Customer
Changed onCreates a new customer record in the merchant account. In cases when the customer was not created at the time an Authorization was established, use this endpoint to register customer details, such as name, email, and optional metadata, to support your integration.
If an existing customerId or externalId is provided, the specified customer will be updated with any new or updated properties. To remove properties of an existing customer, set the property to null. Before using this endpoint, it may be helpful to call Get Customer by ID to obtain the relevant customer object.
Request
- Base URLhttps://sandbox.trustly.one/api/v1
- URLhttps://sandbox.trustly.one/api/v1/customers
- AuthHTTP basic
Query parameters
The externalId that was passed when the Customer record was created.
Request body
Response
OK
Changes
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
HTTPBasicwas added to the API
- warning
- info
api operation id
post-customersremoved and replaced withcustomers_post-customers
- info