Create pending subscription for external contact
curl --request POST \
--url https://app.orgo.space/api/v1/subscription/external/create-pending \
--header 'Content-Type: application/json' \
--data '
{
"stripeCustomerId": "cus_NhpBuxIyR4Qbpd",
"stripeSubscriptionId": "sub_1Mn6KFLZvKYlo2C0",
"createdAt": "2026-01-15T10:30:00+00:00",
"status": "ACTIVE",
"uid": "string",
"requestPayload": [
"string"
],
"localCenterOption": {
"name": "Boston Chapter"
}
}
'import requests
url = "https://app.orgo.space/api/v1/subscription/external/create-pending"
payload = {
"stripeCustomerId": "cus_NhpBuxIyR4Qbpd",
"stripeSubscriptionId": "sub_1Mn6KFLZvKYlo2C0",
"createdAt": "2026-01-15T10:30:00+00:00",
"status": "ACTIVE",
"uid": "string",
"requestPayload": ["string"],
"localCenterOption": { "name": "Boston Chapter" }
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
stripeCustomerId: 'cus_NhpBuxIyR4Qbpd',
stripeSubscriptionId: 'sub_1Mn6KFLZvKYlo2C0',
createdAt: '2026-01-15T10:30:00+00:00',
status: 'ACTIVE',
uid: 'string',
requestPayload: ['string'],
localCenterOption: {name: 'Boston Chapter'}
})
};
fetch('https://app.orgo.space/api/v1/subscription/external/create-pending', 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/external/create-pending",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'stripeCustomerId' => 'cus_NhpBuxIyR4Qbpd',
'stripeSubscriptionId' => 'sub_1Mn6KFLZvKYlo2C0',
'createdAt' => '2026-01-15T10:30:00+00:00',
'status' => 'ACTIVE',
'uid' => 'string',
'requestPayload' => [
'string'
],
'localCenterOption' => [
'name' => 'Boston Chapter'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/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/external/create-pending"
payload := strings.NewReader("{\n \"stripeCustomerId\": \"cus_NhpBuxIyR4Qbpd\",\n \"stripeSubscriptionId\": \"sub_1Mn6KFLZvKYlo2C0\",\n \"createdAt\": \"2026-01-15T10:30:00+00:00\",\n \"status\": \"ACTIVE\",\n \"uid\": \"string\",\n \"requestPayload\": [\n \"string\"\n ],\n \"localCenterOption\": {\n \"name\": \"Boston Chapter\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.orgo.space/api/v1/subscription/external/create-pending")
.header("Content-Type", "application/json")
.body("{\n \"stripeCustomerId\": \"cus_NhpBuxIyR4Qbpd\",\n \"stripeSubscriptionId\": \"sub_1Mn6KFLZvKYlo2C0\",\n \"createdAt\": \"2026-01-15T10:30:00+00:00\",\n \"status\": \"ACTIVE\",\n \"uid\": \"string\",\n \"requestPayload\": [\n \"string\"\n ],\n \"localCenterOption\": {\n \"name\": \"Boston Chapter\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.orgo.space/api/v1/subscription/external/create-pending")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"stripeCustomerId\": \"cus_NhpBuxIyR4Qbpd\",\n \"stripeSubscriptionId\": \"sub_1Mn6KFLZvKYlo2C0\",\n \"createdAt\": \"2026-01-15T10:30:00+00:00\",\n \"status\": \"ACTIVE\",\n \"uid\": \"string\",\n \"requestPayload\": [\n \"string\"\n ],\n \"localCenterOption\": {\n \"name\": \"Boston Chapter\"\n }\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
}SubscriptionProfile
Create pending subscription for external contact
Creates a pending subscription for an external (non-member) contact. Resolves the product, price, option, and local center from the request payload. Creates or retrieves a Contact record by email, sets identity verification status, and stores profile fields (organisation, social links, town). Returns existing subscription if already identity-validated. Rejects if a non-canceled subscription already exists for the same product and contact.
POST
/
api
/
v1
/
subscription
/
external
/
create-pending
Create pending subscription for external contact
curl --request POST \
--url https://app.orgo.space/api/v1/subscription/external/create-pending \
--header 'Content-Type: application/json' \
--data '
{
"stripeCustomerId": "cus_NhpBuxIyR4Qbpd",
"stripeSubscriptionId": "sub_1Mn6KFLZvKYlo2C0",
"createdAt": "2026-01-15T10:30:00+00:00",
"status": "ACTIVE",
"uid": "string",
"requestPayload": [
"string"
],
"localCenterOption": {
"name": "Boston Chapter"
}
}
'import requests
url = "https://app.orgo.space/api/v1/subscription/external/create-pending"
payload = {
"stripeCustomerId": "cus_NhpBuxIyR4Qbpd",
"stripeSubscriptionId": "sub_1Mn6KFLZvKYlo2C0",
"createdAt": "2026-01-15T10:30:00+00:00",
"status": "ACTIVE",
"uid": "string",
"requestPayload": ["string"],
"localCenterOption": { "name": "Boston Chapter" }
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
stripeCustomerId: 'cus_NhpBuxIyR4Qbpd',
stripeSubscriptionId: 'sub_1Mn6KFLZvKYlo2C0',
createdAt: '2026-01-15T10:30:00+00:00',
status: 'ACTIVE',
uid: 'string',
requestPayload: ['string'],
localCenterOption: {name: 'Boston Chapter'}
})
};
fetch('https://app.orgo.space/api/v1/subscription/external/create-pending', 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/external/create-pending",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'stripeCustomerId' => 'cus_NhpBuxIyR4Qbpd',
'stripeSubscriptionId' => 'sub_1Mn6KFLZvKYlo2C0',
'createdAt' => '2026-01-15T10:30:00+00:00',
'status' => 'ACTIVE',
'uid' => 'string',
'requestPayload' => [
'string'
],
'localCenterOption' => [
'name' => 'Boston Chapter'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/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/external/create-pending"
payload := strings.NewReader("{\n \"stripeCustomerId\": \"cus_NhpBuxIyR4Qbpd\",\n \"stripeSubscriptionId\": \"sub_1Mn6KFLZvKYlo2C0\",\n \"createdAt\": \"2026-01-15T10:30:00+00:00\",\n \"status\": \"ACTIVE\",\n \"uid\": \"string\",\n \"requestPayload\": [\n \"string\"\n ],\n \"localCenterOption\": {\n \"name\": \"Boston Chapter\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.orgo.space/api/v1/subscription/external/create-pending")
.header("Content-Type", "application/json")
.body("{\n \"stripeCustomerId\": \"cus_NhpBuxIyR4Qbpd\",\n \"stripeSubscriptionId\": \"sub_1Mn6KFLZvKYlo2C0\",\n \"createdAt\": \"2026-01-15T10:30:00+00:00\",\n \"status\": \"ACTIVE\",\n \"uid\": \"string\",\n \"requestPayload\": [\n \"string\"\n ],\n \"localCenterOption\": {\n \"name\": \"Boston Chapter\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.orgo.space/api/v1/subscription/external/create-pending")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"stripeCustomerId\": \"cus_NhpBuxIyR4Qbpd\",\n \"stripeSubscriptionId\": \"sub_1Mn6KFLZvKYlo2C0\",\n \"createdAt\": \"2026-01-15T10:30:00+00:00\",\n \"status\": \"ACTIVE\",\n \"uid\": \"string\",\n \"requestPayload\": [\n \"string\"\n ],\n \"localCenterOption\": {\n \"name\": \"Boston Chapter\"\n }\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
}Body
application/json
The new SubscriptionProfile resource
Response
SubscriptionProfile resource created
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
⌘I

