v1

latestOpenAPI 3.0.02026-07-24126202516.7 KB
Items

List Item Batch Transactions

Retrieve an ordered and paginated list of Batch Transactions associated with the Item using a given :id. This will include both direct debits coming in, and the disbursements going out.

get/items/{id}/batch_transactions

Path parameters

idstring required

Marketplace / Platform item ID

Response

OK

Example response

{
  "batch_transactions": [
    {
      "disbursement_bank": "Bank A",
      "processing_bank": "Bank A",
      "account_external": {
        "currency": {
          "code": "AUD"
        }
      },
      "first_name": "first name",
      "last_name": "last name",
      "user_email": "email@email.com",
      "user_external_id": "buyer-71391895",
      "legal_entity_id": "49fac28b-5628-4cec-854f-58a9b87dd58d",
      "type": "disbursement",
      "type_method": "direct_credit",
      "batch_id": 302,
      "state": "batched",
      "user_id": "064d6800-fff3-11e5-86aa-5e5517507c66",
      "account_id": "e57120ea-053d-11e6-b512-3e1d05defe78",
      "account_type": "item",
      "from_user_name": "payer",
      "from_user_id": "064d6800-fff3-11e5-86aa-5e5517507c66",
      "amount": 9800,
      "currency": "AUD",
      "company": "ABC Pty Ltd",
      "address_line1": "Courtland Ave.",
      "address_line2": "Building 1",
      "address_city": "Melbourne",
      "address_state": "VIC",
      "country": "AUD",
      "debit_credit": "credit",
      "description": "Credit of $98.00 to Item by Debit of $98.00 from Wallet Account",
      "deposit_reference": "AUD",
      "related": {
        "account_to": {
          "id": "385b50bb-237a-42cb-9382-22953e191ae6",
          "account_type": "wallet_account",
          "user_id": "5830def0-ffe8-11e5-86aa-5e5517507c66"
        }
      }
    }
  ]
}