Forhopp

Create api versioning

Creates a api versioning resource with the specified parameters.

Endpoint

POST /api/v1/connect/charges

Parameters

amountnumberrequired

The amount parameter.

currencystringrequired

The currency parameter.

returnUrlstringrequired

The returnUrl parameter.

POST/api/v1/connect/charges
curl -X POST https://api.forhopp.com/v1/api/v1/connect/charges \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{ "amount": 5000, "currency": "usd", "returnUrl": "https://example.com/success" }'

Create api versioning

Creates a api versioning resource with the specified parameters.

Endpoint

POST /api/v1/connect/charges

Parameters

amountnumberrequired

The amount parameter.

currencystringrequired

The currency parameter.

returnUrlstringrequired

The returnUrl parameter.

POST/api/v1/connect/charges
curl -X POST https://api.forhopp.com/v1/api/v1/connect/charges \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{ "amount": 5000, "currency": "usd", "returnUrl": "https://example.com/success" }'

Create authentication

Creates a authentication resource with the specified parameters.

Endpoint

POST /api/v1/connect/keys

Parameters

namestringrequired

The name parameter.

environmentstringrequired

The environment parameter.

POST/api/v1/connect/keys
curl -X POST https://api.forhopp.com/v1/api/v1/connect/keys \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Production Key",
  "environment": "LIVE"
}'

Create authentication

Creates a authentication resource with the specified parameters.

Endpoint

POST /api/v1/connect/keys

Parameters

namestringrequired

The name parameter.

environmentstringrequired

The environment parameter.

POST/api/v1/connect/keys
curl -X POST https://api.forhopp.com/v1/api/v1/connect/keys \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{ "name": "Production Key", "environment": "LIVE" }'

Retrieve authentication

Retrieves a authentication resource with the specified parameters.

Endpoint

GET /api/v1/connect/keys
GET/api/v1/connect/keys
curl -X GET https://api.forhopp.com/v1/api/v1/connect/keys \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{}'

Retrieve authentication

Retrieves a authentication resource with the specified parameters.

Endpoint

GET /api/v1/connect/keys/{id}
GET/api/v1/connect/keys/{id}
curl -X GET https://api.forhopp.com/v1/api/v1/connect/keys/{id} \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{}'

Authentication

Retrieves a authentication resource with the specified parameters.

Endpoint

DELETE /api/v1/connect/keys/{id}
DELETE/api/v1/connect/keys/{id}
curl -X DELETE https://api.forhopp.com/v1/api/v1/connect/keys/{id} \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{}'

Create charges

Creates a charges resource with the specified parameters.

Endpoint

POST /api/v1/connect/charges

Parameters

amountnumberrequired

The amount parameter.

currencystringrequired

The currency parameter.

descriptionstringrequired

The description parameter.

captureMethodstringrequired

The captureMethod parameter.

metadataobjectrequired

The metadata parameter.

returnUrlstringrequired

The returnUrl parameter.

cancelUrlstringrequired

The cancelUrl parameter.

POST/api/v1/connect/charges
curl -X POST https://api.forhopp.com/v1/api/v1/connect/charges \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{
  "amount": 5000,
  "currency": "usd",
  "description": "Order #12345",
  "captureMethod": "automatic",
  "metadata": {
    "order_id": "12345",
    "customer_email": "customer@example.com"
  },
  "returnUrl": "https://merchant.com/success",
  "cancelUrl": "https://merchant.com/cancel"
}'

Retrieve charges

Retrieves a charges resource with the specified parameters.

Endpoint

GET /api/v1/connect/charges/ch_xxx
GET/api/v1/connect/charges/ch_xxx
curl -X GET https://api.forhopp.com/v1/api/v1/connect/charges/ch_xxx \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{}'

Retrieve charges

Retrieves a charges resource with the specified parameters.

Endpoint

GET /api/v1/connect/charges?status=captured&limit=25&createdAfter=1711814400
GET/api/v1/connect/charges?status=captured&limit=25&createdAfter=1711814400
curl -X GET https://api.forhopp.com/v1/api/v1/connect/charges?status=captured&limit=25&createdAfter=1711814400 \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{}'

Create charges

Creates a charges resource with the specified parameters.

Endpoint

POST /api/v1/connect/charges/ch_xxx/capture
POST/api/v1/connect/charges/ch_xxx/capture
curl -X POST https://api.forhopp.com/v1/api/v1/connect/charges/ch_xxx/capture \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{}'

Create charges

Creates a charges resource with the specified parameters.

Endpoint

POST /api/v1/connect/charges/ch_xxx/capture

Parameters

amountnumberrequired

The amount parameter.

POST/api/v1/connect/charges/ch_xxx/capture
curl -X POST https://api.forhopp.com/v1/api/v1/connect/charges/ch_xxx/capture \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{
  "amount": 3000
}'

Create charges

Creates a charges resource with the specified parameters.

Endpoint

POST /api/v1/connect/charges/ch_xxx/refunds
POST/api/v1/connect/charges/ch_xxx/refunds
curl -X POST https://api.forhopp.com/v1/api/v1/connect/charges/ch_xxx/refunds \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{}'

Create charges

Creates a charges resource with the specified parameters.

Endpoint

POST /api/v1/connect/charges/ch_xxx/refunds

Parameters

amountnumberrequired

The amount parameter.

reasonstringrequired

The reason parameter.

