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

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

    Customer id assigned by the payment platform.

    customerData

    object

    required

    firstName stringrequired

    Possible values: <= 50 characters

    First name of customer.

    lastName string

    Possible values: <= 50 characters

    Last name of customer.

    birthDate string

    Birthdate of customer.

    RFC 3339 Internet Date/Time Format full-date.

    gender string

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

    Gender of the customer.

    billingAddress1 string

    Possible values: <= 50 characters

    Line one of the customer's billing address.

    billingAddress2 string

    Possible values: <= 50 characters

    Line two of the customer's billing address.

    billingCity string

    Possible values: <= 50 characters

    City of the customer's billing address.

    billingPostcode string

    Possible values: <= 16 characters

    Postal code of the customer's billing address.

    billingState string

    Possible values: <= 30 characters

    State of the customer's billing address.

    billingCountry string

    Possible values: <= 2 characters

    Country of the customer's billing address.

    ISO 3166-1 alpha-2 country code.

    billingPhone string

    Possible values: <= 20 characters

    Phone number of the billed customer.

    company string

    Possible values: <= 50 characters

    Company of the customer.

    email string

    Possible values: <= 255 characters

    E-mail address of the customer.

    ipAddress string

    Possible values: <= 50 characters

    IPv4 or IPv6 address of the customer.

    nationalId string

    Possible values: <= 14 characters

    National id 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
    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.

    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.

    gender string

    Gender of the customer.

    ipAddress string

    IPv4 or IPv6 address of the customer.

    lastName string

    Last name of customer.

    nationalId string

    National id of the customer.

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