The customer is the service user or the buyer of your online store. This API allows the registration, consultation of a particular client, and the listing of all registered customers.
Request attributes
Name | Description | Details |
---|---|---|
| Customer unique id. | String (65), |
| Customer full name. | String (90), |
| Customer Email. | String (45), |
| Customer phone. | Object, |
├─ | Phone DDI (International code). Possible value: | Integer (2), |
├─ | Phone DDD (Local code). | Integer (2), |
└─ | Phone number. | Integer (16), |
| Customer birthdate. | Date (YYYY-MM-DD), mandatory |
| Identity document | Object, mandatory |
├─ | Document type. Possible values: | String, |
└─ | Document number. | String (CPF:11 and CNPJ:14), |
| Customer shipping address | Object, |
├─ | Street name. | string(140), |
├─ | Number. | string(10), |
├─ | Complement. | string(140) |
├─ | District. | String, |
├─ | City. | String, |
├─ | State. 2 letter abbreviation. | String (2), |
├─ | Birth country. 3 letter abbreviation. Example: | String (3), |
└─ | Zipcode. | String (20), |
| Funding instruments. | Structured list |
├─ | Funding instruments structure. Possible values: | String |
├─ | Credit card structure. | Object |
├ ├─ | Encrypted credit card data. | String |
├ ├─ | Credit card number. (You must be within the PCI scope to send this field without encryption). | String (18) |
├ ├─ | Credit card expiration month. (You must be within the PCI scope to send this field without encryption). | Integer (2) |
├ ├─ | Credit card expiration year. | Integer (4) |
├ ├─ | Credit card CVC. | Integer |
├ ├─ | Credit card unique code (Generated by Wirecard). | string(16), |
├ ├─ | Credit card brand. Possible values: | String, |
├ ├─ | Credit card first six digits. | Integer, |
├ ├─ | Credit card last four digits. | Integer, |
├ ├─ | Credit card holder. | Structured |
├ ├ ├─ | Determines when creating a payment whether the credit card used should be saved to 1Click2Buy (default: | Boolean |
├ ├ ├─ | Credit card holder name. | String (65) |
├ ├ └─ | Credit card holder birthdate. | Date (YYYY-MM-DD) |
├ ├─ | Credit card holder phone | Structured |
├ ├ ├─ | Phone DDI (International code). Possible value: | Integer (2) |
├ ├ ├─ | Phone DDD (Local code). | Integer (2) |
├ ├ └─ | Phone number. | Integer (16) |
├ ├─ | Identity document. | Structured |
├ ├ ├─ | Document type. Possible values: | String (4) |
├ ├ └─ | Document number. | String (CPF:11 and CNPJ:14) |
└ └─ | Billing address. | Object |
├─ | Street name. | String |
├─ | Number. | String |
├─ | Complement. | String |
├─ | District. | String |
├─ | City. | String |
├─ | State. 2 letter abbreviation. | String (2) |
├─ | Country. 3 letter abbreviation. Example: | String (3) |
└─ | Zipcode. | String (20) |
Callback Attributes
Name | Description | Type |
---|---|---|
| Credit card. | Object |
├─ | Credit card unique code (Generated by Wirecard). | String (16) |
├─ | Credit card brand. Possible values: | String |
├─ | Credit card first six digits. | Integer |
├─ | Credit card last four digits. | integer |