Payment requests
POST
/api/payment/requestsReturns the history of payment requests (SMS, Email, API, ...) created by a merchant, in descending order.
If you leave Email
or Id
blank, your own payment requests are returned.
Request
Body Params application/x-www-form-urlencoded
Limit
number
optional
Number of requests per page (50 by default, 1000 maximum)
Page
number
optional
Requested page (1 by default)
Remote
string
optional
Requests with PaymentMethod=[Mail,Sms]
only, or only the others
All is returned by default
Allowed values:
yesno
DateFrom
string <YYYY-MM-DD>
optional
Only take requests 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
Responses
Response(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
Code
integer
optional
Example:
0
Signature
string
optional
Example:
1f51786246a940677afe71f6968972fd46500bd1
Result
array [object {13}]
optional
RequestId
string
optional
Example:
a1b2c3d4e5f6
OperationType
string
optional
Allowed values:
paymentdebit
Example:
payment
PaymentMethod
string
optional
Allowed values:
ApiManualMailNfcSmsQRCodeMessengerWhatsappFlashEmv
Example:
mail
Status
string
optional
Allowed values:
tosendpendingexpiredcancelledlockeddone
Example:
pending
Date
string
optional
Example:
2019-06-03 17:05:30
DateSent
string
optional
Example:
2019-06-03 17:05:30
Amount
string
optional
Example:
29.99
3DSecure
string
optional
Allowed values:
yesno
Example:
no
PageUrl
string
optional
Example:
https://www.easytransac.com/pay/a1b2c3d4e5f6
Email
string
optional
Example:
john@doe.com
Phone
string
optional
Example:
0612131415
Live
string
optional
Allowed values:
yesno
Example:
yes
Language
string
optional
Example:
FRE
Example
{
"Code": 0,
"Signature": "1f51786246a940677afe71f6968972fd46500bd1",
"Result": [
{
"RequestId": "a1b2c3d4e5f6",
"OperationType": "payment",
"PaymentMethod": "Api",
"Status": "tosend",
"Date": "2019-06-03 17:05:30",
"DateSent": "2019-06-03 17:05:30",
"Amount": "29.99",
"3DSecure": "yes",
"PageUrl": "https://www.easytransac.com/pay/a1b2c3d4e5f6",
"Email": "john@doe.com",
"Phone": "0612131415",
"Live": "yes",
"Language": "FRE"
}
]
}
Modified at 3 months ago