Skip to main content

Update profile

POST 

/:apiKey/updateProfile

Update a customer profile.

The response contains the updated customer data and information about the changed fields.

In case of any errors due to invalid requests, invalid configuration or any other unexpected reason, the system will answer with a generic error response.

Request

Path Parameters

    apiKey stringrequired

    API Key of Connector

Body

required

Update a customer profile

    oneOf

    profileGuid stringrequired

    Customer id assigned by the payment platform.

    Possible values: >= 32 characters and <= 32 characters

    Example: CP-91ec-509a-3899-4f4f-a4ad-67fb

    customerData

    object

    required

    firstName stringrequired

    First name of customer.

    Possible values: <= 50 characters

    Example: Alex
    lastName string

    Last name of customer.

    Possible values: <= 50 characters

    Example: Smith
    birthDate string

    Birthdate of customer.

    RFC 3339 Internet Date/Time Format full-date.

    Example: 1970-01-01
    gender string

    Gender of the customer.

    Possible values: <= 1 characters, Value must match regular expression ^[MF]$

    Example: M
    billingAddress1 string

    Line one of the customer's billing address.

    Possible values: <= 50 characters

    billingAddress2 string

    Line two of the customer's billing address.

    Possible values: <= 50 characters

    billingCity string

    City of the customer's billing address.

    Possible values: <= 50 characters

    billingPostcode string

    Postal code of the customer's billing address.

    Possible values: <= 16 characters

    billingState string

    State of the customer's billing address.

    Possible values: <= 30 characters

    billingCountry string

    Country of the customer's billing address.

    ISO 3166-1 alpha-2 country code.

    Possible values: <= 2 characters

    billingPhone string

    Phone number of the billed customer.

    Possible values: <= 20 characters

    Example: +XX 1234567890
    company string

    Company of the customer.

    Possible values: <= 50 characters

    email string

    E-mail address of the customer.

    Possible values: <= 255 characters

    ipAddress string

    IPv4 or IPv6 address of the customer.

    Possible values: <= 50 characters

    Example: 198.51.100.123
    nationalId string

    National id of the customer.

    Possible values: <= 14 characters

    extraData

    object

    Object containing key-value pairs (string-to-string), to be used by either the upstream Adapter, the Risk Engine etc.

    property name* string
    preferredInstrument string

    Possible values: >= 24 characters and <= 24 characters

Responses

Update a customer profile

Schema

    success boolean
    profileGuid string

    customer

    object

    _TYPE string
    billingAddress1 string

    Line one of the customer's billing address.

    billingAddress2 string

    Line two of the customer's billing address.

    billingCity string

    City of the customer's billing address.

    billingCountry string

    Country of the customer's billing address.

    ISO 3166-1 alpha-2 country code.

    billingPhone string

    Phone number of the billed customer.

    Example: +XX 1234567890
    billingPostcode string

    Postal code of the customer's billing address.

    billingState string

    State of the customer's billing address.

    birthDate string

    Birthdate of customer.

    RFC 3339 Internet Date/Time Format full-date.

    company string

    Company of the customer.

    email string

    E-mail address of the customer.

    extraData

    object

    Object containing key-value pairs (string-to-string), to be used by either the upstream Adapter, the Risk Engine etc.

    property name* string
    firstName string

    First name of customer.

    Example: Alex
    gender string

    Gender of the customer.

    ipAddress string

    IPv4 or IPv6 address of the customer.

    Example: 198.51.100.123
    lastName string

    Last name of customer.

    Example: Smith
    nationalId string

    National id of the customer.

    property name* any
    changedFields string[]
    property name* any
Loading...