POST/api/v1/connect/charges/ch_xxx/refunds
curl -X POST https://api.forhopp.com/v1/api/v1/connect/charges/ch_xxx/refunds \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{
  "amount": 2500,
  "reason": "requested_by_customer"
}'

Create checkout frontend guide

Creates a checkout frontend guide resource with the specified parameters.

Endpoint

POST /api/v1/connect/checkout/{chargeId}/complete

Parameters

paymentMethodstringrequired

The paymentMethod parameter.

externalReferencestringrequired

The externalReference parameter.

paymentMethodDetailsobjectrequired

The paymentMethodDetails parameter.

customerEmailstringrequired

The customerEmail parameter.

customerNamestringrequired

The customerName parameter.

POST/api/v1/connect/checkout/{chargeId}/complete
curl -X POST https://api.forhopp.com/v1/api/v1/connect/checkout/{chargeId}/complete \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{
  "paymentMethod": "paypal",
  "externalReference": "5O190127TN364715T",
  "paymentMethodDetails": {
    "paypal_order_id": "5O190127TN364715T",
    "payer_id": "WDJJHEBZ4X2LY",
    "payer_email": "customer@example.com",
    "status": "COMPLETED"
  },
  "customerEmail": "customer@example.com",
  "customerName": "John Doe"
}'

Create checkout frontend guide

Creates a checkout frontend guide resource with the specified parameters.

Endpoint

POST /api/v1/connect/checkout/{chargeId}/complete

Parameters

paymentMethodstringrequired

The paymentMethod parameter.

paymentMethodDetailsobjectrequired

The paymentMethodDetails parameter.

customerEmailstringrequired

The customerEmail parameter.

customerNamestringrequired

The customerName parameter.

POST/api/v1/connect/checkout/{chargeId}/complete
curl -X POST https://api.forhopp.com/v1/api/v1/connect/checkout/{chargeId}/complete \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{
  "paymentMethod": "forhopppay_balance",
  "paymentMethodDetails": {
    "payerUserId": "550e8400-e29b-41d4-a716-446655440000",
    "sourceWalletType": "INVOICE"
  },
  "customerEmail": "customer@example.com",
  "customerName": "John Doe"
}'

Create documentation

Creates a documentation resource with the specified parameters.

Endpoint

POST /charges
POST/charges
curl -X POST https://api.forhopp.com/v1/charges \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{}'

Retrieve documentation

Retrieves a documentation resource with the specified parameters.

Endpoint

GET /charges/{charge_id}
GET/charges/{charge_id}
curl -X GET https://api.forhopp.com/v1/charges/{charge_id} \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{}'

Retrieve documentation

Retrieves a documentation resource with the specified parameters.

Endpoint

GET /charges?limit=10&status=captured
GET/charges?limit=10&status=captured
curl -X GET https://api.forhopp.com/v1/charges?limit=10&status=captured \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{}'

Create documentation

Creates a documentation resource with the specified parameters.

Endpoint

POST /charges/{charge_id}/capture
POST/charges/{charge_id}/capture
curl -X POST https://api.forhopp.com/v1/charges/{charge_id}/capture \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{}'

Create documentation

Creates a documentation resource with the specified parameters.

Endpoint

POST /charges/{charge_id}/refunds
POST/charges/{charge_id}/refunds
curl -X POST https://api.forhopp.com/v1/charges/{charge_id}/refunds \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{}'

Create documentation

Creates a documentation resource with the specified parameters.

Endpoint

POST /webhooks
POST/webhooks
curl -X POST https://api.forhopp.com/v1/webhooks \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{}'

Create documentation

Creates a documentation resource with the specified parameters.

Endpoint

POST /keys
POST/keys
curl -X POST https://api.forhopp.com/v1/keys \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{}'

Retrieve documentation

Retrieves a documentation resource with the specified parameters.

Endpoint

GET /keys
GET/keys
curl -X GET https://api.forhopp.com/v1/keys \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{}'

Documentation

Retrieves a documentation resource with the specified parameters.

Endpoint

DELETE /keys/{key_id}
DELETE/keys/{key_id}
curl -X DELETE https://api.forhopp.com/v1/keys/{key_id} \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{}'

Create documentation

Creates a documentation resource with the specified parameters.

Endpoint

POST /charges
POST/charges
curl -X POST https://api.forhopp.com/v1/charges \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{}'

Retrieve hosted checkout

Retrieves a hosted checkout resource with the specified parameters.

Endpoint

GET /api/v1/connect/checkout/ch_a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6
GET/api/v1/connect/checkout/ch_a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6
curl -X GET https://api.forhopp.com/v1/api/v1/connect/checkout/ch_a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6 \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{}'

Create hosted checkout

Creates a hosted checkout resource with the specified parameters.

Endpoint

POST /api/v1/connect/checkout/ch_xxx/complete
POST/api/v1/connect/checkout/ch_xxx/complete
curl -X POST https://api.forhopp.com/v1/api/v1/connect/checkout/ch_xxx/complete \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{}'

Create hosted checkout

Creates a hosted checkout resource with the specified parameters.

Endpoint

POST /api/v1/connect/checkout/ch_xxx/cancel
POST/api/v1/connect/checkout/ch_xxx/cancel
curl -X POST https://api.forhopp.com/v1/api/v1/connect/checkout/ch_xxx/cancel \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{}'

Retrieve hosted checkout

Retrieves a hosted checkout resource with the specified parameters.

