Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Page Properties
labelapi_docs_ticket_inventory_payments
NameStatus
DescriptionGives a query-able list of payments for a brokerages.
TypeGET
URL/v9/payments/status

Long Description

Gives a query-able list of payments for a brokerages. All payments are scoped to the office that the POS user is assigned to. Currently, this endpoint is only supported by the POS.

Parameters

Name
Description
Value Type
Required
order_typeType of order (e.g. purchase_order, order, or all)StringOptional
transaction_typeType of Transaction (e.g. EvopayTransaction, CreditCardTransaction)StringOptional
seller_idID of the sellerIntegerOptional
seller_typeType of the seller (e.g. Office, Client)StringOptional
seller_nameName of the seller (e.g. Gold, John)StringOptional
buyer_idID of the buyerStringOptional
buyer_typeType of the buyer (e.g. Office, Client)StringOptional
buyer_nameName of the seller (e.g. Ace, Alice)StringOptional
transaction_stateState of the transaction (e.g. completed, pending)StringOptional
created_atThe ISO-8601 date (e.g. 2013-01-01) for when the payment was created.
 Can also be refined with a range (e.g. created_at.[ gt | gte | lt | lte])
StringOptional
updated_atThe ISO-8601 date (e.g. 2013-01-01) for when the payment was last updated.
 Can also be refined with a range (e.g. updated_at.[ gt | gte | lt | lte])
StringOptional

 

Examples

RequestResponse
/v9/payments/status?buyer_type=Office&created_at.gte=2013-04-04&order_type=all 
Code Block
themeConfluence
languageruby
Paste in Request CodeNone...
Code Block
themeConfluence
languageruby
Paste in Response Code{
   "payments":[
      {
         "created_at":"2013-04-04T01:53:40Z",
         "buyer_name":"Ticket Evolution",
         "seller_name":"Ticket King - WI",
         "updated_at":"2013-04-04T01:53:40Z",
         "is_refund":false,
         "transaction_type":"EvopayTransaction",
         "transaction_amount":"128.0",
         "order_group_id":22483,
         "id":30496,
         "buyer_id":6,
         "payment_amount":"128.0",
         "order_link_id":96060,
         "seller_id":116,
         "seller_type":"Office",
         "buyer_type":"Office",
         "transaction_state":"pending"
      },
      {
         "created_at":"2013-04-04T01:23:26Z",
         "buyer_name":"SeatGeek",
         "seller_name":"Ticket Evolution",
         "updated_at":"2013-04-04T01:23:26Z",
         "is_refund":false,
         "transaction_type":"EvopayTransaction",
         "transaction_amount":"100.0",
         "order_group_id":22458,
         "id":30459,
         "buyer_id":1116,
         "payment_amount":"100.0",
         "order_link_id":96017,
         "seller_id":6,
         "seller_type":"Office",
         "buyer_type":"Office",
         "transaction_state":"pending"
      },
      {
         "created_at":"2013-04-04T09:42:31Z",
         "buyer_name":"Ticket Evolution",
         "seller_name":"Stagefront Tickets",
         "updated_at":"2013-04-04T09:42:31Z",
         "is_refund":false,
         "transaction_type":"EvopayTransaction",
         "transaction_amount":"48.0",
         "order_group_id":22541,
         "id":30578,
         "buyer_id":6,
         "payment_amount":"48.0",
         "order_link_id":96198,
         "seller_id":1036,
         "seller_type":"Office",
         "buyer_type":"Office",
         "transaction_state":"pending"
      }
   ]
}