GET All Org Deposits

Get merchant's incoming transactions

get

Get merchant's incoming transactions

This endpoint retrieves the details about all transactions of a specific merchant based on the provided merchnat's ORGANIZATION_API_KEY.

Request

Headers

  • Authorization: Bearer {{ORGANIZATION_API_KEY}}

Query Params

  • limit: number

  • offset: number

Response

  • Status: 200 OK

  • Content Type: application/json

Response Body

{
    "data": [
        {
            "id": number,
            "purchaseId": string,
            "address": string,
            "blockchain": Enum('ethereum', 'tron', 'binance-smart-chain', 'MATIC'),
            "assets": [
                Enum('USDT', 'USDC', 'ETH', 'MATIC','BNB', 'TRX')
             ],
            "hash": string,
            "amount": number,
            "sourceaddress": string
        },
     ]
}
Authorizations
Query parameters
offsetintegerOptionalExample: 0
limitintegerOptionalExample: 5
Responses
200

OK

application/json
Responseobject
get
GET /v1/merchant/incoming-transaction HTTP/1.1
Host: {{base_url}}
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

OK

{
  "data": {
    "transactions": [
      {
        "id": 133,
        "purchaseId": "057590e2-002d-4c3b-b646-6a9fbcda89b0",
        "address": "TSRgRsSagJkeTza5Ei2bamDHp3sscbWhud",
        "asset": "TRX",
        "blockchain": "tron",
        "hash": "302ae537cde6d88bafc5f84f8406ffab48f973bd31cce40de15b66d9adcfb00a",
        "amount": 10.174252,
        "sourceAddress": "TG6wQhZHESbJJrmPrY22LS2CbZYdnL1aHJ"
      },
      {
        "id": 131,
        "purchaseId": "a6c37637-a465-4dec-99c2-af79df134078",
        "address": "TCL6HenyHtFhvJRp7F936V6TukAk5oCduk",
        "asset": "TRX",
        "blockchain": "tron",
        "hash": "b17efc77ccab25a919a95feb664b207894a32c5b19aac209dd83f4790809e5b4",
        "amount": 10.121646,
        "sourceAddress": "TG6wQhZHESbJJrmPrY22LS2CbZYdnL1aHJ"
      },
      {
        "id": 130,
        "purchaseId": "bfa79463-a32c-4e13-b90b-16a5e58d9dc6",
        "address": "TCL6HenyHtFhvJRp7F936V6TukAk5oCduk",
        "asset": "TRX",
        "blockchain": "tron",
        "hash": "1fb5b8bbfc373be7e968b17bf37c23223c5a918938196f228f467945690695d0",
        "amount": 10.252323,
        "sourceAddress": "TG6wQhZHESbJJrmPrY22LS2CbZYdnL1aHJ"
      },
      {
        "id": 123,
        "purchaseId": "99439c8e-f620-4a9b-9dcd-61d0e5f54d36",
        "address": "TSc38UsFkVxfihqDKLen1adRWBEMhJfFpi",
        "asset": "USDT",
        "blockchain": "tron",
        "hash": "ccd4532ea0d5ea432a87e190b5620ae0e296138f93d33e20368a4d861d1ee426",
        "amount": 2.51,
        "sourceAddress": "TG6wQhZHESbJJrmPrY22LS2CbZYdnL1aHJ"
      },
      {
        "id": 120,
        "purchaseId": "8891f263-304f-473d-b268-0b83dbfa7867",
        "address": "bc1qtt36peycf8a78pue6zznds23fk6l0hq7uju3mg",
        "asset": "BTC",
        "blockchain": "bitcoin",
        "hash": "1a0d3612cdb10dfa369995e160a26c1ae5f890209b446396565b94c0fe233575",
        "amount": 0.00002822,
        "sourceAddress": "bc1qdcs0jd7ewe69vfaw589nseq792zptegjj9p52v"
      }
    ],
    "total": 50
  }
}

Last updated

Was this helpful?