Endpoint

GET /api/v1/connect/checkout/health/paypal-regions
GET/api/v1/connect/checkout/health/paypal-regions
curl -X GET https://api.forhopp.com/v1/api/v1/connect/checkout/health/paypal-regions \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{}'

Create mor recurring

Creates a mor recurring resource with the specified parameters.

Endpoint

POST /api/v1/connect/tax-rates

Parameters

percentagestringrequired

The percentage parameter.

display_namestringrequired

The display_name parameter.

jurisdictionstringrequired

The jurisdiction parameter.

inclusivebooleanrequired

The inclusive parameter.

countrystringrequired

The country parameter.

statestringrequired

The state parameter.

POST/api/v1/connect/tax-rates
curl -X POST https://api.forhopp.com/v1/api/v1/connect/tax-rates \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{
  "percentage": "8.875",
  "display_name": "NY Sales Tax",
  "jurisdiction": "US-NY",
  "inclusive": false,
  "country": "US",
  "state": "NY"
}'

Create mor recurring

Creates a mor recurring resource with the specified parameters.

Endpoint

POST /api/v1/connect/portal-sessions

Parameters

customer_idstringrequired

The customer_id parameter.

return_urlstringrequired

The return_url parameter.

POST/api/v1/connect/portal-sessions
curl -X POST https://api.forhopp.com/v1/api/v1/connect/portal-sessions \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{
  "customer_id": "cus_xxx",
  "return_url": "https://merchant.com/account"
}'

Retrieve payouts

Retrieves a payouts resource with the specified parameters.

Endpoint

GET /api/v1/connect/balance
GET/api/v1/connect/balance
curl -X GET https://api.forhopp.com/v1/api/v1/connect/balance \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{}'

Create rate limiting

Creates a rate limiting resource with the specified parameters.

Endpoint

POST /api/v1/connect/charges

Parameters

amountnumberrequired

The amount parameter.

currencystringrequired

The currency parameter.

descriptionstringrequired

The description parameter.

POST/api/v1/connect/charges
curl -X POST https://api.forhopp.com/v1/api/v1/connect/charges \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{ "amount": 2000, "currency": "usd", "description": "Test" }'

Create rate limiting

Creates a rate limiting resource with the specified parameters.

Endpoint

POST /api/v1/connect/charges

Parameters

amountnumberrequired

The amount parameter.

currencystringrequired

The currency parameter.

descriptionstringrequired

The description parameter.

POST/api/v1/connect/charges
curl -X POST https://api.forhopp.com/v1/api/v1/connect/charges \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{ "amount": 2000, "currency": "usd", "description": "Test" }'

Create saas subscription reference

Creates a saas subscription reference resource with the specified parameters.

Endpoint

POST /api/v1/connect/plans

Parameters

namestringrequired

The name parameter.

descriptionstringrequired

The description parameter.

POST/api/v1/connect/plans
curl -X POST https://api.forhopp.com/v1/api/v1/connect/plans \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{ "name": "Starter Plan", "description": "600 minutes/month, 1 phone number included" }'

Create saas subscription reference

Creates a saas subscription reference resource with the specified parameters.

Endpoint

POST /api/v1/connect/plans/plan_starter01abc/prices

Parameters

amount_centsnumberrequired

The amount_cents parameter.

currencystringrequired

The currency parameter.

intervalstringrequired

The interval parameter.

interval_countnumberrequired

The interval_count parameter.

POST/api/v1/connect/plans/plan_starter01abc/prices
curl -X POST https://api.forhopp.com/v1/api/v1/connect/plans/plan_starter01abc/prices \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{ "amount_cents": 2000, "currency": "USD", "interval": "monthly", "interval_count": 1 }'

Create saas subscription reference

Creates a saas subscription reference resource with the specified parameters.

Endpoint

POST /api/v1/connect/plans/plan_phone_addons/prices

Parameters

amount_centsnumberrequired

The amount_cents parameter.

currencystringrequired

The currency parameter.

intervalstringrequired

The interval parameter.

interval_countnumberrequired

The interval_count parameter.

POST/api/v1/connect/plans/plan_phone_addons/prices
curl -X POST https://api.forhopp.com/v1/api/v1/connect/plans/plan_phone_addons/prices \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{ "amount_cents": 200, "currency": "USD", "interval": "monthly", "interval_count": 1 }'

Create saas subscription reference

Creates a saas subscription reference resource with the specified parameters.

Endpoint

POST /api/v1/connect/webhooks

Parameters

urlstringrequired

The url parameter.

eventsobjectrequired

The events parameter.

descriptionstringrequired

The description parameter.

POST/api/v1/connect/webhooks
curl -X POST https://api.forhopp.com/v1/api/v1/connect/webhooks \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://api.urvo.io/webhooks/forhopp",
  "events": [
    "charge.captured",
    "subscription.created",
    "subscription.updated",
    "subscription.canceled",
    "subscription_item.created",
    "subscription_item.updated",
    "subscription_item.deleted",
    "invoice.paid",
    "invoice.payment_failed",
    "invoice.upcoming"
  ],
  "description": "Urvo.io production webhook"
}'

Create saas subscription reference

Creates a saas subscription reference resource with the specified parameters.

Endpoint

POST /api/v1/connect/customers

Parameters

emailstringrequired

The email parameter.

namestringrequired

The name parameter.

metadataobjectrequired

The metadata parameter.

