Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code

Error

Scenario

404

not_found

Customer Account , transaction, not foundnot found

404

customer_identity_not_found

the customer didn’t pass through the widget or was not authenticated properly

409

generic_error

A generic error covering backend process issues

409

auth_not_allowed

Merchant has not configured pre-auth in Lexi. (autocapture=false)been configured for preauth

409

plan_term_not_set

Merchant has not been configured for the financing option (Plan and Term or Regular Purchase) in Lexi.

409

plan_term_not_available

- Plan and Term for prime category for a non-prime customer.
- Plan "DP - SAC Interest Accrues" for a QC customer.
- Plan "DP - SAC No Payments + No Interest Accrued" for a ROC customer.

409

user_not_able_to_purchase

Customer account status different to than normal (NNOR)

409

credituser_not_exceededAmount requested plus interest is greater than the available credit of the customer account.active

Customer Account is not activated

409

customer_identity_not_found

the customer didn’t pass through the widget or was not authenticated properly

...

wrong_verification_code

Verification code entered is incorrect

409

verification_code_required

Verification code is a required parameter.

GET /client-id/{clientId}/authorizations

Wrong account number (if requested)

Code

Error

Scenario

400

invalid_account

409

generic_error

A generic error covering backend process issues

409

date_from_bigger_than_date_to

The From date is later than the To date

GET /client-id/{clientId}/authorization/{authorizationId}

Code

Error

Scenario

400

not_found

Authorization ID not found

409

401

Unauthorized

Wrong or missing Merchant authorization

404generic_error

A generic error covering backend process issues

POST /client-id/{clientId}/authorization/{authorizationId}/release

Code

Error

Scenario

400

not_foundCustomer

Account Authorization ID not found

404409

customer_identity_not_found

The customer didn’t pass through the widget or was not authenticated properlygeneric_error

A generic error covering backend process issues

409

authorization_ended

Credit authorization has “closed” status

409

auth_amount_exceeded

Capture Release amount is greater than the remaining credit authorization amount.

409

auth_not_allowed

Merchant has not configured pre-auth in Lexi.

409

authentication_failure

Missing or wrong Merchant authentication parametersnot_permitted

The employee doesn’t have enough permissions to perform the release

POST /client-id/{clientId}/authorization/{authorizationId}/capture

Code

Error

Scenario

400

not_found

Authorization ID not found

409

generic_error

A generic error covering backend process issues

409

authorization_ended

Credit authorization has “closed” status

409

authorization_unauthorized

Credit authorization has “unauthorized” status

409

creditauth_amount_exceeded

Amount requested plus fees Capture amount is greater than the available credit of the customer accountremaining credit authorization amount.

409

creditapp_id_not_permitted

  • The employee doesn’t have enough permissions to perform the capture, or;

  • Credit authorization has “unauthorized” status

POST /client-id/{clientId}/authorization/{authorizationId}/capture/{captureId}/return

Code

Error

Scenario

400

not_foundCredit Application

ID was Authorization ID or Capture ID not found

409

generic_error

A generic error covering backend process issues

409

invalidcapture_transactionamount_typewrong value for transaction type in the requestexceeded

Return amount is greater than the remaining captured amount.

409

notolder_enough_credit

Customer does not have enough open to buy for transaction amount

409

not_permitted

The employee doesn’t have enough permissions to perform the capture

409

plan_term_not_available

  • Plan and Term for prime category for a non-prime customer.

  • Plan "DP - SAC Interest Accrues" for a QC customer.

  • Plan "DP - SAC No Payments + No Interest Accrued" for a ROC customer.

409

plan_term_not_set

Merchant has not configured the financing option (Plan and Term or Regular Purchase) in Lexi.capture

Capture creation date is more than 100 days old.

409

wrong_transaction_type

The capture is not related to a promotional purchase

POST /client-id/{client_id}/accounts/{account_number}/refund

Code

Error

Scenario

404

not_found

Customer Account not found

409

generic_error

A generic error covering backend process issues

409

refunds_limit_exceeded_amount

Refund amount exceeds account balance limit

409

user_not_able_to_purchase

Customer account status different to normal (NNOR)

409

user_not_active

Customer Account is not activated

409

verification_code_required

Verification code is a required parameter.

409

wrong_transaction_type

The Capture is not related to a promotional purchase

409

wrong_verification_code

Verification code entered is incorrect.

GET /client-id/{clientId}/captures

Code

Error

Scenario

409

generic_error

A generic error covering backend process issues

409

date_from_bigger_than_date_to

The From date is later than the To date