viakite
Dashboard

API/Goals and settings/Each payment provider of the project, connected or not

Each payment provider of the project, connected or not

GET/v1/projects/{project}/payment-providers

Always Stripe, then Razorpay, then Dodo Payments, each with the webhook URL to add in the provider's dashboard (known before connecting) and what its webhooks brought. Never paged.

Secret keyus.api.vk.viabio.me

Path parameters

projectstringrequired
The project's id (prj_…).

Responses

The providers.

dataPaymentProvider[]required
One payment provider of a project.
Show 10 fields
project_idstringrequired
A prefixed ULID; the prefix names the kind (prj_… a project, org_… an organization).
providerstringrequired
striperazorpaydodo
connectedbooleanrequired
Whether a signing secret is saved.
webhook_urlstringrequired
The URL to add as the webhook endpoint in the provider's dashboard.
eventsstring[]required
The provider's events to send to the URL.
payments_receivedintegerrequired
Payments the provider reported.
payments_tiedintegerrequired
Of those, payments tied to a visitor and counted as revenue.
last_payment_atstring · date-time | nullrequired
When the last payment arrived; null before the first.
connected_atstring · date-time | nullrequired
When the provider was connected; null while it isn't.
updated_atstring · date-time | nullrequired
When the signing secret was last saved; null while not connected.
Example response
1{
2 "data": [
3 {
4 "project_id": "prj_01JD8Q2M4W9XK3T7B5",
5 "provider": "stripe",
6 "connected": true,
7 "webhook_url": "https://us.api.vk.viabio.me/v1/projects/prj_01JD7Q8ZK3V5M2N4P6R8T0W1XY/payment-providers/stripe/webhook",
8 "events": [
9 "checkout.session.completed",
10 "payment_intent.succeeded"
11 ],
12 "payments_received": 1,
13 "payments_tied": 1,
14 "last_payment_at": "2026-11-21T09:30:00Z",
15 "connected_at": "2026-11-21T09:30:00Z",
16 "updated_at": "2026-11-21T09:30:00Z"
17 }
18 ]
19}