Edenred Direct Payment Services
Get Transaction By ID
Context
This API enables you to retrieve one transaction.
All transactions type can be retrieved : transactions processed with success or in error on Edenred side
How to reach this API ?
This API is only accessible via our new URL :
- DEV : https://directpayment.sbx.eu.edenred.io/v2
- UAT/sandbox : https://directpayment.stg.eu.edenred.io/v2
- PRODUCTION : Not yet available - URL will be communicated when service is enabled
How to use this API ?
In this section, we will explain how can use the new APIs.
This API return the transaction details related to the given transaction identifier ( transaction_id
). (To date, there is only one criteria to search for a transaction)
UriParams | Description |
---|---|
transaction_id | Get transaction by transaction identifier - Example: /transactions/MTYxMjg2MTQ4NzE0NDM4NTI4MDAwM-542093 |
Examples of Response
{
"meta": {
"status": "succeeded",
"messages": []
},
"data": {
"ref": "MTYxMjQ2OTE4MTEwMzUxNTM4MDAwM-427032",
"username": "myedenred@gmail.com",
"date": "2021-01-22T12:55:12+01:00",
"total_amount": 1900,
"partner_name": "MyOrder",
"product_class": "ETR",
"session_id": "b4a1f6267a0479900504cb3ab4a1f626d14050",
"transaction_details": [
{
"type": "edenred",
"id": "MTYxMjQ2OTE4MTEwMzUxNTM4MDAwM-427032",
"merchant": {
"id": "123456",
"details": {
"name": "BOUCHERIE LES 4 CHEMINS",
"address": {
"address_line_1": "AVENUE DES FARIGOULES",
"zip_code": "04130",
"city_name": "VOLX"
}
}
},
"order_ref": "Order-123",
"extra_field": "MyOrder|123",
"amount": 1900,
"status": {
"code": "captured"
}
}
]
}
}