Skip to main content
GET
/
api
/
zapier
/
transactions
/
{phone}
Get Transactions by Customer
curl --request GET \
  --url https://app.dimepayments.com/api/zapier/transactions/{phone} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "start_date": "2020-10-15",
  "end_date": "2020-10-15",
  "last_days": 90
}
'
[
  {
    "amount": "100.00",
    "transaction_date": "2020-10-15 12:00:00",
    "invoice_number": "1234567890",
    "first_name": "John",
    "last_name": "Doe",
    "phone": "1234567890",
    "email": "email@email.com"
  }
]

Authorizations

Authorization
string
header
required

You can retrieve your token by visiting your dashboard and clicking Generate API token under your profile in top right.

Path Parameters

phone
integer
required

Body

application/json
start_date
string

in the form of YYYY-MM-DD

Example:

"2020-10-15"

end_date
string

in the form of YYYY-MM-DD

Example:

"2020-10-15"

last_days
integer

number of days

Example:

90

Response

Successful Listing

amount
string

Transaction

Example:

"100.00"

transaction_date
string

Transaction

Example:

"2020-10-15 12:00:00"

invoice_number
string

Transaction invoice number

Example:

"1234567890"

first_name
string

Customer's first name

Example:

"John"

last_name
string

Customer's first name

Example:

"Doe"

phone
string

Customer's phone number

Example:

"1234567890"

email
string

Customer's email address

Example:

"email@email.com"

Example:
[
{
"amount": "100.00",
"transaction_date": "2020-10-15 12:00:00",
"invoice_number": "1234567890",
"first_name": "John",
"last_name": "Doe",
"phone": "1234567890",
"email": "email@email.com"
}
]