Checkout API v72 introduces validations to the values that you send in API requests. To upgrade to this version, you must make sure that the data you send meets our validations.
Requirements
| Requirement | Description |
|---|---|
| Integration type | An online payments integration that uses Checkout API. |
| API credential roles | Make sure that you have the following role:
|
| Customer Area roles | Make sure that you have one of the following roles:
|
Validate the data that you send
Check that the values that you send in each parameter in the following table meets the validations.
| Parameter | Validation requirement |
|---|---|
billingAddress.postalCode |
Maximum length: 10 characters. |
billingAddress.stateOrProvinceCode |
Maximum length: 10 characters. |
captureDelayHours |
Maximum value: 672. This maximum value corresponds to 28 (twenty-eight) days. |
dateOfBirth |
Format requirement: Must be in ISO-8601 format with the date ( YYYY-MM-DD). Example: 2005-03-01 (March 1, 2025). |
deliveryAddress.postalCode |
Maximum length: 10 characters. |
deliveryAddress.stateOrProvinceCode |
Format requirement:
Maximum length:
|
entityType |
Possible values:
|
metadata |
Maximum lengths:
|
reference |
Maximum length: 80 characters. |
returnUrl |
Format requirement:
Maximum length:
|
shopperEmail |
Format requirements:
Maximum length:
|
shopperIP |
Maximum length: 256 characters. |
shopperName.firstName |
Maximum length: 100 characters. |
shopperName.lastName |
Maximum length: 100 characters. |
socialSecurityNumber |
Maximum length: 50 characters. |
telephoneNumber |
Maximum length: 64 characters. |