Skip to main content
Partner logo
Alma
Alma is a leading provider of payment solutions, offering a wide range of services that enable businesses to process and manage digital payments. ALMA's solutions are designed to support various payment flows, including direct debit, authorization and capture, and asynchronous workflows.

Features

Integration type

Embed (no redirection)
Tokenization

No

Payment Flow

1-step payment flow : Capture (direct debit)
2-step payment flow : Authorization + Capture
3-step payment flow : Pending Authorization + Authorization + Capture (asynchronous)

How to test?

Basic test cards

CredentialsYes CardNo Card
Card number4242 4242 4242 4242XXXXXXXXXXXXXXXXXXX
Expiry date04/42XXXXXXXXXXXXXXXXXXX
CVC424XXXXXXXXXXXXXXXXXXX

Data Mapping & Mandatory Fields

Below is the mapping between your Create Session request and the fields expected by this payment method.

Purse Session fieldMandatory
amountYes
order.redirectionYes
order.referenceYes
order.tax_amountNo
order.tax_linesNo
order.currency_codeYes
customer.reference(Only for tokenization)No
customer.company_nameNo
customer.gender_codeNo
customer.middle_nameNo
customer.last_nameNo
customer.birthdateNo
customer.ipNo
customer.billing_address.address_linesNo
customer.billing_address.cityNo
customer.billing_address.postal_codeNo
customer.billing_address.country_codeNo
customer.billing_address.emailNo
customer.billing_address.phoneNo
customer.billing_address.mobile_phoneNo
customer.billing_address.work_phoneNo
customer.account.purchase_count_last_dayNo
customer.account.purchase_count_last_six_monthsNo
customer.account.purchase_count_last_yearNo
customer.account.different_card_count_last_dayNo
customer.account.authentication_methodNo
customer.account.prior_payment_authenticationNo
customer.account.age_indicatorNo
customer.account.update_date_timeNo
customer.account.change_indicatorNo
customer.account.creation_date_timeNo
customer.account.password_update_date_timeNo
customer.account.password_change_indicatorNo
customer.account.three_ds_exemptionNo
customer.account.challenge_indicatorNo
shipments.amountNo
shipments.delivery_type_codeNo
shipments.shipping_address.address_linesNo
shipments.shipping_address.cityNo
shipments.shipping_address.postal_codeNo
shipments.shipping_address.country_codeNo
shipments.item_lines.type_codeNo
shipments.item_lines.sku_referenceNo
shipments.item_lines.nameNo
shipments.item_lines.priceNo
shipments.item_lines.quantityNo
shipments.item_lines.amountNo
shipments.item_lines.tax_lines.amountNo

Payment Labels

LabelMethodPayment type
almacb4xprimary

Actions

Status

PSP statusStateCodeDescription
not_startedWAITINGWAITING_PARTNER_RESPONSEPayment has been created but not started
scored_noERRORFAILEDPayment in several installments is refused by Alma
scored_yesWAITINGWAITING_PARTNER_RESPONSEPayment in several installments has been accepted by Alma
scored_maybeWAITINGWAITING_PARTNER_RESPONSEAlma needs more information to decide whether to accept payment
in_progressSUCCESSSUCCEEDEDPayment in progress – at least one installment has been paid
paidSUCCESSSUCCEEDEDPayment is fully paid
ABORTEDERRORABORTED_BY_CUSTOMERCustomer has aborted the payment
validation_error_missing_fieldERRORBAD_REQUESTValidation error, there's a field missing
validation_error_invalid_typeERRORBAD_REQUESTValidation error, there's a field type that is incorrect
validation_error_invalid_valueERRORBAD_REQUESTValidation error, there's an invalid value in your call
validation_error_too_shortERRORBAD_REQUESTValidation error, the string in input is too short
validation_error_too_longERRORBAD_REQUESTValidation error, the string in input is too long
validation_error_too_many_requestPENDINGTECHNICAL_ISSUE_TO_CONTACT_PARTNERYou made too many request to the APIs, wait for a bit before retrying
validation_error_unique_violatedERRORBAD_REQUESTYou violated the unique constraint on a field
validation_error_merchant_cant_create_paymentsERRORFAILEDYou violated the unique constraint on a field
validation_error_incompatible_parametersERRORBAD_REQUESTThere are incompatible parameters in your request
validation_error_unauthorizedERRORFAILEDUnauthorized to contact partner
validation_error_generic_errorERRORFAILEDA generic error occured, contact the partner before
validation_error_payment_already_capturedERRORBAD_REQUESTThe payment has been already captured
validation_errorERRORBAD_REQUESTValidation error, data sent during API call are invalid
card_declinedERRORREJECTED_BANKCard declined by the banking network
invalid_amountERRORBAD_REQUESTInvalid amount.
three_d_s_impossibleERRORTECHNICAL_ISSUE_TO_CONTACT_PARTNER3D Secure - Refusal as authentication by the issuer is impossible
incorrect_cvcERRORWRONG_CARD_DATAIncorrect card CVC
incorrect_expiration_dateERRORWRONG_CARD_DATAIncorrect card expiration date
incorrect_numberERRORWRONG_CARD_DATAIncorrect card number
insufficient_fundsERRORINSUFFICIENT_FUNDSInsufficient funds on account
expired_cardERRORCARD_EXPIREDExpired card
missing_fieldERRORBAD_REQUESTMissing field
invalid_valueERRORBAD_REQUESTInvalid value - Impossible to validate payment
SESSION_DATA_NOT_OKERRORBAD_REQUESTSession data doesn't meet the alma's requirements
SUCCESSSUCCESSSUCCEEDEDSuccessful operation
ERRORERRORFAILEDFailed operation
UNKNOWN_PARTNER_ERRORERRORFAILEDReceived unexpected response from alma
PARTNER_RESPONSE_VALIDATION_FAILEDERRORFAILEDPartner response validation failed.
TIMEOUTUNCERTAINTECHNICAL_ISSUE_TO_CONTACT_PARTNERTimeout while contacting alma
PARTNER_SERVER_ERRORUNCERTAINTECHNICAL_ISSUE_TO_CONTACT_PARTNERReceived internal server error from alma
PARTNER_BAD_GATEWAYUNCERTAINTECHNICAL_ISSUE_TO_CONTACT_PARTNERReceived bad gateway error from alma
PARTNER_UNAVAILABLEUNCERTAINTECHNICAL_ISSUE_TO_CONTACT_PARTNERReceived service unavailable error from alma
VERIFY_PARTNER_ERRORUNCERTAINTECHNICAL_ISSUE_TO_CONTACT_PARTNERReceived 5XX server error from partner when calling verify
VERIFY_TIMEOUTUNCERTAINTECHNICAL_ISSUE_TO_CONTACT_PARTNERTimeout while contacting alma