P2P Transfert
POST
/api/payment/transferTransfer money from your merchant account to another merchant's account, or the other way round.
Request
Body Params application/x-www-form-urlencoded
From
string
required
Email address or unique ID of Easytransac merchant who owns the funds
<= 128 characters
To
string
required
Email address or ID of the merchant who will be collecting the funds in their Easytransac account
<= 128 characters
Tid
string
required
Unique Easytransac original transaction's identifier
.Can be empty if no payment is related to the transfert.
<= 8 characters
Amount
number
required
Transfer amount, in cents
Description
string
optional
Description of the transfer (use \n to make a line break)
Language
string
optional
Language of the potential bank errors returned
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
object
optional
From
string
optional
Example:
1234
To
string
optional
Example:
5678
Amount
string
optional
Example:
29.99
Status
enum<string>
optional
Allowed values:
capturedfailed
Example:
captured
OriginalTid
string
optional
Example:
abcd1234
Date
string
optional
Example:
2019-06-03 17:05:30
Example
{
"Code": 0,
"Signature": "1f51786246a940677afe71f6968972fd46500bd1",
"Result": {
"From": "1234",
"To": "5678",
"Amount": "29.99",
"Status": "captured",
"OriginalTid": "abcd1234",
"Date": "2019-06-03 17:05:30"
}
}
Last modified: a day ago