API
HomeEasytransac
HomeEasytransac
  1. Transaction
  • 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
          GET
  • V1
    • Documentation
      • Signature
    • Authentication
      • Overview
      • Security
      • PSD2 and 3DSecure
    • API - Payment
      • Recurring payments
      • Card payment
      • 1-click payment
      • SEPA Direct Debit
      • Transfer (Open Banking)
      • Payment page
      • Cancel a payment page
      • Resend the payment page
      • P2P Transfert
      • Update a subscription
      • Status
      • Refund
      • Capture
      • Cancellation
      • List of cards
      • List of IBANs
      • History
      • Payment requests
      • Card information
    • 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. Transaction

Transaction - Get status

Sandbox
https://api.sandbox.easytransac.com/v2
Sandbox
https://api.sandbox.easytransac.com/v2
GET
/transaction/status
transaction
Gets the status of the requested payment with your Easytransac transaction ID tid or your own transaction/order ID orderId.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params
tid
string  | null 
optional
Transaction ID
>= 8 characters<= 14 characters
Example:
{{tid}}
Match pattern:
^[A-Za-z0-9-]{8,14}$
orderId
string  | null 
optional
Your own transaction/order ID
>= 1 characters<= 64 characters
Example:
{{orderId}}

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 GET 'https://api.sandbox.easytransac.com/v2/transaction/status'

Responses

🟢200OK
application/json
OK
Body
success
boolean 
required
Whether the action was successful
date
string <date-time>
required
Date of response (ATOM)
>= 25 characters<= 25 characters
data
object 
required
Additional data
tid
string 
required
Transaction ID
>= 8 characters<= 14 characters
Match pattern:
^[A-Za-z0-9-]{8,14}$
status
enum<string> 
required
Transaction status
>= 6 characters<= 10 characters
Allowed values:
authorizedcapturedfailedpendingrefunded
amount
integer 
required
Transaction amount (cents)
>= 1
dateCreated
string <date-time>
required
Date of creation of the resource (ATOM)
orderId
string  | null 
optional
Your own transaction/order ID
>= 1 characters<= 64 characters
redirectUrl
string  | null 
optional
URL to redirect the customer to its bank payment page
>= 12 characters<= 255 characters
Example
{
  "success": true,
  "date": "2024-12-31T23:59:59+02:00",
  "data": {
    "tid": "ABC1-ABC1-ABC1",
    "status": "captured",
    "amount": 1000,
    "dateCreated": "2024-12-31T23:59:59+02:00",
    "orderId": "ABCabc123",
    "redirectUrl": "https://example.com/pay"
  }
}
🟠401Unauthorized
Previous
SDD - Mandate - Get status
Next
Signature
Built with