test api

This is a short description
Operations
POST /pay2
POST /void
POST /capture
POST /rebate
POST /status/merchantcall/repeat
POST /status/statusByDate
POST /customer
POST /customerSummary
Direct Payment
POST /pay2

Send a POST request to the /pay endpoint to perform a transaction.

The payload must be encrypted. See the Encryption section for details.

Different payment methods may require different parameters. The following parameters are only used for credit card transactions: cardType, cardNumber, chName, expDate, cvnNumber, chAddress1, chAddress2, chCity, chPostCode, chCountry, chEmail, chFirstName, chLastName, chPhone, chState.

Request parameters

this is a note

fdsfds
string optional
Example:
fdsfds
fdsfdsggfdgfd
string optional
Example:
gfdgfdgfdgfd
fdfdsfds
string required
Allow empty value: true
Default:
test

Responses

200 200

Success

400 fdsfds

fdsfds

Example 1
Example JSON
Example 3
POST /pay2?fdfdsfds=test HTTP/1.1 
{"example":"json"}
curl -X POST "/pay2?fdfdsfds=test"
Recurring Transactions
POST /pay

Send a POST request that includes a cardNumberToken to the /pay endpoint to perform a recurring transaction. See the Recurring section for details.

The payload must be encrypted. See the Encryption section for details.

Responses

200 200

Success

Void
POST /void

Send a POST request to the /void endpoint to void a pre-auth transaction.

The payload must be encrypted. See the Encryption section for details.

Responses

200 200

Success

Capture
POST /capture

Send a POST request to the /capture endpoint to capture a pre-auth transaction.

The payload must be encrypted. See the Encryption section for details.

Responses

200 200

Success

Refund
POST /rebate

Send a POST request to the /rebate endpoint to refund a previously captured transaction.

The payload must be encrypted. See the Encryption section for details.

Responses

200 200

Success

Transaction Status
POST /status/merchantcall/repeat

Send a POST request to the /status endpoint to request the response status message returned by a previous transaction.

The payload must be encrypted. See the Encryption section for details.

Responses

200 200

Success

Transaction Status by Date Range
POST /status/statusByDate

Send a POST request to the /status/statusByDate endpoint to request the response status messages returned for transactions processed between the dates sent in the request.

The payload must be encrypted. See the Encryption section for details.

Concatenate the parameters listed below using the following format before encrypting them - {“merchantId”:“2150”,“from”:“2018/08/01 23:59:59”, “to”:“2018/08/07 23:59:59”}. Include the integrity check value and the merchantId as described in the Encryption section.

Responses

200 200

Success

Customer Saved Accounts
POST /customer

Send a POST request to the /customeEndpoint endpoint to obtain a list of payment solutions a customer has stored with EPG.

The payload must be encrypted. See the Encryption section for details.

Responses

200 200

Success

Customer History
POST /customerSummary

Send a POST request to the /customerSummary endpoint to obtain a list of operations that a customer has performed using EPG. The response is a list of customerSummaryResponse objects that include account objects and transaction details.

The payload must be encrypted. See the Encryption section for details.

Responses

200 200

Success

fdsfdsfds

fdsfdsfsdfdsfds