Skip to main content
POST
Initial installment

Authorizations

X-API-Key
string
header
required

Body

application/json
amount
integer
required

The amount given in minor units (e.g. use 700 for 7€). Some currencies do not support minor units (e.g. Japanese Yen). In this case send in the full value, .i.e. 100 for 100 JPY.

Required range: x >= 0
currency_code
string
required

The three letter currency code. See: ISO-4217

number_of_installments
integer
required

Indicates the maximum number of authorisations permitted for installment payments.

recurring_expiry
string
required

The date when the recurring should expire. Requires the format yyyyMMdd.

recurring_frequency
integer
required

Indicates the minimum number of days between authorisations.

source
object
required

The payment credentials for this authentication request.

challenge_preference
enum<string>
default:CHALLENGE

The preference with respect to an eventual challenge.

There is no guarantee that the preference can be fulfilled.

Available options:
CHALLENGE,
NO_PREFERENCE,
NO_CHALLENGE
purchase_date
string

The date when the purchase was made. Requires the format yyyyMMddHHmmss and defaults to now.

merchant_id
string<uuid>

The ID of the merchant for whom the authentication is requested

cardholder_information
object

Response

Authentication created

id
string<uuid>
required

The ID of the authentication

amount
integer
required

The amount given in minor units (e.g. use 700 for 7€). Some currencies do not support minor units (e.g. Japanese Yen). In this case send in the full value, .i.e. 100 for 100 JPY.

Required range: x >= 0
created_at
string<datetime>
required

The date-time the authentication was created (following ISO 8601)

currency_code
string
required

The three letter currency code. See: ISO-4217

status
enum<string>
required
Available options:
PROCESSING,
COMPLETED,
FAILED
source
object
required

The payment credentials for this authentication request.

use_case
enum<string>
required
Available options:
ONE_OFF,
INITIAL_RECURRING,
INITIAL_INSTALLMENT,
SUBSEQUENT_RECURRING,
SUBSEQUENT_INSTALLMENT
action_requirement
object
authentication_result
object

The final result of the authentication. It holds in the cardholder authentication data (CAVV) and if there is a network token present, the token authentication data (TAVV).

challenge_preference
enum<string>
default:CHALLENGE

The preference with respect to an eventual challenge.

There is no guarantee that the preference can be fulfilled.

Available options:
CHALLENGE,
NO_PREFERENCE,
NO_CHALLENGE
recurring_expiry
string

The date when the latest subsequent authentication can happen. Requires the format yyyyMMdd.

recurring_frequency
integer

Indicates the minimum number of days between authentications.

failure_details
object[]

The reasons why an authentication failed during processing in Commerce.

finished_at
string<datetime>

The date-time the authentication was finished (following ISO 8601)

original_authentication
string<uuid>

The ID of the original authentication in case of subsequent authentications

merchant_id
string<uuid>

The ID of the merchant for whom the authentication is requested

number_of_installments
integer

Indicates the maximum number of authorisations permitted for installment payments.

purchase_date
string

The data when the purchase was made. Requires the format yyyyMMddHHmmss and defaults to now.