POST/api/v1/connect/customers
curl -X POST https://api.forhopp.com/v1/api/v1/connect/customers \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{
  "email": "workspace-owner@company.com",
  "name": "Acme Corp Workspace",
  "metadata": {
    "workspace_id": "ws_12345",
    "owner_user_id": "usr_67890"
  }
}'

Create saas subscription reference

Creates a saas subscription reference resource with the specified parameters.

Endpoint

POST /api/v1/connect/charges

Parameters

amountnumberrequired

The amount parameter.

currencystringrequired

The currency parameter.

descriptionstringrequired

The description parameter.

productNamestringrequired

The productName parameter.

captureMethodstringrequired

The captureMethod parameter.

customerEmailstringrequired

The customerEmail parameter.

metadataobjectrequired

The metadata parameter.

returnUrlstringrequired

The returnUrl parameter.

cancelUrlstringrequired

The cancelUrl parameter.

POST/api/v1/connect/charges
curl -X POST https://api.forhopp.com/v1/api/v1/connect/charges \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{
  "amount": 2000,
  "currency": "usd",
  "description": "Urvo.io Starter Plan - Monthly Subscription",
  "productName": "Starter Plan",
  "captureMethod": "automatic",
  "customerEmail": "workspace-owner@company.com",
  "metadata": {
    "workspace_id": "ws_12345",
    "customer_id": "cus_a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6",
    "price_id": "price_starter_xxx",
    "plan_name": "starter",
    "intent": "subscription",
    "included_minutes": "600",
    "included_numbers": "1"
  },
  "returnUrl": "https://app.urvo.io/billing/success?session={CHARGE_ID}",
  "cancelUrl": "https://app.urvo.io/billing/plans"
}'

Create saas subscription reference

Creates a saas subscription reference resource with the specified parameters.

Endpoint

POST /webhooks/forhopppay

Parameters

idstringrequired

The id parameter.

objectstringrequired

The object parameter.

typestringrequired

The type parameter.

creatednumberrequired

The created parameter.

livemodebooleanrequired

The livemode parameter.

dataobjectrequired

The data parameter.

POST/webhooks/forhopppay
curl -X POST https://api.forhopp.com/v1/webhooks/forhopppay \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{
  "id": "evt_abc123def456ghi789jkl012",
  "object": "event",
  "type": "charge.captured",
  "created": 1750867300,
  "livemode": true,
  "data": {
    "object": {
      "id": "ch_x1y2z3a4b5c6d7e8f9g0h1i2j3k4l5m6",
      "object": "charge",
      "amount": 2000,
      "currency": "usd",
      "status": "captured",
      "description": "Urvo.io Starter Plan - Monthly Subscription",
      "capture_method": "automatic",
      "payment_method": "paypal",
      "fee": 88,
      "net": 1912,
      "metadata": {
        "workspace_id": "ws_12345",
        "customer_id": "cus_a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6",
        "price_id": "price_starter_xxx",
        "plan_name": "starter",
        "intent": "subscription",
        "included_minutes": "600",
        "included_numbers": "1"
      },
      "livemode": true,
      "created": 1750867200
    }
  }
}'

Create saas subscription reference

Creates a saas subscription reference resource with the specified parameters.

Endpoint

POST /api/v1/connect/subscriptions

Parameters

customer_idstringrequired

The customer_id parameter.

price_idstringrequired

The price_id parameter.

metadataobjectrequired

The metadata parameter.

POST/api/v1/connect/subscriptions
curl -X POST https://api.forhopp.com/v1/api/v1/connect/subscriptions \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{
  "customer_id": "cus_a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6",
  "price_id": "price_starter_xxx",
  "metadata": {
    "workspace_id": "ws_12345",
    "plan_name": "starter",
    "included_minutes": "600",
    "included_numbers": "1"
  }
}'

Saas Subscription Reference

Retrieves a saas subscription reference resource with the specified parameters.

Endpoint

PATCH /api/v1/connect/subscriptions/sub_m1n2o3p4q5r6s7t8u9v0w1x2y3z4a5b6

Parameters

price_idstringrequired

The price_id parameter.

proration_behaviorstringrequired

The proration_behavior parameter.

metadataobjectrequired

The metadata parameter.

PATCH/api/v1/connect/subscriptions/sub_m1n2o3p4q5r6s7t8u9v0w1x2y3z4a5b6
curl -X PATCH https://api.forhopp.com/v1/api/v1/connect/subscriptions/sub_m1n2o3p4q5r6s7t8u9v0w1x2y3z4a5b6 \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{
  "price_id": "price_pro_xxx",
  "proration_behavior": "create_prorations",
  "metadata": {
    "workspace_id": "ws_12345",
    "plan_name": "pro",
    "included_minutes": "5000",
    "included_numbers": "2",
    "upgrade_from": "starter"
  }
}'

Saas Subscription Reference

Retrieves a saas subscription reference resource with the specified parameters.

Endpoint

PATCH /api/v1/connect/subscriptions/sub_m1n2o3p4q5r6s7t8u9v0w1x2y3z4a5b6

Parameters

price_idstringrequired

The price_id parameter.

proration_behaviorstringrequired

The proration_behavior parameter.

metadataobjectrequired

The metadata parameter.

PATCH/api/v1/connect/subscriptions/sub_m1n2o3p4q5r6s7t8u9v0w1x2y3z4a5b6
curl -X PATCH https://api.forhopp.com/v1/api/v1/connect/subscriptions/sub_m1n2o3p4q5r6s7t8u9v0w1x2y3z4a5b6 \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{
  "price_id": "price_starter_xxx",
  "proration_behavior": "none",
  "metadata": {
    "workspace_id": "ws_12345",
    "plan_name": "starter",
    "included_minutes": "600",
    "included_numbers": "1",
    "downgrade_from": "pro",
    "downgrade_effective_at": "1753545600"
  }
}'

Create saas subscription reference

Creates a saas subscription reference resource with the specified parameters.

Endpoint

POST /api/v1/connect/subscriptions/sub_m1n2o3p4q5r6s7t8u9v0w1x2y3z4a5b6/cancel?at_period_end=true
POST/api/v1/connect/subscriptions/sub_m1n2o3p4q5r6s7t8u9v0w1x2y3z4a5b6/cancel?at_period_end=true
curl -X POST https://api.forhopp.com/v1/api/v1/connect/subscriptions/sub_m1n2o3p4q5r6s7t8u9v0w1x2y3z4a5b6/cancel?at_period_end=true \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{}'

Create saas subscription reference

Creates a saas subscription reference resource with the specified parameters.

Endpoint

POST /api/v1/connect/subscriptions/sub_m1n2o3p4q5r6s7t8u9v0w1x2y3z4a5b6/items

Parameters

priceIdstringrequired

The priceId parameter.

quantitynumberrequired

The quantity parameter.

prorationBehaviorstringrequired

The prorationBehavior parameter.

metadataobjectrequired

The metadata parameter.

POST/api/v1/connect/subscriptions/sub_m1n2o3p4q5r6s7t8u9v0w1x2y3z4a5b6/items
curl -X POST https://api.forhopp.com/v1/api/v1/connect/subscriptions/sub_m1n2o3p4q5r6s7t8u9v0w1x2y3z4a5b6/items \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{
  "priceId": "price_phone_2usd_xxx",
  "quantity": 1,
  "prorationBehavior": "charge_immediately",
  "metadata": {
    "phone_number": "+14155551234",
    "number_type": "local",
    "workspace_id": "ws_12345"
  }
}'

Saas Subscription Reference

Retrieves a saas subscription reference resource with the specified parameters.

Endpoint

PATCH /api/v1/connect/subscriptions/sub_m1n2o3p4q5r6s7t8u9v0w1x2y3z4a5b6/items/si_item_phone1_xxx

Parameters

quantitynumberrequired

The quantity parameter.

PATCH/api/v1/connect/subscriptions/sub_m1n2o3p4q5r6s7t8u9v0w1x2y3z4a5b6/items/si_item_phone1_xxx
curl -X PATCH https://api.forhopp.com/v1/api/v1/connect/subscriptions/sub_m1n2o3p4q5r6s7t8u9v0w1x2y3z4a5b6/items/si_item_phone1_xxx \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{ "quantity": 2 }'

Saas Subscription Reference

Retrieves a saas subscription reference resource with the specified parameters.

Endpoint

PATCH /api/v1/connect/subscriptions/sub_m1n2o3p4q5r6s7t8u9v0w1x2y3z4a5b6/items/si_item_phone1_xxx

Parameters

quantitynumberrequired

The quantity parameter.

PATCH/api/v1/connect/subscriptions/sub_m1n2o3p4q5r6s7t8u9v0w1x2y3z4a5b6/items/si_item_phone1_xxx
curl -X PATCH https://api.forhopp.com/v1/api/v1/connect/subscriptions/sub_m1n2o3p4q5r6s7t8u9v0w1x2y3z4a5b6/items/si_item_phone1_xxx \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{ "quantity": 1 }'

Saas Subscription Reference

Retrieves a saas subscription reference resource with the specified parameters.

Endpoint

DELETE /api/v1/connect/subscriptions/sub_m1n2o3p4q5r6s7t8u9v0w1x2y3z4a5b6/items/si_item_phone1_xxx?immediate=true
DELETE/api/v1/connect/subscriptions/sub_m1n2o3p4q5r6s7t8u9v0w1x2y3z4a5b6/items/si_item_phone1_xxx?immediate=true
curl -X DELETE https://api.forhopp.com/v1/api/v1/connect/subscriptions/sub_m1n2o3p4q5r6s7t8u9v0w1x2y3z4a5b6/items/si_item_phone1_xxx?immediate=true \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{}'

Saas Subscription Reference

Retrieves a saas subscription reference resource with the specified parameters.

Endpoint

PATCH /api/v1/connect/subscriptions/sub_xxx/items/si_item_phone1_xxx

Parameters

quantitynumberrequired

The quantity parameter.

PATCH/api/v1/connect/subscriptions/sub_xxx/items/si_item_phone1_xxx
curl -X PATCH https://api.forhopp.com/v1/api/v1/connect/subscriptions/sub_xxx/items/si_item_phone1_xxx \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{ "quantity": 0 }'

Saas Subscription Reference

Retrieves a saas subscription reference resource with the specified parameters.

Endpoint

DELETE /api/v1/connect/subscriptions/sub_xxx/items/si_item_phone1_xxx?immediate=true
DELETE/api/v1/connect/subscriptions/sub_xxx/items/si_item_phone1_xxx?immediate=true
curl -X DELETE https://api.forhopp.com/v1/api/v1/connect/subscriptions/sub_xxx/items/si_item_phone1_xxx?immediate=true \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{}'

Saas Subscription Reference

Retrieves a saas subscription reference resource with the specified parameters.

Endpoint

PATCH /api/v1/connect/subscriptions/sub_xxx/items/si_item_phone1_xxx

Parameters

quantitynumberrequired

The quantity parameter.

PATCH/api/v1/connect/subscriptions/sub_xxx/items/si_item_phone1_xxx
curl -X PATCH https://api.forhopp.com/v1/api/v1/connect/subscriptions/sub_xxx/items/si_item_phone1_xxx \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{ "quantity": 2 }'

Create saas subscription reference

Creates a saas subscription reference resource with the specified parameters.

Endpoint

POST /api/v1/connect/charges

Parameters

amountnumberrequired

The amount parameter.

currencystringrequired

The currency parameter.

descriptionstringrequired

The description parameter.

productNamestringrequired

The productName parameter.

captureMethodstringrequired

The captureMethod parameter.

customerEmailstringrequired

The customerEmail parameter.

metadataobjectrequired

The metadata parameter.

returnUrlstringrequired

The returnUrl parameter.

cancelUrlstringrequired

The cancelUrl parameter.

POST/api/v1/connect/charges
curl -X POST https://api.forhopp.com/v1/api/v1/connect/charges \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{
  "amount": 200,
  "currency": "usd",
  "description": "Urvo.io Auto-Recharge - 40 minutes",
  "productName": "Minute Top-Up",
  "captureMethod": "automatic",
  "customerEmail": "workspace-owner@company.com",
  "metadata": {
    "workspace_id": "ws_12345",
    "customer_id": "cus_a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6",
    "intent": "top_up",
    "minutes_purchased": "40",
    "threshold_minutes": "10",
    "target_minutes": "50",
    "trigger_timestamp": "1751500000"
  },
  "returnUrl": "https://app.urvo.io/billing/recharge-success",
  "cancelUrl": "https://app.urvo.io/billing"
}'

Create saas subscription reference

Creates a saas subscription reference resource with the specified parameters.

Endpoint

POST /checkout/ch_topup_a1b2c3d4e5f6g7h8i9j0k1l2m3n4/complete

Parameters

paymentMethodstringrequired

The paymentMethod parameter.

paymentMethodDetailsobjectrequired

The paymentMethodDetails parameter.

POST/checkout/ch_topup_a1b2c3d4e5f6g7h8i9j0k1l2m3n4/complete
curl -X POST https://api.forhopp.com/v1/checkout/ch_topup_a1b2c3d4e5f6g7h8i9j0k1l2m3n4/complete \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{
  "paymentMethod": "paypal",
  "paymentMethodDetails": {
    "token": "pm_saved_token_xxx",
    "customer_id": "cus_a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6"
  }
}'

Create saas subscription reference

Creates a saas subscription reference resource with the specified parameters.

Endpoint

POST /api/v1/connect/portal-sessions

Parameters

customer_idstringrequired

The customer_id parameter.

return_urlstringrequired

The return_url parameter.

POST/api/v1/connect/portal-sessions
curl -X POST https://api.forhopp.com/v1/api/v1/connect/portal-sessions \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{
  "customer_id": "cus_a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6",
  "return_url": "https://app.urvo.io/billing"
}'

Create subscription addons

Creates a subscription addons resource with the specified parameters.

Endpoint

POST /api/v1/connect/subscriptions/sub_xxx/items

Parameters

priceIdstringrequired

The priceId parameter.

quantitynumberrequired

The quantity parameter.

prorationBehaviorstringrequired

The prorationBehavior parameter.

metadataobjectrequired

The metadata parameter.

POST/api/v1/connect/subscriptions/sub_xxx/items
curl -X POST https://api.forhopp.com/v1/api/v1/connect/subscriptions/sub_xxx/items \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{
  "priceId": "price_addon123",
  "quantity": 2,
  "prorationBehavior": "defer_to_next_cycle",
  "metadata": { "feature": "extra_storage" }
}'

Retrieve subscription addons

Retrieves a subscription addons resource with the specified parameters.

Endpoint

GET /api/v1/connect/subscriptions/sub_xxx/items?include_removed=false
GET/api/v1/connect/subscriptions/sub_xxx/items?include_removed=false
curl -X GET https://api.forhopp.com/v1/api/v1/connect/subscriptions/sub_xxx/items?include_removed=false \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{}'

Subscription Addons

Retrieves a subscription addons resource with the specified parameters.

Endpoint

PATCH /api/v1/connect/subscriptions/sub_xxx/items/si_item_xxx

Parameters

quantitynumberrequired

The quantity parameter.

PATCH/api/v1/connect/subscriptions/sub_xxx/items/si_item_xxx
curl -X PATCH https://api.forhopp.com/v1/api/v1/connect/subscriptions/sub_xxx/items/si_item_xxx \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{ "quantity": 5 }'

Subscription Addons

Retrieves a subscription addons resource with the specified parameters.

Endpoint

DELETE /api/v1/connect/subscriptions/sub_xxx/items/si_item_xxx?immediate=false
DELETE/api/v1/connect/subscriptions/sub_xxx/items/si_item_xxx?immediate=false
curl -X DELETE https://api.forhopp.com/v1/api/v1/connect/subscriptions/sub_xxx/items/si_item_xxx?immediate=false \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{}'

Create subscription checkout flow

