curl --request PATCH \
--url https://app.orgo.space/api/v1/subscription-profile/{id}/accept \
--header 'Api-Token: <api-key>' \
--header 'Content-Type: application/merge-patch+json' \
--data '
{
"member": "/api/v1/users/1",
"productPrice": "/api/v1/product_prices/1",
"currency": "USD",
"currentPeriodEnd": "2026-01-15T10:30:00+00:00",
"stripeCustomerId": "cus_NhpBuxIyR4Qbpd",
"stripeSubscriptionId": "sub_1Mn6KFLZvKYlo2C0",
"isSubscriptionInactive": true,
"isFailedPayment": true,
"product": "/api/v1/products/1",
"createdAt": "2026-01-15T10:30:00+00:00",
"isSubscriptionCanceled": true,
"customPriceValue": 5000,
"contact": "/api/v1/contacts/1",
"tenant": "/api/v1/tenants/1",
"status": "ACTIVE",
"token": "01938d8e-9c4f-7c2a-b8e1-3f7a9b8c4f12",
"uid": "string",
"acceptedBy": "/api/v1/users/1",
"acceptedDate": "2026-01-15T10:30:00+00:00",
"isPublic": true,
"productOption": "/api/v1/product_options/1",
"requestPayload": [
"string"
],
"identity": "/api/v1/identities/1",
"checkoutReminderSent": true,
"identityReminderSent": true,
"identityExpiringRequested": true,
"localCenterOption": "/api/v1/local_centers/1",
"identityReminder2Sent": true,
"identityReminder3Sent": true,
"commentByUser": "Confirmed by phone — will arrive at 10am.",
"hasCoveredProcessingFee": true
}
'import requests
url = "https://app.orgo.space/api/v1/subscription-profile/{id}/accept"
payload = {
"member": "/api/v1/users/1",
"productPrice": "/api/v1/product_prices/1",
"currency": "USD",
"currentPeriodEnd": "2026-01-15T10:30:00+00:00",
"stripeCustomerId": "cus_NhpBuxIyR4Qbpd",
"stripeSubscriptionId": "sub_1Mn6KFLZvKYlo2C0",
"isSubscriptionInactive": True,
"isFailedPayment": True,
"product": "/api/v1/products/1",
"createdAt": "2026-01-15T10:30:00+00:00",
"isSubscriptionCanceled": True,
"customPriceValue": 5000,
"contact": "/api/v1/contacts/1",
"tenant": "/api/v1/tenants/1",
"status": "ACTIVE",
"token": "01938d8e-9c4f-7c2a-b8e1-3f7a9b8c4f12",
"uid": "string",
"acceptedBy": "/api/v1/users/1",
"acceptedDate": "2026-01-15T10:30:00+00:00",
"isPublic": True,
"productOption": "/api/v1/product_options/1",
"requestPayload": ["string"],
"identity": "/api/v1/identities/1",
"checkoutReminderSent": True,
"identityReminderSent": True,
"identityExpiringRequested": True,
"localCenterOption": "/api/v1/local_centers/1",
"identityReminder2Sent": True,
"identityReminder3Sent": True,
"commentByUser": "Confirmed by phone — will arrive at 10am.",
"hasCoveredProcessingFee": True
}
headers = {
"Api-Token": "<api-key>",
"Content-Type": "application/merge-patch+json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'Api-Token': '<api-key>', 'Content-Type': 'application/merge-patch+json'},
body: JSON.stringify({
member: '/api/v1/users/1',
productPrice: '/api/v1/product_prices/1',
currency: 'USD',
currentPeriodEnd: '2026-01-15T10:30:00+00:00',
stripeCustomerId: 'cus_NhpBuxIyR4Qbpd',
stripeSubscriptionId: 'sub_1Mn6KFLZvKYlo2C0',
isSubscriptionInactive: true,
isFailedPayment: true,
product: '/api/v1/products/1',
createdAt: '2026-01-15T10:30:00+00:00',
isSubscriptionCanceled: true,
customPriceValue: 5000,
contact: '/api/v1/contacts/1',
tenant: '/api/v1/tenants/1',
status: 'ACTIVE',
token: '01938d8e-9c4f-7c2a-b8e1-3f7a9b8c4f12',
uid: 'string',
acceptedBy: '/api/v1/users/1',
acceptedDate: '2026-01-15T10:30:00+00:00',
isPublic: true,
productOption: '/api/v1/product_options/1',
requestPayload: ['string'],
identity: '/api/v1/identities/1',
checkoutReminderSent: true,
identityReminderSent: true,
identityExpiringRequested: true,
localCenterOption: '/api/v1/local_centers/1',
identityReminder2Sent: true,
identityReminder3Sent: true,
commentByUser: 'Confirmed by phone — will arrive at 10am.',
hasCoveredProcessingFee: true
})
};
fetch('https://app.orgo.space/api/v1/subscription-profile/{id}/accept', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.orgo.space/api/v1/subscription-profile/{id}/accept",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'member' => '/api/v1/users/1',
'productPrice' => '/api/v1/product_prices/1',
'currency' => 'USD',
'currentPeriodEnd' => '2026-01-15T10:30:00+00:00',
'stripeCustomerId' => 'cus_NhpBuxIyR4Qbpd',
'stripeSubscriptionId' => 'sub_1Mn6KFLZvKYlo2C0',
'isSubscriptionInactive' => true,
'isFailedPayment' => true,
'product' => '/api/v1/products/1',
'createdAt' => '2026-01-15T10:30:00+00:00',
'isSubscriptionCanceled' => true,
'customPriceValue' => 5000,
'contact' => '/api/v1/contacts/1',
'tenant' => '/api/v1/tenants/1',
'status' => 'ACTIVE',
'token' => '01938d8e-9c4f-7c2a-b8e1-3f7a9b8c4f12',
'uid' => 'string',
'acceptedBy' => '/api/v1/users/1',
'acceptedDate' => '2026-01-15T10:30:00+00:00',
'isPublic' => true,
'productOption' => '/api/v1/product_options/1',
'requestPayload' => [
'string'
],
'identity' => '/api/v1/identities/1',
'checkoutReminderSent' => true,
'identityReminderSent' => true,
'identityExpiringRequested' => true,
'localCenterOption' => '/api/v1/local_centers/1',
'identityReminder2Sent' => true,
'identityReminder3Sent' => true,
'commentByUser' => 'Confirmed by phone — will arrive at 10am.',
'hasCoveredProcessingFee' => true
]),
CURLOPT_HTTPHEADER => [
"Api-Token: <api-key>",
"Content-Type: application/merge-patch+json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.orgo.space/api/v1/subscription-profile/{id}/accept"
payload := strings.NewReader("{\n \"member\": \"/api/v1/users/1\",\n \"productPrice\": \"/api/v1/product_prices/1\",\n \"currency\": \"USD\",\n \"currentPeriodEnd\": \"2026-01-15T10:30:00+00:00\",\n \"stripeCustomerId\": \"cus_NhpBuxIyR4Qbpd\",\n \"stripeSubscriptionId\": \"sub_1Mn6KFLZvKYlo2C0\",\n \"isSubscriptionInactive\": true,\n \"isFailedPayment\": true,\n \"product\": \"/api/v1/products/1\",\n \"createdAt\": \"2026-01-15T10:30:00+00:00\",\n \"isSubscriptionCanceled\": true,\n \"customPriceValue\": 5000,\n \"contact\": \"/api/v1/contacts/1\",\n \"tenant\": \"/api/v1/tenants/1\",\n \"status\": \"ACTIVE\",\n \"token\": \"01938d8e-9c4f-7c2a-b8e1-3f7a9b8c4f12\",\n \"uid\": \"string\",\n \"acceptedBy\": \"/api/v1/users/1\",\n \"acceptedDate\": \"2026-01-15T10:30:00+00:00\",\n \"isPublic\": true,\n \"productOption\": \"/api/v1/product_options/1\",\n \"requestPayload\": [\n \"string\"\n ],\n \"identity\": \"/api/v1/identities/1\",\n \"checkoutReminderSent\": true,\n \"identityReminderSent\": true,\n \"identityExpiringRequested\": true,\n \"localCenterOption\": \"/api/v1/local_centers/1\",\n \"identityReminder2Sent\": true,\n \"identityReminder3Sent\": true,\n \"commentByUser\": \"Confirmed by phone — will arrive at 10am.\",\n \"hasCoveredProcessingFee\": true\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Api-Token", "<api-key>")
req.Header.Add("Content-Type", "application/merge-patch+json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://app.orgo.space/api/v1/subscription-profile/{id}/accept")
.header("Api-Token", "<api-key>")
.header("Content-Type", "application/merge-patch+json")
.body("{\n \"member\": \"/api/v1/users/1\",\n \"productPrice\": \"/api/v1/product_prices/1\",\n \"currency\": \"USD\",\n \"currentPeriodEnd\": \"2026-01-15T10:30:00+00:00\",\n \"stripeCustomerId\": \"cus_NhpBuxIyR4Qbpd\",\n \"stripeSubscriptionId\": \"sub_1Mn6KFLZvKYlo2C0\",\n \"isSubscriptionInactive\": true,\n \"isFailedPayment\": true,\n \"product\": \"/api/v1/products/1\",\n \"createdAt\": \"2026-01-15T10:30:00+00:00\",\n \"isSubscriptionCanceled\": true,\n \"customPriceValue\": 5000,\n \"contact\": \"/api/v1/contacts/1\",\n \"tenant\": \"/api/v1/tenants/1\",\n \"status\": \"ACTIVE\",\n \"token\": \"01938d8e-9c4f-7c2a-b8e1-3f7a9b8c4f12\",\n \"uid\": \"string\",\n \"acceptedBy\": \"/api/v1/users/1\",\n \"acceptedDate\": \"2026-01-15T10:30:00+00:00\",\n \"isPublic\": true,\n \"productOption\": \"/api/v1/product_options/1\",\n \"requestPayload\": [\n \"string\"\n ],\n \"identity\": \"/api/v1/identities/1\",\n \"checkoutReminderSent\": true,\n \"identityReminderSent\": true,\n \"identityExpiringRequested\": true,\n \"localCenterOption\": \"/api/v1/local_centers/1\",\n \"identityReminder2Sent\": true,\n \"identityReminder3Sent\": true,\n \"commentByUser\": \"Confirmed by phone — will arrive at 10am.\",\n \"hasCoveredProcessingFee\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.orgo.space/api/v1/subscription-profile/{id}/accept")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Api-Token"] = '<api-key>'
request["Content-Type"] = 'application/merge-patch+json'
request.body = "{\n \"member\": \"/api/v1/users/1\",\n \"productPrice\": \"/api/v1/product_prices/1\",\n \"currency\": \"USD\",\n \"currentPeriodEnd\": \"2026-01-15T10:30:00+00:00\",\n \"stripeCustomerId\": \"cus_NhpBuxIyR4Qbpd\",\n \"stripeSubscriptionId\": \"sub_1Mn6KFLZvKYlo2C0\",\n \"isSubscriptionInactive\": true,\n \"isFailedPayment\": true,\n \"product\": \"/api/v1/products/1\",\n \"createdAt\": \"2026-01-15T10:30:00+00:00\",\n \"isSubscriptionCanceled\": true,\n \"customPriceValue\": 5000,\n \"contact\": \"/api/v1/contacts/1\",\n \"tenant\": \"/api/v1/tenants/1\",\n \"status\": \"ACTIVE\",\n \"token\": \"01938d8e-9c4f-7c2a-b8e1-3f7a9b8c4f12\",\n \"uid\": \"string\",\n \"acceptedBy\": \"/api/v1/users/1\",\n \"acceptedDate\": \"2026-01-15T10:30:00+00:00\",\n \"isPublic\": true,\n \"productOption\": \"/api/v1/product_options/1\",\n \"requestPayload\": [\n \"string\"\n ],\n \"identity\": \"/api/v1/identities/1\",\n \"checkoutReminderSent\": true,\n \"identityReminderSent\": true,\n \"identityExpiringRequested\": true,\n \"localCenterOption\": \"/api/v1/local_centers/1\",\n \"identityReminder2Sent\": true,\n \"identityReminder3Sent\": true,\n \"commentByUser\": \"Confirmed by phone — will arrive at 10am.\",\n \"hasCoveredProcessingFee\": true\n}"
response = http.request(request)
puts response.read_body{
"id": 42,
"member": {
"id": 42,
"email": "james.patterson@example.com",
"localCenter": {
"id": 42,
"name": "Boston Chapter"
},
"type": {
"id": 42,
"name": "Boston Chapter",
"namePlural": "Boston Chapter",
"position": 42,
"options": [
"string"
],
"chartName": "Boston Chapter"
},
"fullName": "James Patterson",
"timezone": "America/New_York",
"phoneNumber": "+1 415 555 0142",
"cardId": "string",
"isValidatedIdentity": true,
"isValidatedIdentityPending": true,
"postalCode": "02108",
"address": "123 Beacon Street",
"professionOrganisation": "Civic Collective",
"professionOrganisationWebsite": "https://civic-collective.example.com",
"professionOrganisationRole": "Civic Collective",
"companyIdentifier": "US-123456789",
"companyName": "Civic Collective LLC",
"companyAddress": "123 Beacon Street, Boston, MA 02108",
"companyRegNo": "DE-HRB-12345"
},
"productPrice": {
"currency": "USD",
"price": 50,
"name": "Boston Chapter",
"isSubscription": true,
"isRestricted": "string",
"isDefault": true,
"fullDescription": "Quarterly chapter meeting open to all members.",
"displayNameOnPaymentPage": true,
"overwriteMonthPeriod": 1,
"isHidden": true,
"isBundle": true,
"isBundleMember": true,
"monthPeriod": 1
},
"currency": "USD",
"currentPeriodEnd": "2026-01-15T10:30:00+00:00",
"stripeCustomerId": "cus_NhpBuxIyR4Qbpd",
"stripeSubscriptionId": "sub_1Mn6KFLZvKYlo2C0",
"isSubscriptionInactive": true,
"createdAt": "2026-01-15T10:30:00+00:00",
"isSubscriptionCanceled": true,
"customPriceValue": 5000,
"contact": {
"id": 42,
"name": "Boston Chapter",
"email": "james.patterson@example.com",
"phone": "+1 415 555 0142",
"organisation": "Civic Collective",
"role": "ROLE_USER",
"twitter": "https://twitter.com/jpatterson",
"linkedin": "https://linkedin.com/in/james-patterson",
"instagram": "https://instagram.com/jpatterson",
"country": {
"name": "Boston Chapter"
},
"isNewsletterSubscribed": true,
"town": {
"name": "Boston Chapter"
},
"isValidatedIdentity": true,
"isValidatedIdentityPending": true,
"isCreateAccount": true,
"companyIdentifier": "US-123456789",
"companyName": "Civic Collective LLC",
"companyAddress": "123 Beacon Street, Boston, MA 02108",
"customFieldValues": [
"/api/v1/custom_field_values/1"
],
"professionOrganisationRole": "Civic Collective",
"companyRegNo": "DE-HRB-12345",
"fullName": "James Patterson",
"firstName": "James",
"lastName": "Patterson"
},
"status": "ACTIVE",
"uid": "string",
"isPublic": true,
"identity": {
"id": 42,
"isValidated": true,
"hasUploadedDocument": true,
"firstName": "James",
"lastName": "Patterson",
"status": "ACTIVE"
},
"identityReminderSent": true,
"localCenterOption": {
"id": 42,
"name": "Boston Chapter"
},
"identityReminder2Sent": true,
"identityReminder3Sent": true
}Accept a subscription profile
Marks a subscription profile as accepted by an administrator. Requires FINANCIAL_TENANT permission. Sets the acceptedBy user and acceptedDate. Validates access via the Stripe connected service before acceptance.
curl --request PATCH \
--url https://app.orgo.space/api/v1/subscription-profile/{id}/accept \
--header 'Api-Token: <api-key>' \
--header 'Content-Type: application/merge-patch+json' \
--data '
{
"member": "/api/v1/users/1",
"productPrice": "/api/v1/product_prices/1",
"currency": "USD",
"currentPeriodEnd": "2026-01-15T10:30:00+00:00",
"stripeCustomerId": "cus_NhpBuxIyR4Qbpd",
"stripeSubscriptionId": "sub_1Mn6KFLZvKYlo2C0",
"isSubscriptionInactive": true,
"isFailedPayment": true,
"product": "/api/v1/products/1",
"createdAt": "2026-01-15T10:30:00+00:00",
"isSubscriptionCanceled": true,
"customPriceValue": 5000,
"contact": "/api/v1/contacts/1",
"tenant": "/api/v1/tenants/1",
"status": "ACTIVE",
"token": "01938d8e-9c4f-7c2a-b8e1-3f7a9b8c4f12",
"uid": "string",
"acceptedBy": "/api/v1/users/1",
"acceptedDate": "2026-01-15T10:30:00+00:00",
"isPublic": true,
"productOption": "/api/v1/product_options/1",
"requestPayload": [
"string"
],
"identity": "/api/v1/identities/1",
"checkoutReminderSent": true,
"identityReminderSent": true,
"identityExpiringRequested": true,
"localCenterOption": "/api/v1/local_centers/1",
"identityReminder2Sent": true,
"identityReminder3Sent": true,
"commentByUser": "Confirmed by phone — will arrive at 10am.",
"hasCoveredProcessingFee": true
}
'import requests
url = "https://app.orgo.space/api/v1/subscription-profile/{id}/accept"
payload = {
"member": "/api/v1/users/1",
"productPrice": "/api/v1/product_prices/1",
"currency": "USD",
"currentPeriodEnd": "2026-01-15T10:30:00+00:00",
"stripeCustomerId": "cus_NhpBuxIyR4Qbpd",
"stripeSubscriptionId": "sub_1Mn6KFLZvKYlo2C0",
"isSubscriptionInactive": True,
"isFailedPayment": True,
"product": "/api/v1/products/1",
"createdAt": "2026-01-15T10:30:00+00:00",
"isSubscriptionCanceled": True,
"customPriceValue": 5000,
"contact": "/api/v1/contacts/1",
"tenant": "/api/v1/tenants/1",
"status": "ACTIVE",
"token": "01938d8e-9c4f-7c2a-b8e1-3f7a9b8c4f12",
"uid": "string",
"acceptedBy": "/api/v1/users/1",
"acceptedDate": "2026-01-15T10:30:00+00:00",
"isPublic": True,
"productOption": "/api/v1/product_options/1",
"requestPayload": ["string"],
"identity": "/api/v1/identities/1",
"checkoutReminderSent": True,
"identityReminderSent": True,
"identityExpiringRequested": True,
"localCenterOption": "/api/v1/local_centers/1",
"identityReminder2Sent": True,
"identityReminder3Sent": True,
"commentByUser": "Confirmed by phone — will arrive at 10am.",
"hasCoveredProcessingFee": True
}
headers = {
"Api-Token": "<api-key>",
"Content-Type": "application/merge-patch+json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'Api-Token': '<api-key>', 'Content-Type': 'application/merge-patch+json'},
body: JSON.stringify({
member: '/api/v1/users/1',
productPrice: '/api/v1/product_prices/1',
currency: 'USD',
currentPeriodEnd: '2026-01-15T10:30:00+00:00',
stripeCustomerId: 'cus_NhpBuxIyR4Qbpd',
stripeSubscriptionId: 'sub_1Mn6KFLZvKYlo2C0',
isSubscriptionInactive: true,
isFailedPayment: true,
product: '/api/v1/products/1',
createdAt: '2026-01-15T10:30:00+00:00',
isSubscriptionCanceled: true,
customPriceValue: 5000,
contact: '/api/v1/contacts/1',
tenant: '/api/v1/tenants/1',
status: 'ACTIVE',
token: '01938d8e-9c4f-7c2a-b8e1-3f7a9b8c4f12',
uid: 'string',
acceptedBy: '/api/v1/users/1',
acceptedDate: '2026-01-15T10:30:00+00:00',
isPublic: true,
productOption: '/api/v1/product_options/1',
requestPayload: ['string'],
identity: '/api/v1/identities/1',
checkoutReminderSent: true,
identityReminderSent: true,
identityExpiringRequested: true,
localCenterOption: '/api/v1/local_centers/1',
identityReminder2Sent: true,
identityReminder3Sent: true,
commentByUser: 'Confirmed by phone — will arrive at 10am.',
hasCoveredProcessingFee: true
})
};
fetch('https://app.orgo.space/api/v1/subscription-profile/{id}/accept', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.orgo.space/api/v1/subscription-profile/{id}/accept",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'member' => '/api/v1/users/1',
'productPrice' => '/api/v1/product_prices/1',
'currency' => 'USD',
'currentPeriodEnd' => '2026-01-15T10:30:00+00:00',
'stripeCustomerId' => 'cus_NhpBuxIyR4Qbpd',
'stripeSubscriptionId' => 'sub_1Mn6KFLZvKYlo2C0',
'isSubscriptionInactive' => true,
'isFailedPayment' => true,
'product' => '/api/v1/products/1',
'createdAt' => '2026-01-15T10:30:00+00:00',
'isSubscriptionCanceled' => true,
'customPriceValue' => 5000,
'contact' => '/api/v1/contacts/1',
'tenant' => '/api/v1/tenants/1',
'status' => 'ACTIVE',
'token' => '01938d8e-9c4f-7c2a-b8e1-3f7a9b8c4f12',
'uid' => 'string',
'acceptedBy' => '/api/v1/users/1',
'acceptedDate' => '2026-01-15T10:30:00+00:00',
'isPublic' => true,
'productOption' => '/api/v1/product_options/1',
'requestPayload' => [
'string'
],
'identity' => '/api/v1/identities/1',
'checkoutReminderSent' => true,
'identityReminderSent' => true,
'identityExpiringRequested' => true,
'localCenterOption' => '/api/v1/local_centers/1',
'identityReminder2Sent' => true,
'identityReminder3Sent' => true,
'commentByUser' => 'Confirmed by phone — will arrive at 10am.',
'hasCoveredProcessingFee' => true
]),
CURLOPT_HTTPHEADER => [
"Api-Token: <api-key>",
"Content-Type: application/merge-patch+json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.orgo.space/api/v1/subscription-profile/{id}/accept"
payload := strings.NewReader("{\n \"member\": \"/api/v1/users/1\",\n \"productPrice\": \"/api/v1/product_prices/1\",\n \"currency\": \"USD\",\n \"currentPeriodEnd\": \"2026-01-15T10:30:00+00:00\",\n \"stripeCustomerId\": \"cus_NhpBuxIyR4Qbpd\",\n \"stripeSubscriptionId\": \"sub_1Mn6KFLZvKYlo2C0\",\n \"isSubscriptionInactive\": true,\n \"isFailedPayment\": true,\n \"product\": \"/api/v1/products/1\",\n \"createdAt\": \"2026-01-15T10:30:00+00:00\",\n \"isSubscriptionCanceled\": true,\n \"customPriceValue\": 5000,\n \"contact\": \"/api/v1/contacts/1\",\n \"tenant\": \"/api/v1/tenants/1\",\n \"status\": \"ACTIVE\",\n \"token\": \"01938d8e-9c4f-7c2a-b8e1-3f7a9b8c4f12\",\n \"uid\": \"string\",\n \"acceptedBy\": \"/api/v1/users/1\",\n \"acceptedDate\": \"2026-01-15T10:30:00+00:00\",\n \"isPublic\": true,\n \"productOption\": \"/api/v1/product_options/1\",\n \"requestPayload\": [\n \"string\"\n ],\n \"identity\": \"/api/v1/identities/1\",\n \"checkoutReminderSent\": true,\n \"identityReminderSent\": true,\n \"identityExpiringRequested\": true,\n \"localCenterOption\": \"/api/v1/local_centers/1\",\n \"identityReminder2Sent\": true,\n \"identityReminder3Sent\": true,\n \"commentByUser\": \"Confirmed by phone — will arrive at 10am.\",\n \"hasCoveredProcessingFee\": true\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Api-Token", "<api-key>")
req.Header.Add("Content-Type", "application/merge-patch+json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://app.orgo.space/api/v1/subscription-profile/{id}/accept")
.header("Api-Token", "<api-key>")
.header("Content-Type", "application/merge-patch+json")
.body("{\n \"member\": \"/api/v1/users/1\",\n \"productPrice\": \"/api/v1/product_prices/1\",\n \"currency\": \"USD\",\n \"currentPeriodEnd\": \"2026-01-15T10:30:00+00:00\",\n \"stripeCustomerId\": \"cus_NhpBuxIyR4Qbpd\",\n \"stripeSubscriptionId\": \"sub_1Mn6KFLZvKYlo2C0\",\n \"isSubscriptionInactive\": true,\n \"isFailedPayment\": true,\n \"product\": \"/api/v1/products/1\",\n \"createdAt\": \"2026-01-15T10:30:00+00:00\",\n \"isSubscriptionCanceled\": true,\n \"customPriceValue\": 5000,\n \"contact\": \"/api/v1/contacts/1\",\n \"tenant\": \"/api/v1/tenants/1\",\n \"status\": \"ACTIVE\",\n \"token\": \"01938d8e-9c4f-7c2a-b8e1-3f7a9b8c4f12\",\n \"uid\": \"string\",\n \"acceptedBy\": \"/api/v1/users/1\",\n \"acceptedDate\": \"2026-01-15T10:30:00+00:00\",\n \"isPublic\": true,\n \"productOption\": \"/api/v1/product_options/1\",\n \"requestPayload\": [\n \"string\"\n ],\n \"identity\": \"/api/v1/identities/1\",\n \"checkoutReminderSent\": true,\n \"identityReminderSent\": true,\n \"identityExpiringRequested\": true,\n \"localCenterOption\": \"/api/v1/local_centers/1\",\n \"identityReminder2Sent\": true,\n \"identityReminder3Sent\": true,\n \"commentByUser\": \"Confirmed by phone — will arrive at 10am.\",\n \"hasCoveredProcessingFee\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.orgo.space/api/v1/subscription-profile/{id}/accept")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Api-Token"] = '<api-key>'
request["Content-Type"] = 'application/merge-patch+json'
request.body = "{\n \"member\": \"/api/v1/users/1\",\n \"productPrice\": \"/api/v1/product_prices/1\",\n \"currency\": \"USD\",\n \"currentPeriodEnd\": \"2026-01-15T10:30:00+00:00\",\n \"stripeCustomerId\": \"cus_NhpBuxIyR4Qbpd\",\n \"stripeSubscriptionId\": \"sub_1Mn6KFLZvKYlo2C0\",\n \"isSubscriptionInactive\": true,\n \"isFailedPayment\": true,\n \"product\": \"/api/v1/products/1\",\n \"createdAt\": \"2026-01-15T10:30:00+00:00\",\n \"isSubscriptionCanceled\": true,\n \"customPriceValue\": 5000,\n \"contact\": \"/api/v1/contacts/1\",\n \"tenant\": \"/api/v1/tenants/1\",\n \"status\": \"ACTIVE\",\n \"token\": \"01938d8e-9c4f-7c2a-b8e1-3f7a9b8c4f12\",\n \"uid\": \"string\",\n \"acceptedBy\": \"/api/v1/users/1\",\n \"acceptedDate\": \"2026-01-15T10:30:00+00:00\",\n \"isPublic\": true,\n \"productOption\": \"/api/v1/product_options/1\",\n \"requestPayload\": [\n \"string\"\n ],\n \"identity\": \"/api/v1/identities/1\",\n \"checkoutReminderSent\": true,\n \"identityReminderSent\": true,\n \"identityExpiringRequested\": true,\n \"localCenterOption\": \"/api/v1/local_centers/1\",\n \"identityReminder2Sent\": true,\n \"identityReminder3Sent\": true,\n \"commentByUser\": \"Confirmed by phone — will arrive at 10am.\",\n \"hasCoveredProcessingFee\": true\n}"
response = http.request(request)
puts response.read_body{
"id": 42,
"member": {
"id": 42,
"email": "james.patterson@example.com",
"localCenter": {
"id": 42,
"name": "Boston Chapter"
},
"type": {
"id": 42,
"name": "Boston Chapter",
"namePlural": "Boston Chapter",
"position": 42,
"options": [
"string"
],
"chartName": "Boston Chapter"
},
"fullName": "James Patterson",
"timezone": "America/New_York",
"phoneNumber": "+1 415 555 0142",
"cardId": "string",
"isValidatedIdentity": true,
"isValidatedIdentityPending": true,
"postalCode": "02108",
"address": "123 Beacon Street",
"professionOrganisation": "Civic Collective",
"professionOrganisationWebsite": "https://civic-collective.example.com",
"professionOrganisationRole": "Civic Collective",
"companyIdentifier": "US-123456789",
"companyName": "Civic Collective LLC",
"companyAddress": "123 Beacon Street, Boston, MA 02108",
"companyRegNo": "DE-HRB-12345"
},
"productPrice": {
"currency": "USD",
"price": 50,
"name": "Boston Chapter",
"isSubscription": true,
"isRestricted": "string",
"isDefault": true,
"fullDescription": "Quarterly chapter meeting open to all members.",
"displayNameOnPaymentPage": true,
"overwriteMonthPeriod": 1,
"isHidden": true,
"isBundle": true,
"isBundleMember": true,
"monthPeriod": 1
},
"currency": "USD",
"currentPeriodEnd": "2026-01-15T10:30:00+00:00",
"stripeCustomerId": "cus_NhpBuxIyR4Qbpd",
"stripeSubscriptionId": "sub_1Mn6KFLZvKYlo2C0",
"isSubscriptionInactive": true,
"createdAt": "2026-01-15T10:30:00+00:00",
"isSubscriptionCanceled": true,
"customPriceValue": 5000,
"contact": {
"id": 42,
"name": "Boston Chapter",
"email": "james.patterson@example.com",
"phone": "+1 415 555 0142",
"organisation": "Civic Collective",
"role": "ROLE_USER",
"twitter": "https://twitter.com/jpatterson",
"linkedin": "https://linkedin.com/in/james-patterson",
"instagram": "https://instagram.com/jpatterson",
"country": {
"name": "Boston Chapter"
},
"isNewsletterSubscribed": true,
"town": {
"name": "Boston Chapter"
},
"isValidatedIdentity": true,
"isValidatedIdentityPending": true,
"isCreateAccount": true,
"companyIdentifier": "US-123456789",
"companyName": "Civic Collective LLC",
"companyAddress": "123 Beacon Street, Boston, MA 02108",
"customFieldValues": [
"/api/v1/custom_field_values/1"
],
"professionOrganisationRole": "Civic Collective",
"companyRegNo": "DE-HRB-12345",
"fullName": "James Patterson",
"firstName": "James",
"lastName": "Patterson"
},
"status": "ACTIVE",
"uid": "string",
"isPublic": true,
"identity": {
"id": 42,
"isValidated": true,
"hasUploadedDocument": true,
"firstName": "James",
"lastName": "Patterson",
"status": "ACTIVE"
},
"identityReminderSent": true,
"localCenterOption": {
"id": 42,
"name": "Boston Chapter"
},
"identityReminder2Sent": true,
"identityReminder3Sent": true
}Authorizations
Server-to-server authentication. Generate a token in the admin UI at
Settings → Developers → API Access. Send the raw token in the
Api-Token header — there is no Bearer prefix.
Tokens can be marked read-only at creation time, in which case the API
rejects any non-GET request with 403 Forbidden.
Path Parameters
SubscriptionProfile identifier
Body
The updated SubscriptionProfile resource
"/api/v1/users/1"
"/api/v1/product_prices/1"
"/api/v1/products/1"
"/api/v1/contacts/1"
"/api/v1/tenants/1"
"/api/v1/users/1"
"/api/v1/product_options/1"
"/api/v1/identities/1"
"/api/v1/local_centers/1"
Response
SubscriptionProfile resource updated
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes

