Long Description
List all transactions for an EvoPay account that fall within the passed parameters.
Parameters
Name | Description | Value Type | Required |
---|---|---|---|
state | Filter by transaction state (pending, completed) | String | Optional |
sender_id | ID of the office who is the sender of the transaction | integer | Optional |
recipient_id | ID of the office who is the recipient of the transaction | integer | Optional |
sender_or_recipient_id | ID of the office who is either the sender or recipient | integer | Optional |
order_id | ID of an order on which a transaction was used as payment | integer | Optional |
order_group_id | ID of an order group on which a transaction was used as payment | integer | Optional |
amount | Transaction amount (can use gt, lt, gte, lte for comparison) | decimal | Optional |
created_at | Transaction creation time (can use gt, lt, gte, lte) | date | Optional |
updated_at | Transaction update time (can use gt, lt, gte, lte) | date | Optional |
completed_at | Transaction completion time (can use gt, lt, gte, lte) | date | Optional |
Examples
Request | Response |
---|---|
/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" } ] } |