Creates a subscription checkout flow resource with the specified parameters.

Endpoint

POST /api/v1/connect/plans

Parameters

namestringrequired

The name parameter.

descriptionstringrequired

The description parameter.

POST/api/v1/connect/plans
curl -X POST https://api.forhopp.com/v1/api/v1/connect/plans \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{ "name": "SaaS Pro Plan", "description": "Full access to our platform" }'

Create subscription checkout flow

Creates a subscription checkout flow resource with the specified parameters.

Endpoint

POST /api/v1/connect/plans/plan_a1b2c3d4/prices

Parameters

amount_centsnumberrequired

The amount_cents parameter.

currencystringrequired

The currency parameter.

intervalstringrequired

The interval parameter.

interval_countnumberrequired

The interval_count parameter.

POST/api/v1/connect/plans/plan_a1b2c3d4/prices
curl -X POST https://api.forhopp.com/v1/api/v1/connect/plans/plan_a1b2c3d4/prices \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{ "amount_cents": 2000, "currency": "USD", "interval": "monthly", "interval_count": 1 }'

Create subscription checkout flow

Creates a subscription checkout flow resource with the specified parameters.

Endpoint

POST /api/v1/connect/webhooks

Parameters

urlstringrequired

The url parameter.

eventsobjectrequired

The events parameter.

POST/api/v1/connect/webhooks
curl -X POST https://api.forhopp.com/v1/api/v1/connect/webhooks \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://my-saas.com/api/webhooks/forhopp",
  "events": [
    "charge.captured",
    "subscription.created",
    "invoice.paid",
    "invoice.payment_failed",
    "subscription.canceled"
  ]
}'

Create subscription checkout flow

Creates a subscription checkout flow resource with the specified parameters.

Endpoint

POST /api/v1/connect/customers

Parameters

emailstringrequired

The email parameter.

namestringrequired

The name parameter.

POST/api/v1/connect/customers
curl -X POST https://api.forhopp.com/v1/api/v1/connect/customers \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{ "email": "john@example.com", "name": "John Doe" }'

Create subscription checkout flow

Creates a subscription checkout flow resource with the specified parameters.

Endpoint

POST /api/v1/connect/charges

Parameters

amountnumberrequired

The amount parameter.

currencystringrequired

The currency parameter.

descriptionstringrequired

The description parameter.

captureMethodstringrequired

The captureMethod parameter.

customerEmailstringrequired

The customerEmail parameter.

metadataobjectrequired

The metadata parameter.

returnUrlstringrequired

The returnUrl parameter.

cancelUrlstringrequired

The cancelUrl parameter.

POST/api/v1/connect/charges
curl -X POST https://api.forhopp.com/v1/api/v1/connect/charges \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{
  "amount": 2000,
  "currency": "usd",
  "description": "SaaS Pro Plan - Monthly Subscription",
  "captureMethod": "automatic",
  "customerEmail": "john@example.com",
  "metadata": {
    "customer_id": "cus_xxx",
    "price_id": "price_x1y2z3",
    "intent": "subscription"
  },
  "returnUrl": "https://my-saas.com/payment/success?session={CHARGE_ID}",
  "cancelUrl": "https://my-saas.com/pricing"
}'

Create subscription checkout flow

Creates a subscription checkout flow resource with the specified parameters.

Endpoint

POST /api/v1/connect/subscriptions

Parameters

customer_idstringrequired

The customer_id parameter.

price_idstringrequired

The price_id parameter.

POST/api/v1/connect/subscriptions
curl -X POST https://api.forhopp.com/v1/api/v1/connect/subscriptions \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{
  "customer_id": "cus_xxx",
  "price_id": "price_x1y2z3"
}'

Create subscription checkout flow

Creates a subscription checkout flow resource with the specified parameters.

Endpoint

POST /api/v1/connect/charges

Parameters

amountnumberrequired

The amount parameter.

currencystringrequired

The currency parameter.

descriptionstringrequired

The description parameter.

captureMethodstringrequired

The captureMethod parameter.

customerEmailstringrequired

The customerEmail parameter.

metadataobjectrequired

The metadata parameter.

returnUrlstringrequired

The returnUrl parameter.

cancelUrlstringrequired

The cancelUrl parameter.

POST/api/v1/connect/charges
curl -X POST https://api.forhopp.com/v1/api/v1/connect/charges \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{
  "amount": 5000,
  "currency": "usd",
  "description": "50 AI Credits Pack",
  "captureMethod": "automatic",
  "customerEmail": "john@example.com",
  "metadata": {
    "intent": "one_time",
    "product": "ai_credits_50"
  },
  "returnUrl": "https://my-saas.com/purchase/success",
  "cancelUrl": "https://my-saas.com/store"
}'

Retrieve subscription checkout flow

Retrieves a subscription checkout flow resource with the specified parameters.

Endpoint

GET /api/v1/connect/balance
GET/api/v1/connect/balance
curl -X GET https://api.forhopp.com/v1/api/v1/connect/balance \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{}'

Retrieve subscription checkout flow

Retrieves a subscription checkout flow resource with the specified parameters.

Endpoint

GET /api/v1/connect/subscriptions
GET/api/v1/connect/subscriptions
curl -X GET https://api.forhopp.com/v1/api/v1/connect/subscriptions \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{}'

Retrieve subscription checkout flow

Retrieves a subscription checkout flow resource with the specified parameters.

