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

Status

Sandbox
https://api.sandbox.easytransac.com/v2
Sandbox
https://api.sandbox.easytransac.com/v2
POST
/api/payment/status
API - Payment
Allows you to retrieve the full status of the requested payment. One of the 3 identifiers (Tid, RequestId or OrderId) will be required.

Request

Body Params application/x-www-form-urlencoded
Tid
number 
optional
Unique Easytransac transaction's identifier
RequestId
number 
optional
Request identifier (if payment/page)
OrderId
number 
optional
Your transaction identifier
Language
string 
optional
Language of the potential bank errors returned
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/status' \
--data-urlencode 'Signature='

Responses

🟢200Response
application/json
Body
Code
integer 
optional
Example:
0
Signature
string 
optional
Example:
1f51786246a940677afe71f6968972fd46500bd1
Result
object 
optional
RequestId
string 
optional
Example:
a1b2c3d4e5f6
Tid
string 
optional
Example:
a1b2c3d4
Uid
string 
optional
Example:
Abc123
OrderId
string 
optional
Example:
Cde100
Status
enum<string> 
optional
Allowed values:
pendingcapturedfailedrefundedauthorized
Example:
captured
Date
string 
optional
Example:
2019-06-03 17:05:30
DateRefund
string 
optional
Example:
2019-06-03 17:05:30
Amount
string 
optional
Example:
29.99
FixFees
string 
optional
Example:
0.01
Message
string 
optional
Example:
Payment was successful
3DSecure
string 
optional
Example:
yes
OneClick
string 
optional
Example:
yes
Alias
string 
optional
Example:
a1b2c3
Example
{
  "Code": 0,
  "Signature": "1f51786246a940677afe71f6968972fd46500bd1",
  "Result": {
    "RequestId": "a1b2c3d4e5f6",
    "Tid": "a1b2c3d4",
    "Uid": "Abc123",
    "OrderId": "Cde100",
    "Status": "pending",
    "Date": "2019-06-03 17:05:30",
    "DateRefund": "2019-06-03 17:05:30",
    "Amount": "29.99",
    "FixFees": "0.01",
    "Message": "Payment was successful",
    "3DSecure": "yes",
    "OneClick": "yes",
    "Alias": "a1b2c3"
  }
}
Previous
Update a subscription
Next
Refund
Built with