Pockets
Jiko Partner API
Introduction
Accounts
Customers
Transactions
Trades
Statements
Manage Cards
Physical Cards
Virtual Cards
Businesses
Individuals
Events
Health
Sandbox
Security
Subscriptions
Webhooks
Reports
ACH
Counterparties
On-Us Transfers
Portals
Wires
Portals V2
Trading Strategies
Transactions V2
Trades V2
Health
Counterparties V2
Creates a single Pocket for a customer. Trading strategy for the Pocket is specified with a Pocket Configuration.
Security
HTTPBearer
Pocket deposit trading strategy ID (Example: UST-4W)
Enum:"UST-52W""UST-26W""UST-13W""UST-4W""UST-1W"
Any of:
Pocket reinvestment trading strategy ID (Example: UST-4W)
string(CreatePocketConfigurationId)
Enum:"UST-52W""UST-26W""UST-13W""UST-4W""UST-1W"
- Production serverhttps://your-partner-name.partner-api.jikoservices.com/api/v2/customers/{customer_id}/pockets/
- Sandbox serverhttps://your-partner-name.sandbox-api.jikoservices.com/api/v2/customers/{customer_id}/pockets/
curl -i -X POST \
'https://your-partner-name.partner-api.jikoservices.com/api/v2/customers/{customer_id}/pockets/' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'x-jiko-idempotency: 497f6eca-6276-4993-bfeb-53cbbbba6f08' \
-H 'x-jiko-signature: string' \
-d '{
"pocket_name": "string",
"deposit_strategy_id": "UST-52W",
"reinvestment_strategy_id": "UST-52W",
"type": "JIKO_PAY"
}'Successful Response
Pocket deposit trading strategy ID (Example: UST-4W)
Any of:
Pocket reinvestment trading strategy ID (Example: UST-4W)
string
Response
{ "id": "d0e1dd1b-3e21-4cd4-9872-f71ea4967ffd", "pocket_name": "4-week T-bills", "portfolio": { "securities": [], "cash": { … }, "all_time_earnings": { … }, "total_value": { … }, "fees": [], "liquidation_value_t0": { … }, "liquidation_value_t1": { … } }, "status": "PENDING", "attributes": [], "deposit_strategy_id": "UST-4W", "reinvestment_strategy_id": "UST-4W", "object_type": "Pocket" }