Endpoint

GET /api/v1/connect/invoices
GET/api/v1/connect/invoices
curl -X GET https://api.forhopp.com/v1/api/v1/connect/invoices \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{}'

Create subscription checkout flow

Creates a subscription checkout flow resource with the specified parameters.

Endpoint

POST /api/v1/connect/subscriptions/sub_xxx/cancel?at_period_end=true
POST/api/v1/connect/subscriptions/sub_xxx/cancel?at_period_end=true
curl -X POST https://api.forhopp.com/v1/api/v1/connect/subscriptions/sub_xxx/cancel?at_period_end=true \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{}'

Create subscriptions

Creates a subscriptions resource with the specified parameters.

Endpoint

POST /api/v1/connect/subscriptions

Parameters

customer_idstringrequired

The customer_id parameter.

price_idstringrequired

The price_id parameter.

collection_methodstringrequired

The collection_method parameter.

tax_rate_idstringrequired

The tax_rate_id parameter.

metadataobjectrequired

The metadata parameter.

POST/api/v1/connect/subscriptions
curl -X POST https://api.forhopp.com/v1/api/v1/connect/subscriptions \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{
  "customer_id": "cus_abc123",
  "price_id": "price_xyz789",
  "collection_method": "charge_automatically",
  "tax_rate_id": "txr_xxx",
  "metadata": { "plan_name": "Pro" }
}'

Retrieve subscriptions

Retrieves a subscriptions resource with the specified parameters.

Endpoint

GET /api/v1/connect/subscriptions
GET/api/v1/connect/subscriptions
curl -X GET https://api.forhopp.com/v1/api/v1/connect/subscriptions \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{}'

Retrieve subscriptions

Retrieves a subscriptions resource with the specified parameters.

Endpoint

GET /api/v1/connect/subscriptions/sub_xxx
GET/api/v1/connect/subscriptions/sub_xxx
curl -X GET https://api.forhopp.com/v1/api/v1/connect/subscriptions/sub_xxx \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{}'

Create subscriptions

Creates a subscriptions resource with the specified parameters.

Endpoint

POST /api/v1/connect/subscriptions/sub_xxx/cancel?at_period_end=true
POST/api/v1/connect/subscriptions/sub_xxx/cancel?at_period_end=true
curl -X POST https://api.forhopp.com/v1/api/v1/connect/subscriptions/sub_xxx/cancel?at_period_end=true \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{}'

Create subscriptions

Creates a subscriptions resource with the specified parameters.

Endpoint

POST /api/v1/connect/subscriptions/sub_xxx/pause
POST/api/v1/connect/subscriptions/sub_xxx/pause
curl -X POST https://api.forhopp.com/v1/api/v1/connect/subscriptions/sub_xxx/pause \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{}'

Create subscriptions

Creates a subscriptions resource with the specified parameters.

Endpoint

POST /api/v1/connect/subscriptions/sub_xxx/resume
POST/api/v1/connect/subscriptions/sub_xxx/resume
curl -X POST https://api.forhopp.com/v1/api/v1/connect/subscriptions/sub_xxx/resume \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{}'

Subscriptions

Retrieves a subscriptions resource with the specified parameters.

Endpoint

PATCH /api/v1/connect/subscriptions/sub_xxx

Parameters

price_idstringrequired

The price_id parameter.

proration_behaviorstringrequired

The proration_behavior parameter.

metadataobjectrequired

The metadata parameter.

PATCH/api/v1/connect/subscriptions/sub_xxx
curl -X PATCH https://api.forhopp.com/v1/api/v1/connect/subscriptions/sub_xxx \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{
  "price_id": "price_new456",
  "proration_behavior": "create_prorations",
  "metadata": { "upgrade_reason": "user_requested" }
}'

Retrieve subscriptions

Retrieves a subscriptions resource with the specified parameters.

Endpoint

GET /api/v1/connect/balance
GET/api/v1/connect/balance
curl -X GET https://api.forhopp.com/v1/api/v1/connect/balance \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{}'

Create webhooks

Creates a webhooks resource with the specified parameters.

Endpoint

POST /api/v1/connect/webhooks

Parameters

urlstringrequired

The url parameter.

eventsobjectrequired

The events parameter.

descriptionstringrequired

The description parameter.

POST/api/v1/connect/webhooks
curl -X POST https://api.forhopp.com/v1/api/v1/connect/webhooks \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://merchant.com/webhooks/forhopppay",
  "events": ["charge.completed", "charge.refunded", "charge.disputed"],
  "description": "Production webhook"
}'

Retrieve webhooks

Retrieves a webhooks resource with the specified parameters.

Endpoint

GET /api/v1/connect/webhooks
GET/api/v1/connect/webhooks
curl -X GET https://api.forhopp.com/v1/api/v1/connect/webhooks \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{}'

Retrieve webhooks

Retrieves a webhooks resource with the specified parameters.

Endpoint

GET /api/v1/connect/webhooks/we_42
GET/api/v1/connect/webhooks/we_42
curl -X GET https://api.forhopp.com/v1/api/v1/connect/webhooks/we_42 \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{}'

Webhooks

Retrieves a webhooks resource with the specified parameters.

Endpoint

DELETE /api/v1/connect/webhooks/we_42
DELETE/api/v1/connect/webhooks/we_42
curl -X DELETE https://api.forhopp.com/v1/api/v1/connect/webhooks/we_42 \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{}'