Create Source
API Overview
This API allows you to create a new Source under an existing account in the system.
Request Method:
POST
Request URL:
https://openapi.elven.com/open/v3/transaction/source
Request Headers
Parameter Name | Type | Required | Description |
---|---|---|---|
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 |
Request Parameters
Body Parameters (JSON Format)
Parameter Name | Type | Required | Description |
---|---|---|---|
name | String | Yes | The name of the source to be created. |
entityAccountId | String | Yes | The primary key of the account under which the source will be created. |
Example Request
Response Parameters
Parameter Name | Type | Description |
---|---|---|
sourceId | String | The primary key of the newly created source. |
name | String | The name of the source. |
entityAccountId | String | The primary key of the account associated with the source. |
Example Response
Notes
The following headers are required for all requests to ensure security and validity: elven-api-key,elven-api-sign,elven-api-timestamp
Both name and entityAccountId are mandatory fields in the request body and cannot be left empty.
Upon successful creation, the system will return a unique sourceId, which can be used for subsequent operations.
Last updated