Skip to main content

Documentation

Rapyd Authorization Errors

Error Code

Description

ERROR_AUTHORIZATION_INVALID_AMOUNT

The request tried to simulate an authorization operation on a card transaction, but the amount was not valid. The request was rejected. Corrective action: Set 'amount' to a positive decimal number.

ERROR_AUTHORIZATION_INVALID_CURRENCY

The request tried to simulate an authorization operation on a card transaction, but the currency was not valid. The request was rejected. Corrective action: Set 'currency' to a 3-letter ISO 4217 code.

ERROR_AUTHORIZATION_MISSING_AMOUNT

The request tried to simulate an authorization operation on a card transaction, but the amount was not found. The request was rejected. Corrective action: Set 'amount' to a positive decimal number.

ERROR_AUTHORIZATION_MISSING_CARD_ID

The request tried to simulate an authorization operation on a card transaction, but the card was not found. The request was rejected. Corrective action: Set 'card_id' to the card ID, a string starting with 'card’.

ERROR_AUTHORIZATION_MISSING_CARD_TRANSACTION_ID

The request tried to simulate an authorization operation on a card transaction, but the transaction was not found. The request was rejected. Corrective action: Set 'card_transaction_id' to the ID of the transaction, a string starting with 'cit’.

ERROR_AUTHORIZATION_MISSING_CURRENCY

The request tried to simulate an authorization operation on a card transaction, but the currency was not found. The request was rejected. Corrective action: Set 'currency' to a 3-letter ISO 4217 code.

ERROR_AUTHORIZATION_MISSING_FINANCIAL_IMPACT

The request tried to simulate an authorization operation on a card transaction, but the financial impact was not found. The request was rejected. Corrective action: Set 'financial_impact' to 'credit' or 'debit'.

ERROR_SIMULATE_CLEARING_FINANCIAL_IMPACT_NOT_VALID

The request tried to simulate a clearing operation on a card transaction, but the preceding simulated authorization was a credit transaction. The request was rejected. Corrective action: None. A credit transaction is complete on completion of the authorization.

ERROR_SIMULATE_CLEARING_MISSING_FIELD_FOR_FEE

The request tried to simulate a clearing operation on a card transaction, but only 'category' or 'fee_amount' was set. The request was rejected. Corrective action: Set both fields.