Skip to main content
POST
/
v3
/
api
/
custody
/
wallets
/
{wallet_id}
/
activate
/
{currency_id}
Create a trustline for an XLM (Stellar) asset
curl --request POST \
  --url https://api.custody.api-zodia.io/v3/api/custody/wallets/{wallet_id}/activate/{currency_id} \
  --header 'X-Signature: <api-key>' \
  --header 'submitter-id: <submitter-id>'
{
  "timestamp": "2021-10-27T14:30:13.912Z",
  "title": "Method Not Allowed",
  "status": 415,
  "details": [
    {
      "message": "Available methods : GET,POST",
      "code": "ER-204"
    }
  ]
}

Authorizations

X-Signature
string
header
required

Headers

submitter-id
string
required

Email of API user submitting the request

Example:

"api-maker@zodia.io"

Path Parameters

wallet_id
string
required

ID of the wallet

Example:

"ZTEST-NOBENF-8ZEVG0O6B2"

currency_id
string
required

currency id of the XLM asset

Example:

"xlm-usdc"

Response

OK