Search buyer by email

get
/api/v2/buyers/email/{email}
lts

Endpoint is used to search for a buyer by email and merchant code, and returns buyerId in response.

Header parameters
Attribute
Requirement
Description
x-public-key
mandatory
a public key that identifies the merchant account (there can be several for one merchant)
x-buyer-ip
mandatory
is responsible for information about the buyer's IP address
x-date
mandatory
is responsible for the date and time of sending the request
x-token
mandatory
generated on the merchant side
x-source
mandatory
identifier of the type of service that is the initiator of the request
x-id
mandatory
service identifier from which the current request is made
Request parameters
Attribute
Type
Requirement
Description
Standard
email
string
mandatory
Buyer email
-
Response parameters
Attribute
Type
Description
data
object
Contains information of the found buyer
meta
array
Provides metadata about the response
In case if HTTP returns: 404(Not Found) - no buyer found and EMAIL FREE.
{
    "data": {
        "buyerId": "9a13bcc8-6c93-4eec-a4de-dadc0a2a656c"
    },
    "meta": []
}