Method
POST /v1/payments/accounts/upsert
Body Parameters
Headers
Bearer token (requires
payments:write).application/jsoncurl -X POST https://api.voyantcloud.com/v1/payments/accounts/upsert \
-H "Authorization: Bearer $VOYANT_API_KEY" \
-H "content-type: application/json" \
-d '{
"provider": "netopia",
"displayName": "Netopia LIVE",
"liveMode": true,
"config": {
"posSignature": "xxxx-xxxx-xxxx",
"apiKey": "secret-api-key"
}
}'
{ "id": "payacct_123" }
Encrypt and store provider credentials (currently Netopia).
POST /v1/payments/accounts/upsert
payments:write).application/jsoncurl -X POST https://api.voyantcloud.com/v1/payments/accounts/upsert \
-H "Authorization: Bearer $VOYANT_API_KEY" \
-H "content-type: application/json" \
-d '{
"provider": "netopia",
"displayName": "Netopia LIVE",
"liveMode": true,
"config": {
"posSignature": "xxxx-xxxx-xxxx",
"apiKey": "secret-api-key"
}
}'
{ "id": "payacct_123" }
GCP_SERVICE_ACCOUNT_KEY + GCP_KMS_INTEGRATIONS_KEY_NAME (or KMS_ENCRYPTION_KEY for development) before upserting accounts. Without encryption keys the API returns 501.