Edenred Direct Payment Services
Use Case: Finland
1. Generalities
In Finland, our payment API is configured on one product: Lounari Card which enable users to pay for a meal or food. With the Lounari Card, a user can spend the amount requested without any limitation of number of transactions per day (in the limit of the balance available on his account, i.e. balance canāt be negative).
Some spending rules are applied on the transaction processing with a minimum and maximum amount checked on each transaction requested:
⢠The minimum amount for a transaction is 8ā¬
⢠The maximum amount for a transaction is 12,70ā¬
If a user has a complementary payment method linked to his Lounari Card, the exceeded amount will be done using that method.
The regulation(s) checks and rules on the transaction processing are handled on the Edenred side.
Please note that all amounts in our API are given in cents (example: 9⬠= 900).
2. User Security Tokens
Please refer to this section for more details about security tokens.
2.1. Authentication URL
Here is the URL configuration to be used to call the authentication process per environment
⢠āauthentication-urlā in UAT : https://sso.sbx.edenred.io
⢠āauthentication-urlā in Prod : https://sso.eu.edenred.io
2.1. Login Process
1) To test the API in sandbox, you can get an authorization_code
by clicking on the link bellow:
The authentication URL is built as follow:
{{authentication-url}}/connect/authorize?response_type=code&client_id={{authentication-client_id}}={{scope}}&redirect_uri={{authentication-redirect_url}}&acr_values=tenant:{{tenant}}
Where
{{authentication-url}} = see chapter 2.1
{{authentication-client_id}} = configuration provided by Edenred (Dedicated client id in UAT and in production)
{{scope}} = openid edg-xp-mealdelivery-api offline_access (to be provided on each authentication request to provide the good level of rights to the user in the payment experience)
{{authentication-redirect_url}} = callback URL(s) whitelisted on our side (to be provided in the configuration request for the whitelisting on Edenred side). Several redirect URLs can be whitelisted/managed on Edenred side (different values can be set in UAT and in production)
{{tenant}} = fi-ben
Example of account and credit card information that can be used to test the API in UAT:
Edenred user:
Username: edpstest03
Password: edpstest03
CVV: 861
Credit / Debit Card:
ā¢Name: Test Card
ā¢PAN: 4242 4242 4242 4242
ā¢Exp date: 01/25
ā¢CVV: 100
Note: 3DSV2 validation code is static in UAT: Checkout1!
Login Process
All the following steps are mandatory on the user side to connect his MyEdenred account on the partner platform:
1- User provides his username / Password of his MyEdenred account
2- User provides the CVV of his Edenred Card
3- User provides a credit card
Case 1: User has no credit card yet attached to his MyEdenred account, in this case: =>
ā¢User fills-in his credit card information,
ā¢User validates his identity via a 3DS check
ā¢if 3DS check validated by the user, (credit card is tokenized in real-time and saved in a secured place on Edenred backend)
Note: the user validates a 3DS check each time he requests to add a new card
Case 2: User has already a credit card attached to his MyEdenred account => User selects the existing credit card (no 3DS check in this specific case)
4- User provides his opt-in to the service
2) After user has successfully logged-in, he'll be redirected to a url - you have provided us, and we have configured on our end - like below in which we will provide you an "authorization code":
http://nowhere.edenred.net/oauth-callback?code={authorization_code}&...
3) Copy the authorization_code
and use the API request "Get access_token from authorization_code
**" in the following collection of API calls :
Please note that the authorization_code is burned once you have use it to retrieve the tokens. If the API call fails, you must get a new authorization_code to make a retry (i.e.: user has to go through the authentication steps again).
Note: in case of failure in any step of the authentication process (or if the user leaves the authentication process before the last step), there is no error message sent back to the partner platform
2.2. Logout Process
Logout the Edenred account from your platform. All tokens are then invalid
GET {host}/connect/endsession?id_token_hint=<idToken>=<postLogoutRedirectUri> HTTP/1.1
Host: {{authentication-url}}
Where
'authentication-url' = see chapter 2.1
And id_Token
is retrieved from the refreshing token response
And postLogoutRedirectUri
is a callback URL whitelisted on our side (to be provided in the configuration request for the whitelisting on Edenred side)
eg: postLogoutRedirectUri = http://nowhere.edenred.net/oauth-callback
3. Direct Payment API
3.1. Postman Collection
3.2. Payment URL
Here is the URL configuration to be used to call the APIs per environnement
⢠āpayment-urlā in UAT : https://directpayment.stg.eu.edenred.io/v2
⢠āpayment-urlā in Prod : https://directpayment.eu.edenred.io/v2
3.3. User Balance
Get Balances
Gets all the available amount of the balances on the user account. In Finland, in the current configuration, we provide the full sum of the balance of the Lounari product available for the user.
The authorization header is mandatory for this request.
Request:
GET {host}/v2/users/{username}/balances?product_class={{product_class}} HTTP/1.1
Host: {payment-url}
Authorization: Bearer {token}
X-Client-Id: {payment-clientId}
X-Client-Secret: {payment-clientSecret}
Content-Type: application/json
Product_Class: MAIN (for Lounari product)
Response:
{
"meta": {
"status": "succeeded",
"messages": []
},
"data": [
{
"product_class": "MAIN",
"available_amount": 48295,
"currency": "EUR"
}
]
}
Estimate Charge
Check if an amount can be spent and answer the possible amount that can be spent. If the requested amount is above the available balance, the service will provide the available amount that can be spent with Edenred in the response.
The authorization header is mandatory for this request.
Example 1: Requested amount < max amount that can be used with Edenred
Request:
POST {host}/v2/users/{username}/actions/estimate-charge?product_class={{product_class}} HTTP/1.1
Host: {payment-url}
Authorization: Bearer {token}
X-Client-Id: {payment-clientId}
X-Client-Secret: {payment-clientSecret}
Content-Type: application/json
Product_Class: MAIN (for Lounari product)
{
"amount": 1000
}
Response:
{
"meta": {
"status": "succeeded",
"messages": []
},
"data": {
"available_amount": 1000,
"currency": "EUR"
}
}
Example 2: Requested amount > max amount that can be used with Edenred
Request:
POST {host}/v2/users/{username}/actions/estimate-charge?product_class={{product_class}} HTTP/1.1
Host: {payment-url}
Authorization: Bearer {token}
X-Client-Id: {payment-clientId}
X-Client-Secret: {payment-clientSecret}
Content-Type: application/json
Product_Class: MAIN (for Lounari product)
{
"amount": 1900
}
Response:
{
"meta": {
"status": "succeeded",
"messages": []
},
"data": {
"available_amount": 1130,
"currency": "EUR"
}
}
3.4. User Transactions
EDPS supports 2 authorization implementation methods:
- Dual messaging 1. (also named āmanual captureā): this processing allows the partner to manage the payment in 2 dedicated steps : 1/ on the āauthorizeā request, the funds are saved on the user wallet(s), 2/ on the ācaptureā request, the funds are collected on the user wallet(s),
- Single messaging (also named āautomatic captureā) : this processing allows the partner to manage the payment in 1 step : authorization and capture are done in one call (the āauthorizeā request) on the different wallet(s) involved for the payment.
In both configurations, EDPS supports the possibility to manage a payment with 2 payment methods (one via the Edenred Card and one via a personal credit card). We can then handle different payment use cases 1/ manage the remaining amount with the credit card on top of the amount processed with the Edenred payment mean or 2/ charge to the credit card the amount that canāt be spent via the Edenred Card.Please refer to the dedicated section below to get more details on the implementation.
Definition
The partner can use 2 fields in the payment APIs to provide the amount to be processed by Edenred :
⢠The āamountā - mandatory field - corresponds to the amount that can be paid by an Edenred payment mean (i.e.: food, beverage)
⢠The 'ineligible_amount' - optional field - corresponds to the amount that will not be paid by an Edenred payment mean (i.e.: delivery fee, non-food items like alcoholā¦)
The principle is that if the input āamountā is higher than the available amount on the user balance, the difference between these 2 amounts will be paid by the credit card and/or if the partner provides a value in the āineligible_amountā field, this āineligibleā amount will be charged directly to the credit card of the user.
Please refer to the dedicated section below to get more details on the implementation.
Examples
In the following examples, we take as an assumption that the following items canāt be spent via the Edenred payment mean: Alcohol, service fees, delivery fees.
Case 1 : Order is within the Edenred limit but includes non-eligible items
⢠User has an available amount to spend on his Edenred Payment mean of 11.30ā¬
⢠User orders on the partner platform the following basket
o Healthy salad: 9,00ā¬
o White Wine Bottle (25cl): 4,00ā¬
⢠Partner applies a fee of 2,00⬠on this basket
o Delivery fee: 2,00ā¬
⢠Partner will allocate the amount as follow in the transaction request(s)
o āamountā = 900
o āineligible_amountā = 600, to handle
ļ§ Non food item = 400
ļ§ Delivery fee = 200
⢠Edenred will charge the Edenred payment mean for the 9⬠(900) and the credit card for the 6⬠(600)
⢠An authorization of 15⬠(1500) will be sent back to the partner once the payment is accepted.
Case 2: Order is above the Edenred limit and includes non-eligible items
⢠User has an available amount to spend on his Edenred Payment mean of 11.30ā¬
⢠User orders on the partner platform the following basket
o Family box : 35,00ā¬
⢠Partner applies a fee of 3,00⬠on this basket
o Delivery fee: 2,00ā¬
o Service fee: 1,00ā¬
⢠Partner will allocate the amount as follow in the transaction request
o āamountā = 3500
o āineligible_amountā = 300, to handle
ļ§ Delivery fee = 200
ļ§ Service fee = 100
⢠Edenred will charge the Edenred payment mean for the 11.30⬠and the credit card for the remaining amount = 27.10⬠=> ((35ā¬-11.3ā¬)+3ā¬)
⢠An authorization of 38⬠(3800) will be sent back to the partner once the payment is accepted.
Case 3: Order is below the Edenred limit and includes non-eligible items
⢠User has an available amount to spend on his Edenred Payment mean of 11.30ā¬
⢠User orders on the partner platform the following basket
o Frozen Yogourt : 4,00ā¬
⢠Partner applies a fee of 2,00⬠on this basket
o Delivery fee: 2,00ā¬
⢠Partner will allocate the amount as follow in the transaction request
o āamountā = 400
o āineligible_amountā = 200, to handle
ļ§ Delivery fee = 200
⢠Edenred will charge the credit card for the full amount = 600⬠=> (4ā¬+2ā¬)
⢠An authorization of 6⬠(600) will be sent back to the partner once the payment is accepted.
Case 4: Order is within the Edenred limit, includes non-eligible items but user balance is null
⢠User has an available amount to spend on his Edenred Payment mean of 0ā¬
⢠User orders on the partner platform the following basket
o Pizza : 10,00ā¬
⢠Partner applies a fee of 2,00⬠on this basket
o Delivery fee: 2,00ā¬
⢠Partner will allocate the amount as follow in the transaction request
o āamountā = 1000
o āineligible_amountā = 200, to handle
ļ§ Delivery fee = 200
⢠Edenred will charge the credit card for the full amount = 1200⬠=> (10ā¬+2ā¬)
⢠An authorization of 12⬠(1200) will be sent back to the partner once the payment is accepted.
Capture Mode: Manual
Note: In this capture mode, the partner must capture/cancel all the authorization request accepted by Edenred
Step 1: Authorize a payment
An authorization can be requested with an amount, which is the amount that is eligible to Edenred product.
In capture mode = manual, you must set the capture mode in the body of the request to "manual".
The authorization header should be set for this operation.
The field `tstamp` MUST be set in order to manage idempotency
Request:
POST {host}/v2/transactions?product_class={product_class} HTTP/1.1
Host: {payment-url}
Authorization: Bearer {access_token}
X-Client-Id: {payment-clientId}
X-Client-Secret: {payment-clientSecret}
product_class: MAIN (for Lounari product)
Content-Type: application/json
{
"mid": "{{mid}}",
"order_ref": "Test020522-3",
"amount": 1000,
"ineligible_amount": 200,
"capture_mode": "manual",
"tstamp": "2022-05-02T02:33:09Z"
}
Response:
{
"meta": {
"status": "succeeded",
"messages": []
},
"data": {
"order_ref": "Test020522-3",
"mid": "41T929990200",
"authorization_id": "MTY1MTQ1ODc4OTQxVDkyOTk5MDIwMD-737239",
"authorized_amount": 1200,
"status": "authorized"
}
}
Step 2: Capture OR Cancel a payment
An "authorized" payment can be cancelled or captured.
The authorization_id provided by Edenred in the authorization response during the authorization process must be provided in this request.
The authorized_amount must be provided in the body of the request. The captured amount can be lower or equal to the authorized amount.
The authorization header must be set for the two operations cancel and capture.
Capture Request:
POST [host}/v2/transactions/{authorization_id}/actions/cancel?product_class={product_class} HTTP/1.1
Host: {payment-url}
X-Client-Id: {payment-clientId}
X-Client-Secret: {payment-clientSecret}
product_class: MAIN (for Lounari product)
Content-Type: application/json
{
"amount": 1000,
"ineligible_amount": 200,
"currency": "EUR",
"tstamp": "2022-05-02T02:34:09Z"
}
Capture Response:
{
"meta": {
"status": "succeeded",
"messages": []
},
"data": {
"capture_id": "MTY1MTQ4Mzc2NTQxVDkyOTk5MDIwMD-256671",
"captured_amount": 1200,
"status": "captured"
}
}
Our APIs handles the partial Capture of an authorization with the following use case in the capture request sent by the partner
- Captured amount = Authorized āamountā AND Captured āineligible amountā = Authorized āineligible amountā
- Captured amount = Authorized āamountā AND Captured āineligible amountā < Authorized āineligible amountā
- Captured amount < Authorized āamountā AND Captured āineligible amountā = Authorized āineligible amountā
- Captured amount < Authorized āamountā AND Captured āineligible amountā < Authorized āineligible amountā
- Captured amount < Authorized āamountā AND Captured āineligible amountā > Authorized āineligible amountā
Our APIs DOES NOT handle the following use cases in the capture request sent by the partner
- Captured amount > Authorized āamountā AND Captured āineligible amountā = Authorized āineligible amountā
- Captured amount = Authorized āamountā AND Captured āineligible amountā > Authorized āineligible amountā
- Captured amount > Authorized āamountā AND Captured āineligible amountā > Authorized āineligible amountā
- Captured amount = 0⬠AND Captured āineligible amountā = Authorized āineligible amountā
- Captured amount = 0⬠AND Captured āineligible amountā < Authorized āineligible amountā
- Captured amount = 0⬠AND Captured āineligible amountā > Authorized āineligible amountā
Note: if the ācapture_amountā is below the āauthorized amountā, the original transaction (pending in āauthorizedā status) is automatically canceled and a new transaction is created (for the requested captured_amount) and automatically captured for that amount
In this case a new authorization ID is provided in the response and must be stored by the partner (to request a refund later on for example)
Alternative 2: Cancel the pending authorization
The full amount authorized should be provided in the āamountā of the Cancel request. Edenred handles the full cancellation of the authorization pending on the Edenred authorization platform and on the credit card of the user
Cancel Request:
POST [host}/v2/transactions/{authorization_id}/actions/cancel?product_class={product_class} HTTP/1.1
Host: {payment-url}
X-Client-Id: {payment-clientId}
X-Client-Secret: {payment-clientSecret}
product_class: MAIN (for Lounari product)
Content-Type: application/json
{
"amount": 1200,
"currency": "EUR",
"tstamp": "2020-05-26T19:45:51Z"
}
Cancel Response:
{
"meta": {
"status": "succeeded"
},
"data": {
"status": "cancelled",
"cancel_id": "MTU5MTgwMDMxMzU0MjM5NDUxMjI0M",
"cancelled_amount": 1200
}
}
Note : after 7 days, a pending authorization ā not authorized or canceled by the partner, will be automatically EXPIRED by the authorization platform (reserved funds will be put back on the user account)
Step 3: Refund a captured payment
Once captured, a transaction can't be cancelled but have to be refunded.
The authorization_id provided during the authorization process must be provided in this request.
The exact captured_amount must be provided in the body of the request. The refund can't be partial.
The authorization header should not be set for this operation.
The capture_mode is mandatory in case of dual messaging (Authorize + Capture).
The capture_mode must be set to āmanualā in this case ("capture_mode": "manual",)
The field tstamp MUST be set in order to manage idempotency
Refund Request:
POST {host}/v2/transactions/{authorization_id}/actions/refund?product_class={product_class} HTTP/1.1
Host: {payment-url}
X-Client-Id: {payment-clientId}
X-Client-Secret: {payment-clientSecret}
Content-Type: application/json
product_class: MAIN (for Lounari product)
{
"amount": 1200,
"currency": "EUR",
"capture_mode": "manual",
"tstamp": "2022-05-06T12:17:53Z"
}
Refund Response:
{
"meta": {
"status": "succeeded",
"messages": []
},
"data": {
"mid": "41T929990200",
"refund_id": "MTY1MTQ4NDM2MDQxVDkyOTk5MDIwMD-256671",
"refunded_amount": 1200,
"status": "refunded"
}
}
Capture Mode: Auto
In the capture mode = 'auto', the default configuration allows to process complementary payment transactions.
Step 1: Auto Capture a payment
A transaction processed in "auto capture" manages both the authorization and the capture in a single call. The Partner has to provide in the field āamountā, the amount that is eligible to Edenred product and in the āineligible amountā, the amount of the order that canāt be spent with Edenred product (delivery fee, alcohol⦠items that canāt be spent with the Edenred product).
A transaction processed is "authorization + auto capture" is requested with an amount, which is the amount that is eligible to Edenred product. And an ineligible amount for the amount of an order that canāt be spent with Edenred product.
In capture mode = auto, the capture mode is not mandatory in the body of the request. This is default capture mode of the API.
The authorization header should be set for this operation.
The field `tstamp` MUST be set in order to manage idempotency
Request:
POST {host}/v2/transactions?product_class={product_class} HTTP/1.1
Host: {payment-url}
Authorization: Bearer {token}
X-Client-Id: {payment-clientId}
X-Client-Secret: {payment-clientSecret}
product_class: MAIN (for Lounari product)
Content-Type: application/json
{
"mid": "5423945122",
"amount": 3000,
āineligible_amountā: 200,
"security_level": "standard",
"capture_mode": "auto",
"order_ref": "419134",
"tstamp": "2021-05-27T08:53:20Z"
"currency": "EUR"
}
Response:
"meta": {
"status": "succeeded"
},
"data": {
"order_ref": "419134",
"mid": "5423945122",
"status": "captured",
"authorization_id": "MTU5MDU1ODg2MDU0MjM5NDUxMjI0M-127298",
"authorized_amount": 3200,
"capture_id": "MTU5MDU1ODg2MDU0MjM5NDUxMjI0M-127298",
"captured_amount": 3200
}
}
Step 2: Refund a captured payment
In this capture mode scenario the "Cancel" and "Capture" are not used.
Once captured, a transaction can be only refunded.
The authorization_id provided during the authorization/capture process must be provided in this request with the exact amount provided in "captured_amount"*.
The authorization header should not be set for this operation.
The field `tstamp` MUST be set in order to manage idempotency
*Note: a request with an amount different from the captured amount will be declined with the reason āORIGIN_TRANSACTION_ID_NOT_FOUNDā. We canāt process to a partial refund of the captured transaction
Refund Request:
POST {host}/v2/transactions/{authorization_id}/actions/refund?product_class={product_class} HTTP/1.1
Host: {product_class}
X-Client-Id: {payment-clientId}
X-Client-Secret: {payment-clientSecret}
product_class=MAIN
Content-Type: application/json
{
"amount": 3200,
"currency": "EUR",
"tstamp": "2021-05-27T08:54:20Z"
}
Refund Response:
{
"meta": {
"status": "succeeded"
},
"data": {
"mid": "5423945122",
"status": "refunded",
"refund_id": "MTU5MDU1ODg2MDU0MjM5NDUxMjI0M-127298",
"refunded_amount": 3200,
}
}
4. Error Codes
Status Code | Status | Code | Level | Description |
---|---|---|---|---|
200 | succeded | OK | Success | OK |
200 | succeded | AUTH_PENDING | Success | Authorization pending |
200 | succeded | AUTH | Success | The transaction has been authorized. |
200 | succeded | PARTIAL_AUTH | Success | The transaction has been partially authorized. |
400 | failed | INVALID_CARD | Error | Invalid card information provided. |
400 | failed | CARDHOLDER_ALREADY_EXISTS | Error | CARDHOLDER ALREADY EXISTS |
400 | failed | REFERENCE_ALREADY_EXISTS | Error | REFERENCE ALREADY EXISTS |
400 | failed | INVALID_ACCOUNT | Error | INVALID ACCOUNT NUMBER |
400 | failed | BAD_REQUEST | Error | DATE FROM TOO OLD |
400 | failed | INVALID_ACTIVATION_CODE | Error | INVALID ACTIVATION CODE |
400 | failed | INVALID_CARDHOLDER | Error | INVALID CARDHOLDER |
400 | failed | BAD_REQUEST | Error | INVALID DATE RANGE |
400 | failed | BAD_REQUEST | Error | INVALID PAGE OFFSET |
400 | failed | INVALID_PHONE | Error | INVALID PHONE |
400 | failed | INVALID_EMAIL | Error | INVALID EMAIL |
400 | failed | NON_UNIQUE_MOBILE_NUMBER | Error | NON-UNIQUE MOBILE NUMBER |
400 | failed | DUPLICATE_CARDHOLDER | Error | DUPLICATE CARDHOLDER |
400 | failed | CARD_NOT_BLOCKED | Error | CANNOT RESUME(Card not blocked or already blocked) |
400 | failed | REGISTRATION_NOT_ALLOWED | Error | REGISTRATION NOT ALLOWED |
400 | failed | BAD_REQUEST | Error | PIN REQUIRED |
400 | failed | CARD_BLOCKED | Error | Card is not in valid state |
400 | failed | CARD_ALREADY_REGISTERED | Error | CARD ALREADY REGISTERED |
400 | failed | CARDHOLDER_STATUS_INVALID | Error | CARDHOLDER STATUS INVALID |
400 | failed | CARD_BLOCKED | Error | CARD/ACCOUNT BLOCKED |
400 | failed | BAD_REQUEST | Error | PIN ERROR |
400 | failed | BAD_REQUEST | Error | INVALID PRODUCT BALANCE |
400 | failed | BAD_REQUEST | Error | INVALID ACCOUNT EXTERNAL REFERENCE |
400 | failed | BAD_REQUEST | Error | PIN LOCKED |
400 | failed | BAD_REQUEST | Error | PIN STATUS NOT BLOCKED |
400 | failed | BAD_REQUEST | Error | CARD NOT FULFILLED |
400 | failed | CARD_ALREADY_ACTIVATED | Error | Card is already activated |
400 | failed | BAD_REQUEST | Error | PIN STATUS NOT ACTIVE ACTIVATING |
400 | failed | BAD_REQUEST | Error | MAX PIN TRIES EXCEEDED |
400 | failed | BAD_REQUEST | Error | CARD NOT ACTIVE |
400 | failed | INVALID_MERCHANT | Error | Invalid Merchant |
400 | failed | INVALID_AMOUNT | Error | INSUFFICIENT FUNDS |
400 | failed | INVALID_AMOUNT | Error | Invalid Amount |
400 | failed | DECLINED | Error | Declined |
400 | failed | LIMIT_EXCEEDED | Error | Limit exceeded |
400 | failed | TRANSACTION_DUPLICATED | Error | Transaction Duplicated |
400 | failed | TEMPORARY_HOLD | Error | Temporary hold |
400 | failed | PARTIAL_REVERSALS_NOT_ALLOWED | Error | Partial resversals not allowed |
400 | failed | TRANSACTION_NOT_AUTHORISED | Error | Transaction not authorised |
400 | failed | INCORRECT_PIN | Error | Incorrect PIN |
400 | failed | INVALID_VOUCHER | Error | Invalid Voucher |
400 | failed | LOCKOUT | Error | lockout |
400 | failed | PARTIAL_AUTH_NOT_SUPPORTED | Error | Partial authorization not supported |
400 | failed | CARD_NOT_ACTIVATED | Error | Card is not activated |
400 | failed | INVALID_CARD | Error | Invalid card |
400 | failed | CARD_BLOCKED | Error | Card blocked |
400 | failed | INVALID_ACCOUNT | Error | Invalid account |
400 | failed | ACCOUNT_BLOCKED | Error | Account blocked |
400 | failed | INVALID_CURRENCY_CODE | Error | Invalid currency |
400 | failed | INVALID_TRANSACTION_TYPE | Error | Invalid transaction type |
400 | failed | TOPTP_VALIDATION_FAILED | Error | toptp validation failed |
400 | failed | INVALID_CAPTURE_MODE | Error | You are not allowed to capture transaction |
400 | failed | INVALID_CARD | Error | INVALID CARD SERIAL NUMBER |
400 | failed | INVALID_VERIFICATION_CODE | Error | Invalid PAN |
400 | failed | BAD_REQUEST | Error | INVALID PARAMETERS |
400 | failed | INSUFFICIENT_FUNDS | Error | Insufficient funds to complete the request |
400 | failed | ACCOUNT_LIMIT_EXCEEDED | Error | Account has reached the maximun allowed limit |
400 | failed | INACTIVE_ACCOUNT | Error | The account is not active |
400 | failed | REQUEST_DENIED | Error | Request has been rejected due to business rule |
400 | failed | DAILY_LIMIT_EXCEEDED | Error | Daily limit on trasferring funds has been reached |
400 | failed | INVALID_CUSTOMER | Error | The customer code provided was invalid |
400 | failed | INVALID_PAYMENT_REFERENCE | Error | Payment reference does not conform to the validation rules |
400 | failed | BANKING_NOT_SUPPORTED | Error | Banking is not configured for this Product Class |
400 | failed | INACTIVE_BANK_ACCOUNT | Error | The bank account is not active |
400 | failed | INVALID_PAYEE_DETAILS | Error | The payee details provided are invalid |
400 | failed | PAYEE_REFERENCE_NOT_FOUND | Error | Payee with the given reference does not exist on system |
400 | failed | FIXED_PERIOD_LIMIT_EXCEEDED | Error | A spend limit will be exceeded if the payment is processed |
400 | failed | BANK_ACCOUNT_RESTRICTED | Error | Banking functionality has been restricted for this card holder or this account |
400 | failed | BAD_REQUEST | Error | The input doesn't respect the contract expected (required fields, type, etc.) |
400 | failed | EMPTY_AUTHORIZATION_TOKEN | Error | Unable to retrieve the OpenId token from the request. Please verify your request and, if required, contact the API administrator for assistance. |
400 | failed | INVALID_SEARCH_PERIOD | Error | The search period is longer than 3 months. |
400 | failed | BAD_REQUEST | Error | The server cannot or will not process the request due to an apparent client error. Check messages field for more details. |
400 | failed | DECLINED | Error | Transaction declined. |
400 | failed | INVALID_REQUEST | Error | The configuration allows only single/dual messaging requests. |
400 | failed | CARD_NOT_ACTIVE | Error | No active card found for the username. |
400 | failed | INVALID_AMOUNT | Error | Insufficient funds or amount too small/big. |
400 | failed | INVALID_MERCHANT | Error | The merchant is not valid, please check the given mid. |
400 | failed | INVALID_VOUCHER | Error | Voucher not valid. |
400 | failed | LIMIT_EXCEEDED | Error | The amount is incorrect according your past orders. |
400 | failed | LOCKOUT | Error | Max PIN tries exceeded. |
400 | failed | PARTIAL_REVERSALS_NOT_ALLOWED | Error | Partial refunds are not allowed. |
400 | failed | TEMPORARY_HOLD | Error | Transaction temprorary hold. |
400 | failed | TRANSACTION_DUPLICATED | Error | A same transaction already exists. |
400 | failed | TRANSACTION_NOT_AUTHORISED | Error | The transaction has not been authorized. |
400 | failed | TRANSACTION_STATUS_MUST_BE_AUTHORIZED | Error | Invalid operation, the status of the transaction must be authorized |
400 | failed | INVALID_AMOUNT | Error | Ensure that the amount you want to cancel matches the authorized amount. |
400 | failed | TRANSACTION_NOT_AUTHORISED | Error | Transaction not authorised. |
400 | failed | TRANSACTION_STATUS_MUST_BE_CAPTURED | Error | Invalid operation, the status of the transaction must be captured |
401 | failed | UNAUTHORIZED | Error | SSL CONNECTION REQUIRED |
401 | failed | UNAUTHORIZED | Error | INVALID SSL CERTIFICATE |
401 | failed | UNAUTHORIZED | Error | INVALID CREDENTIALS |
401 | failed | INVALID_TOKEN | Error | Invalid, revoked or expired token. You should try to re-authenticate the user. |
401 | failed | UNAUTHORIZED | Error | Missing, invalid or expired token. To fix, you should re-authenticate the user. |
401 | failed | USER_INACTIVE | Error | User Inactive. |
401 | failed | INVALID_TOKEN_ISSUER | Error | The token has not been issued (tokenUsername) for the current user (username) |
403 | failed | FORBIDDEN | Error | INVALID MAC |
403 | failed | FORBIDDEN | Error | INVALID IP |
403 | failed | FORBIDDEN | Error | The request was valid, but the server is refusing action. The user might not have the necessary permissions for this resource. |
404 | failed | TRANSACTION_NOT_FOUND | Error | No transaction found for the given transaction_id. |
404 | failed | ORIGIN_TRANSACTION_ID_NOT_FOUND | Error | The origin transaction_id is not found. |
404 | failed | NOT_FOUND | Error | If no transaction is linked to the transaction_id given as input. |
405 | failed | METHOD_NOT_ALLOWED | Error | A request was made of a resource using a request method not supported by that resource; for example, using GET on a form which requires data to be presented via POST, or using PUT on a read-only resource. |
405 | failed | METHOD_NOT_ALLOWED | Error | A request was made of a resource using a request method not supported by that resource. |
406 | failed | NOT_ACCEPTABLE | Error | The requested resource is only capable of generating content not acceptable according to the Accept headers sent in the request. |
412 | failed | PRECONDITION_FAILED | Error | A business precondition has not been; for example, the user has no active cards. |
412 | failed | PRECONDITION_FAILED | Error | A business precondition has not been. |
415 | failed | UNSUPPORTED_MEDIA_TYPE | Error | The request entity has a media type which the server or resource does not support. |
429 | failed | TOO_MANY_REQUEST | Error | Your request has been rejected due to rate limitation. Please check your subscribed service level agreement. |
500 | failed | INVALID_POST_CODE | Error | INVALID POST CODE |
500 | failed | COMPLIANCE_DATA_NOT_ALLOWED | Error | COMPLIANCE DATA NOT ALLOWED |
500 | failed | INTERNAL_ERROR | Error | Internal Server Error |
500 | failed | CARD_EXPIRED | Error | Card expired |
500 | failed | INTERNAL_ERROR | Error | Invalid Message :Field: [value.amt] must be numeric |
500 | failed | INVALID_POST_CODE | Error | INVALID POST CODE |
500 | failed | INTERNAL_ERROR | Error | We had a problem with our server. Please to try again later. |
500 | failed | TRANSACTION_MUST_BE_AUTHORIZED | Error | Invalid operation, the status of the transaction must be authorized |
501 | failed | NOT_IMPLEMENTED | Error | For the context of the current business unit, this feature is not supported. |
502 | failed | BAD_GATEWAY | Error | INVALID ORIGINATING SYSTEM |
502 | failed | BAD_GATEWAY | Error | Oups... Something wrong on one of the underlying servers! Please contact the administrator to report the issue. |
502 | failed | BAD_GATEWAY | Error | We had a problem with one of our backends that returns a http 500 status. Please to try again later. |