Method
GET /v1/payments/accounts
Query Parameters
Filter by provider slug (e.g.
netopia).If the workspace context is missing, derive it from a product ID.
Headers
Bearer token (requires
payments:read).curl "https://api.voyantcloud.com/v1/payments/accounts?provider=netopia" \
-H "Authorization: Bearer $VOYANT_API_KEY"
{
"data": [
{
"id": "payacct_123",
"workspaceId": "ws_abc",
"provider": "netopia",
"displayName": "Voyant Netopia Live",
"liveMode": true,
"status": "active",
"configEncrypted": { "enc": "gcpkms:AAAA..." },
"createdAt": "2025-01-10T09:12:45.000Z",
"updatedAt": "2025-01-12T18:03:02.000Z"
}
]
}
Retrieve configured payment accounts for the current workspace (optionally filtered by provider).
GET /v1/payments/accounts
netopia).payments:read).curl "https://api.voyantcloud.com/v1/payments/accounts?provider=netopia" \
-H "Authorization: Bearer $VOYANT_API_KEY"
{
"data": [
{
"id": "payacct_123",
"workspaceId": "ws_abc",
"provider": "netopia",
"displayName": "Voyant Netopia Live",
"liveMode": true,
"status": "active",
"configEncrypted": { "enc": "gcpkms:AAAA..." },
"createdAt": "2025-01-10T09:12:45.000Z",
"updatedAt": "2025-01-12T18:03:02.000Z"
}
]
}
product query parameter so the API can derive the workspace from the product’s owner.