Customer
Input parameters
| Name | Type | Details | Mandatory | Description |
|---|---|---|---|---|
| firstname | string | Max length 100 | N* | The customer’s firstname. * Required if the payment method is OPENBANKING. |
| lastname | string | Max length 100 | N* | The customer’s lastname. * Required if the payment method is OPENBANKING. |
| string | Valid email address | Y | The customer email address. | |
| language | string | en | fr | it | de | es | nl | N | The customer language (ISO-639-1). |
| ip | string | Valid IP address | Y | The customer's public ip address. |
| reference | string | UNIQUE, [ -~]+ - max: 85 ascii printable characters | N | Your customer’s reference. |
| address_country | string | [A-Z]2 | N | The customer’s address’ alpha-2 country code (ISO 3166-1). |
| login | string | Max length 150 | N | The customer’s login. |
| password_hash | string | Max length 64 | N | The customer’s password hash. |
| billing_address | array | Billing address | N | The customer’s billing address. |
Example
{
"firstname": "John",
"lastname": "Doe",
"email": "test@domain.com",
"reference": "ref-1234",
"language": "en",
"address_country": "FR",
"billing_address": {
"address1": "3B, SysPay",
"address2": "Wied Ghomor Street",
"city": "St. Julians",
"country": "MT",
"postal_code": "STJ2041"
}
}