API
HomeEasytransac
HomeEasytransac
  1. API - Payment
  • Start
    • API Domain Usage
    • Get an API key
    • Communication
  • Documentation
    • Errors
      • ApiError codes
    • Webhooks
      • PUSH Method
      • PULL Method
  • V2
    • Overview
    • Authentication
      • JWT access token - Generate
        POST
    • Endpoints
      • Open Banking
        • Open Banking - Initialize
      • SDD
        • SDD - Mandate - Create
        • SDD - Mandate - Debit
        • SDD - Mandate - Get status
      • Transaction
        • Transaction - Get status
  • V1
    • Documentation
      • Signature
    • Authentication
      • Overview
      • Security
      • PSD2 and 3DSecure
    • API - Payment
      • Recurring payments
      • Card payment
        POST
      • 1-click payment
        POST
      • SEPA Direct Debit
        POST
      • Transfer (Open Banking)
        POST
      • Payment page
        POST
      • Cancel a payment page
        POST
      • Resend the payment page
        POST
      • P2P Transfert
        POST
      • Update a subscription
        POST
      • Status
        POST
      • Refund
        POST
      • Capture
        POST
      • Cancellation
        POST
      • List of cards
        POST
      • List of IBANs
        POST
      • History
        POST
      • Payment requests
        POST
      • Card information
        POST
    • API - User
      • Add a merchant
      • Update a merchant
      • Search for a merchant
      • List of movements
      • Make a payout
      • List all payouts
      • Add a logo
      • Get the activity
      • Update activity
    • API - Document
      • Add a document
      • Get a document
      • List documents
  1. API - Payment

History

Sandbox
https://api.sandbox.easytransac.com/v2
Sandbox
https://api.sandbox.easytransac.com/v2
POST
/api/payment/history
API - Payment
Returns an Easytransac merchant's cash-out history, in descending order.
If you leave Email or Id blank, your own transactions are returned.

Request

Body Params application/x-www-form-urlencoded
Limit
number 
optional
Number of transactions per page (50 by default, 1000 maximum)
Page
number 
optional
Requested page (1 by default)
DateFrom
string <YYYY-MM-DD>
optional
Only take transactions from a specific date
Email
string 
optional
Easytransac merchant email address
<= 128 characters
Id
number 
optional
Easytransac merchant identifier
Signature
string 
required
Signature to verify the integrity of the data sent

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.sandbox.easytransac.com/v2/api/payment/history' \
--data-urlencode 'Signature='

Responses

🟢200Response
application/json
Body
Code
integer 
optional
Example:
0
Signature
string 
optional
Example:
1f51786246a940677afe71f6968972fd46500bd1
Result
array [object {31}] 
optional
OperationType
enum<string> 
optional
Allowed values:
paymentdebit
Example:
payment
PaymentMethod
enum<string> 
optional
Allowed values:
ApiManualMailNfcSmsQRCodeMessengerWhatsappFlashEmv
Example:
Api
ApplicationType
enum<string> 
optional
Allowed values:
ApiBackofficeIosAndroid
Example:
Api
Tid
string 
optional
Example:
4bEp3k1v
Uid
string 
optional
Example:
ccc
OrderId
string 
optional
Example:
test123
Status
enum<string> 
optional
Allowed values:
pendingcapturedfailedrefundedauthorized
Example:
failed
Date
string 
optional
Example:
2018-08-06 10:54:18
DateRefund
string 
optional
Example:
2019-06-03 17:05:30
DateChargeback
string 
optional
Example:
2019-06-03 17:05:30
DateRepresentment
string 
optional
Example:
2019-06-03 17:05:30
Amount
string 
optional
Example:
2.5
ClientIP
string 
optional
Example:
22.22.22.22
ClientIPCountry
string 
optional
Example:
USA
Currency
string 
optional
Example:
EUR
CurrencyText
string 
optional
Example:
Euro
FixFees
string 
optional
Example:
0
Message
string 
optional
Example:
La transaction a échoué
3DSecure
string 
optional
Example:
no
OneClick
string 
optional
Example:
yes
Alias
string 
optional
Example:
Xagv6r
CardNumber
string 
optional
Example:
************6629
CardMonth
string 
optional
Example:
01
CardYear
string 
optional
Example:
2025
CardType
string 
optional
Example:
MASTERCARD
CardCountry
string 
optional
Example:
FRA
Test
string 
optional
Example:
yes
Language
string 
optional
Example:
FRE
Error
string 
optional
Example:
Numéro de carte invalide
AdditionalError
array[string]
optional
Example:
["Ne pas honorer"]
Client
object 
optional
Example
{
  "Code": 0,
  "Signature": "1f51786246a940677afe71f6968972fd46500bd1",
  "Result": [
    {
      "OperationType": "payment",
      "PaymentMethod": "Api",
      "ApplicationType": "Api",
      "Tid": "4bEp3k1v",
      "Uid": "ccc",
      "OrderId": "test123",
      "Status": "pending",
      "Date": "2018-08-06 10:54:18",
      "DateRefund": "2019-06-03 17:05:30",
      "DateChargeback": "2019-06-03 17:05:30",
      "DateRepresentment": "2019-06-03 17:05:30",
      "Amount": "2.5",
      "ClientIP": "22.22.22.22",
      "ClientIPCountry": "USA",
      "Currency": "EUR",
      "CurrencyText": "Euro",
      "FixFees": "0",
      "Message": "La transaction a échoué",
      "3DSecure": "no",
      "OneClick": "yes",
      "Alias": "Xagv6r",
      "CardNumber": "************6629",
      "CardMonth": "01",
      "CardYear": "2025",
      "CardType": "MASTERCARD",
      "CardCountry": "FRA",
      "Test": "yes",
      "Language": "FRE",
      "Error": "Numéro de carte invalide",
      "AdditionalError": [
        "Ne pas honorer"
      ],
      "Client": {
        "Id": "aaabbb1",
        "Email": "test@test.com",
        "Firstname": "John",
        "Lastname": "Doe",
        "Address": "26 green street",
        "ZipCode": "75001",
        "City": "Paris"
      }
    }
  ]
}
Previous
List of IBANs
Next
Payment requests
Built with