Fetching Transactions

Fetching all transactions can be done by using the following API endpoint :

GET https://api.quaife.net/v1/transactions

Fetching ONE transaction can be done by using the following API endpoint :

GET https://api.quaife.net/v1.1/transactions/{trn_id)

Additional Parameters used with this endpoint:

Parameter

pageIndex

Description

Index of the page of the search results to return
pageSize
Numberof transactions per page (If omitted the default Page Size is 10 transactions per page)
dateFrom
Date to be used as starting point for the transaction search
dateTo
Date to be used as the ending point for the transaction search
Example Request

https://api.quaife.net/v1.1/transactions?DateFrom=08/28/2023&DateTo=08/30/2023

https://api.quaife.net/v1.1/transactions?DateFrom=08/28/2023&DateTo=08/30/2023&pageIndex=0&pageSize=100

https://api.quaife.net/v1.1/transactions/trn_4a1gelgrl

Response Sample

{
“pageIndex”: 0,
“pageSize”: 10,
“count”: 4055,
“data”: [
{
“status”: “Declined”,
“amount”: 154.69,
“currency”: “USD”,
“source”: {
“id”: “401924xxxxxx3015”,
“paymentMethod”: “VISA”,
“billingAddress”: “丑寅 2-22-2-105”
},
“customer”: {
“externalId”: “cust_f8ix4dkghl”,
“email”: “oxxxxxxxxxxxx3@gmail.com”,
“phone”: “817041011987”,
“accountReference”: “9ee4b123123”,
“address”: “丑寅 2-22-2-105”
},
“customerOrderReference”: “120165001B1467421975”,
“transactionId”: “trn_81bfly329a”,
“paymentMethod”: “VISA”,
“transactionType”: “Purchase”,
“transactionMode”: “Live”,
“website”: “Https://example.com,
“currencyv2”: “USD”,
“baseCurrencyAmount”: 0.0,
“customerName”: “Name”,
“organization”: “Example”,
“paymentPid”: “401924xxxxxx3015”,
“serviceProviders”: “Provider 123”,
“providerErrorCode”: “RESUBMIT_WITH_ALTERNATIVE_PAYMENT_DETAILS”,
“providerErrorMessage”: “51 – Not sufficient funds”,
“bankname”: “Example Bank”,
“customerStreetAddress”: “丑寅 2-22-2-105”,
“customerPostCode”: “5671827”,
“customerEmail”: “oxxxxxxxxxxxx3@gmail.com”,
“customerPhone”: “123456789”,
“customerReference”: “9ee4b123123”,
“customerCountry”: “JP”,
“customerIP”: “12.12.12.123”,
“merchantID”: “cust_f8ix4dkghl”,
“paymentChannel”: “Payment Channel 123”,
“created”: “2023-09-01T11:27:26.6345176Z”,
“updated”: “2023-09-01T11:27:27.896126Z”
}

Obtaining API Keys (Merchant Portal)

  • Login as a merchant user
  • Navigate to Developer settings > Websites settings > API keys
  • Click on the website
  • Obtain the Api Secret (either for Live or Test) by pressing “reset”.

Obtaining API Keys (Tenant Portal)

  • Login as a tenant user
  • Navigate to Settings > Developers > API keys
  • Click on “+ Add New” and input any name
  • Copy the key and secret.

MERCHANT

Should you be interested in becoming a merchant, then please fill out the short form below and one of our specialists will be in touch shortly.

SIGN UP

We are delighted that you are considering using Quaife as your payment partner. Fill in the form below & let’s get started.