International
Last updated
Was this helpful?
Last updated
Was this helpful?
REFID will be the transaction ID
ReceiptType will always be 23 for International
Merchant copy use Recipient = 1
Customer Copy use Recipient = 2
For Dual Receipt use Recipient = 3
Consuming the Response
The member named ReceiptHtml holds the receipt data
Important you must replace all Unicode characters to consume clean HTML
Example : CleanHtml = Regex.Replace(my, @"[^\u0000-\u007F]+", string.Empty);
A unique session key used for authentication in API calls. This key is generated upon successful authentication and must be included in all subsequent requests.
A1842D663E9A4A72XXXXXXXX303541303234373138
application/json
application/json
The transaction ID
5eef4782-5be1-11ef-bbc1-46647bd59a7a
The type of receipt, 23 for international
23
The targeted recipient type
1
1
, 2
, 3
This API call is for merchant accounts that are specifically configured for international processing.
A unique session key used for authentication in API calls. This key is generated upon successful authentication and must be included in all subsequent requests.
A1842D663E9A4A72XXXXXXXX303541303234373138
application/json
application/json
The consent token ID for the transaction returned when creating a sale using the international widget
a64d8a2a-5994-11ef-95fc-3e580ecac30f
The amount to be charged
5
Query Strings:
EasyPay provides a robust query language which provides a means for you to obtain specific records.
In order to Create a Query you will build logical terms and join them with Logical AND or Logical OR.
Use && for Logical AND
Use || for Logical OR
For instance, Let's say you want to return all records from merchant record 1 which were created in JUNE.
HERE IS THE QUERY: (A=1)&&(C>='6/1/2024')&&(C<'7/1/2024') (notice that any TEXT or DATES use a single Quote delimiter while numeric items do not)
Each Letter represents a variable and the following chart shows each meaning.
A | MerchID |
B | Status |
C | CreatedON |
D | LastName |
E | Result |
F | TransID |
J | FirstName |
L | Amount |
M | REFID |
Q | CardNum Last 4 |
N | RPGUID |
W | ConsentID |
EasyPay stores a copy of the transactional data on its servers. For international transactions data is stored in such a way that we may have multiple records in our system for a single credit card authorization or OrderID. Two Fields of Interest are Result and Status.
Seq | OrderID | Action | Result | Status |
---|---|---|---|---|
1 | 09B370DD | SALE | REDIRECT | REDIRECT |
2 | 09B370DD | SALE | REDIRECT | 3DS |
3 | 09B370DD | SALE | SUCCESS | SETTLED |
The above table shows three records we record as we process a single transaction on the International Processing Servers. As you request transaction information you are most likely only interested in the last entry which shows SUCCESS and SETTLED as the other two are simply intermediate steps.
The following shows query enum values for RESULT and STATUS and ACTION
E Result Values | |
---|---|
ALL | -1 |
SUCCESS | 1 |
DECLINED | 2 |
REDIRECT | 3 |
ACCEPTED | 4 |
ERROR | 5 |
UNDEFINED | 6 |
B Status Values | |
---|---|
ALL | -1 |
PENDING | 1 |
REDIRECT | 2 |
SETTLED | 3 |
REVERSAL | 4 |
REFUND | 5 |
DECLINED | 6 |
PENDING | 7 |
CHARGEBACK | 8 |
VOID | 9 |
G Action Values | |
---|---|
ALL | -1 |
SALES | 1 |
CREDITVOID | 2 |
RECURRING_SALE | 3 |
So, to return all Transactions which are successfully settled please use the following query:
Result ➔ E Use 1 for Success
Status ➔ B Use 3 for Settled
Your query now becomes the following
{
"Query": "(B=3)&&(E=1)"
}
You can further limit your query by specifying a Date Range
{
"Query": "(B=3)&&(E=1)&&(C>’2024-09-01’)"
}
If you want to limit your results to transactions which are REFUNDS then use ACTION CREDITVOID
Or specifically (G=2)
{
"Query": "(B=3)&&(E=1)&&(C>'2024-09-01')&&(G=2)"
}
If you want to limit your results to transactions which are Processed from stored Card use ACTION RECURRING_SALE
Or specifically (G=3)
{
"Query": "(B=3)&&(E=1)&&(C>'2024-09-01')&&(G=3)"
}
If you are looking for a particular transaction based on its unique TransID, you can do the following:
{
"Query": "(F='328217c4-7059-11ef-a730-a6469c956913')&&(B=3)&&(E=1) "
}
This will return the transaction of interest without returning the intermediate steps as noted above.
If you want to query by Last name on a specific Date
{
"Query": "(C>'2024-09-16')&&(C<'2024-09-17')&&(D='SMITH')&&(B=3)&&(E=1)"
}
If you are looking for a specific Amount
{
"Query": "(L=4.44)&&(B=3)&&(E=1)"
}
If you are looking for a specific Amount within a date range
{
"Query": "(L=4.44)&&(C>'2024-09-16')&&(C<'2024-09-17')&&(B=3)&&(E=1)"
}
If you are looking for a particular Card Number ( use last 4 digits ) for settled records
{
"Query": "(Q='1111')&&(B=3)&&(E=1)"
}
If you are looking for a particular Reference ID
{
"Query": "(M='ABC 888')&&(B=3)&&(E=1)"
}
If you are looking for a particular saved card transaction based on the ConsentID
{
"Query": "(W='c30eca54-75c1-11ef-b9e6-7aa481e33aa5')&&(B=3)&&(E=1)"
}
A unique session key used for authentication in API calls. This key is generated upon successful authentication and must be included in all subsequent requests.
A1842D663E9A4A72XXXXXXXX303541303234373138
application/json
application/json
A query string for obtaining specific transaction records using Number's query language. Build logical terms and join them with '&&' for logical AND or '||' for logical OR. Use single quotes for text and date values. Refer to the variable chart for query composition:
(B=3)&&(E=1)&&(C>'2024-09-01')
This API call is for merchant accounts that are specifically configured for international processing.
A unique session key used for authentication in API calls. This key is generated upon successful authentication and must be included in all subsequent requests.
A1842D663E9A4A72XXXXXXXX303541303234373138
application/json
application/json
The transaction ID of the transaction to be voided
a88ed0e4-5a3b-11ef-b49b-46647bd59a7a
The amount of the transaction to be voided
5