Transfer credit
documentedTransfer credits between sub-accounts.
POST /v1/public/subaccount/credit-transfer/transferAPI Subaccountsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.octopush.com/v1/public/subaccount/credit-transfer/transfer" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "api-key: {{OCTOPUSH_API_KEY}}" \
-H "api-login: {{OCTOPUSH_API_LOGIN}}" \
-H "cache-control: no-cache" \
-d '{"token": "{{$token}}", "from_wallet_pack_id": "{{$from_wallet_pack_id}}", "amount": {{$amount}}}'