Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

NameIndex
DescriptionList transactions for an EvoPay account
TypeGET
URL/v9/accounts/:account_id/transactions

Long Description

List all transactions for an EvoPay account that fall within the passed parameters.

Parameters

Name
Description
Value Type
Required
stateFilter by transaction state (pending, completed)StringOptional
sender_idID of the office who is the sender of the transactionintegerOptional
recipient_idID of the office who is the recipient of the transactionintegerOptional
sender_or_recipient_idID of the office who is either the sender or recipientintegerOptional
order_idID of an order on which a transaction was used as paymentintegerOptional
order_group_idID of an order group on which a transaction was used as paymentintegerOptional
amountTransaction amount (can use gt, lt, gte, lte for comparison)decimalOptional
created_atTransaction creation time (can use gt, lt, gte, lte)dateOptional
updated_atTransaction update time (can use gt, lt, gte, lte)dateOptional
completed_atTransaction completion time (can use gt, lt, gte, lte)dateOptional

 

Examples

RequestResponse
/v9/accounts/6/transactions?sender_id=6&updated_at.gt=2013-04-01 

 

 

{
   "transactions":[
      {
         "sender":{
            "type":"Office",
            "address":{
               "latitude":null,
               "postal_code":"07302",
               "longitude":null,
               "street_address":"333 Washington St.",
               "extended_address":"Suite 302",
               "label":null,
               "primary":false,
               "country_code":"US",
               "region":"NJ",
               "id":8506,
               "locality":"Jersey City",
               "po_box":false
            },
            "brokerage":{
               "email":null,
               "url":"/brokerages/61",
               "natb_member":true,
               "abbreviation":"Ticket Evolution",
               "name":"Ticket Evolution",
               "id":61,
               "updated_at":"2013-04-05T14:32:44Z",
               "created_at":"2010-07-28T12:02:16Z"
            },
            "phone":"201-499-0833",
            "url":"/offices/6",
            "evopay":true,
            "name":"Main Office",
            "id":6
         },
         "amount":"7.0",
         "notes":null,
         "balance":"11015.69",
         "url":"/evopay_transactions/15696",
         "order_ids":[

         ],
         "state":"completed",
         "order_ids_with_group":[

         ],
         "recipient":{
            "type":"Office",
            "address":{
               "latitude":null,
               "postal_code":"46204",
               "longitude":null,
               "street_address":"12 West Maryland Ave.",
               "extended_address":null,
               "label":null,
               "primary":false,
               "country_code":"US",
               "region":"IN",
               "id":8937,
               "locality":"Indianapolis",
               "po_box":false
            },
            "brokerage":{
               "email":null,
               "url":"/brokerages/86",
               "natb_member":true,
               "abbreviation":"Circle City",
               "name":"Circle City Tickets",
               "id":86,
               "updated_at":"2013-02-08T22:57:45Z",
               "created_at":"2010-07-30T16:37:32Z"
            },
            "phone":"317-254-9500",
            "url":"/offices/2",
            "evopay":true,
            "name":"Downtown Office",
            "id":2
         },
         "id":15696,
         "created_at":"2013-04-11T21:57:55Z",
         "updated_at":"2013-04-11T21:57:55Z"
      },
      {
         "sender":{
            "type":"Office",
            "address":{
               "latitude":null,
               "postal_code":"07302",
               "longitude":null,
               "street_address":"333 Washington St.",
               "extended_address":"Suite 302",
               "label":null,
               "primary":false,
               "country_code":"US",
               "region":"NJ",
               "id":8506,
               "locality":"Jersey City",
               "po_box":false
            },
            "brokerage":{
               "email":null,
               "url":"/brokerages/61",
               "natb_member":true,
               "abbreviation":"Ticket Evolution",
               "name":"Ticket Evolution",
               "id":61,
               "updated_at":"2013-04-05T14:32:44Z",
               "created_at":"2010-07-28T12:02:16Z"
            },
            "phone":"201-499-0833",
            "url":"/offices/6",
            "evopay":true,
            "name":"Main Office",
            "id":6
         },
         "amount":"7.0",
         "notes":null,
         "balance":"11022.69",
         "url":"/evopay_transactions/15695",
         "order_ids":[

         ],
         "state":"completed",
         "order_ids_with_group":[

         ],
         "recipient":null,
         "id":15695,
         "created_at":"2013-04-11T21:52:35Z",
         "updated_at":"2013-04-11T21:52:35Z"
      }
   ]
}