Query Source

API Overview

This API retrieves a list of Sources in the system, supporting paginated queries.

  • Request Method:GET

  • Request URL:https://openapi.elven.com/open/v3/transaction/source

Request Headers

Parameter NameTypeRequiredDescription

elven-api-key

String

Yes

The API key assigned to you

elven-api-sign

String

Yes

Request signature, used to verify the legitimacy of the request

elven-api-timestamp

String

Yes

Request timestamp, in milliseconds

View Details

Request Parameters

Query 参数

Parameter NameType必填Description

page

Number

No

The page number to retrieve. Defaults to 1 if not provided.

limit

Number

No

The number of records per page. Defaults to 10 if not provided.

Example Request

GET https://openapi.elven.com/open/v3/transaction/source?page=1&limit=10

Response Parameters

Parameter NameTypeDescription

total

Number

The total number of Sources in the system.

list

Array

A list of Sources, where each element contains detailed information.

list 数组元素

Parameter NameTypeDescription

sourceId

String

The primary key of the source.

name

String

The name of the source.

entityAccountId

String

The primary key of the account associated with the source.

Example Response

{
    "total": 100,
    "list": [
        {
            "sourceId": "xxx",
            "name": "Source1",
            "entityAccountId": "entityAccountId1"
        },
        {
            "sourceId": "yyy",
            "name": "Source2",
            "entityAccountId": "entityAccountId2"
        }
    ]
}

Notes

  • The following headers are required for all requests to ensure security and validity: elven-api-key,elven-api-sign,elven-api-timestamp

  • Pagination: The page and limit parameters are optional. If omitted, the API will default to returning the first page with 10 records per page.

  • The list array in the response contains detailed information about each Source, following the same structure as the return value from the Create Source API.

Last updated

#27:

Change request updated