curl --request PATCH \
--url https://app.orgo.space/api/v1/product-payment/{id}/refund \
--header 'Api-Token: <api-key>' \
--header 'Content-Type: application/merge-patch+json' \
--data '
{
"currency": "USD",
"commentByUser": "Confirmed by phone — will arrive at 10am.",
"commentStatus": "Confirmed by phone — will arrive at 10am."
}
'import requests
url = "https://app.orgo.space/api/v1/product-payment/{id}/refund"
payload = {
"currency": "USD",
"commentByUser": "Confirmed by phone — will arrive at 10am.",
"commentStatus": "Confirmed by phone — will arrive at 10am."
}
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({
currency: 'USD',
commentByUser: 'Confirmed by phone — will arrive at 10am.',
commentStatus: 'Confirmed by phone — will arrive at 10am.'
})
};
fetch('https://app.orgo.space/api/v1/product-payment/{id}/refund', 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/product-payment/{id}/refund",
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([
'currency' => 'USD',
'commentByUser' => 'Confirmed by phone — will arrive at 10am.',
'commentStatus' => 'Confirmed by phone — will arrive at 10am.'
]),
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/product-payment/{id}/refund"
payload := strings.NewReader("{\n \"currency\": \"USD\",\n \"commentByUser\": \"Confirmed by phone — will arrive at 10am.\",\n \"commentStatus\": \"Confirmed by phone — will arrive at 10am.\"\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/product-payment/{id}/refund")
.header("Api-Token", "<api-key>")
.header("Content-Type", "application/merge-patch+json")
.body("{\n \"currency\": \"USD\",\n \"commentByUser\": \"Confirmed by phone — will arrive at 10am.\",\n \"commentStatus\": \"Confirmed by phone — will arrive at 10am.\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.orgo.space/api/v1/product-payment/{id}/refund")
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 \"currency\": \"USD\",\n \"commentByUser\": \"Confirmed by phone — will arrive at 10am.\",\n \"commentStatus\": \"Confirmed by phone — will arrive at 10am.\"\n}"
response = http.request(request)
puts response.read_body{
"id": 42,
"product": {
"uuid": "01938d8e-9c4f-7c2a-b8e1-3f7a9b8c4f12",
"id": 42,
"name": "Boston Chapter",
"hasSubscription": true,
"hasOneTimePayment": true,
"logo": "https://cdn.orgo.space/tenants/acme/logo.png",
"settings": [
"string"
],
"event": {
"id": 42,
"uuid": "01938d8e-9c4f-7c2a-b8e1-3f7a9b8c4f12",
"name": "Boston Chapter",
"location": "Boston Common, Boston, MA",
"description": "Quarterly chapter meeting open to all members.",
"logo": "https://cdn.orgo.space/tenants/acme/logo.png",
"meetExists": true,
"type": "/api/v1/event_types/1",
"dateCreated": "2026-01-15T10:30:00+00:00",
"eventMedia": [
"/api/v1/event_medias/1"
],
"logoFromAlbum": "https://cdn.orgo.space/tenants/acme/logo.png",
"dateTimeBegin": "2026-01-15T10:30:00+00:00",
"dateTimeEnd": "2026-01-15T10:30:00+00:00",
"meet": "https://meet.google.com/abc-defg-hij",
"settings": [
"string"
],
"sdg": [
"string"
],
"isPublic": true,
"hasEventTicketing": true,
"isPast": true
},
"type": "MEMBER",
"displayOnProfile": true,
"productPriceVariations": [
"/api/v1/product_price_variations/1"
],
"metaGraphImage": "https://cdn.orgo.space/events/12/cover.jpg"
},
"subscriptionProfile": {
"id": 42,
"member": {
"id": 42,
"email": "james.patterson@example.com",
"localCenter": "/api/v1/local_centers/1",
"type": "/api/v1/roles/1",
"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": "/api/v1/countrys/1",
"isNewsletterSubscribed": true,
"town": "/api/v1/towns/1",
"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
},
"amount": 50,
"periodStart": "2026-01-15T10:30:00+00:00",
"periodEnd": "2026-01-15T10:30:00+00:00",
"stripeInvoiceId": "string",
"stripePaymentId": "string",
"isRefunded": true,
"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"
},
"user": {
"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"
},
"price": {
"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
},
"manualFeePayment": {
"status": 42,
"dateModified": "2026-01-15T10:30:00+00:00"
},
"stripePaymentDate": "2026-01-15T10:30:00+00:00",
"status": "ACTIVE",
"acceptedDate": "2026-01-15T10:30:00+00:00",
"uid": "string",
"currency": "USD",
"isPublic": true,
"identityReminderSent": true,
"productOption": {
"id": 42,
"name": "Boston Chapter",
"isArchived": false,
"position": 42
},
"dateCreated": "2026-01-15T10:30:00+00:00",
"identity": {
"id": 42,
"isValidated": true,
"hasUploadedDocument": true,
"firstName": "James",
"lastName": "Patterson",
"status": "ACTIVE"
},
"localCenterOption": {
"id": 42,
"name": "Boston Chapter"
},
"identityReminder2Sent": true,
"identityReminder3Sent": true,
"commentByUser": "Confirmed by phone — will arrive at 10am.",
"commentStatus": "Confirmed by phone — will arrive at 10am.",
"invoice": {
"id": 42,
"invoiceNumber": 42
},
"quantity": 42,
"quantityRefunded": 42,
"voucherCode": "string"
}Refund a payment
Processes a full refund through Stripe for a successful payment. Side effects: sets payment status to refunded, cancels any linked event registrations (releasing ticket capacity and decrementing sold counts), and recalculates fee validity dates for membership products. Only payments with status “success” can be refunded. Requires FINANCIAL_LOCAL permission.
curl --request PATCH \
--url https://app.orgo.space/api/v1/product-payment/{id}/refund \
--header 'Api-Token: <api-key>' \
--header 'Content-Type: application/merge-patch+json' \
--data '
{
"currency": "USD",
"commentByUser": "Confirmed by phone — will arrive at 10am.",
"commentStatus": "Confirmed by phone — will arrive at 10am."
}
'import requests
url = "https://app.orgo.space/api/v1/product-payment/{id}/refund"
payload = {
"currency": "USD",
"commentByUser": "Confirmed by phone — will arrive at 10am.",
"commentStatus": "Confirmed by phone — will arrive at 10am."
}
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({
currency: 'USD',
commentByUser: 'Confirmed by phone — will arrive at 10am.',
commentStatus: 'Confirmed by phone — will arrive at 10am.'
})
};
fetch('https://app.orgo.space/api/v1/product-payment/{id}/refund', 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/product-payment/{id}/refund",
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([
'currency' => 'USD',
'commentByUser' => 'Confirmed by phone — will arrive at 10am.',
'commentStatus' => 'Confirmed by phone — will arrive at 10am.'
]),
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/product-payment/{id}/refund"
payload := strings.NewReader("{\n \"currency\": \"USD\",\n \"commentByUser\": \"Confirmed by phone — will arrive at 10am.\",\n \"commentStatus\": \"Confirmed by phone — will arrive at 10am.\"\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/product-payment/{id}/refund")
.header("Api-Token", "<api-key>")
.header("Content-Type", "application/merge-patch+json")
.body("{\n \"currency\": \"USD\",\n \"commentByUser\": \"Confirmed by phone — will arrive at 10am.\",\n \"commentStatus\": \"Confirmed by phone — will arrive at 10am.\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.orgo.space/api/v1/product-payment/{id}/refund")
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 \"currency\": \"USD\",\n \"commentByUser\": \"Confirmed by phone — will arrive at 10am.\",\n \"commentStatus\": \"Confirmed by phone — will arrive at 10am.\"\n}"
response = http.request(request)
puts response.read_body{
"id": 42,
"product": {
"uuid": "01938d8e-9c4f-7c2a-b8e1-3f7a9b8c4f12",
"id": 42,
"name": "Boston Chapter",
"hasSubscription": true,
"hasOneTimePayment": true,
"logo": "https://cdn.orgo.space/tenants/acme/logo.png",
"settings": [
"string"
],
"event": {
"id": 42,
"uuid": "01938d8e-9c4f-7c2a-b8e1-3f7a9b8c4f12",
"name": "Boston Chapter",
"location": "Boston Common, Boston, MA",
"description": "Quarterly chapter meeting open to all members.",
"logo": "https://cdn.orgo.space/tenants/acme/logo.png",
"meetExists": true,
"type": "/api/v1/event_types/1",
"dateCreated": "2026-01-15T10:30:00+00:00",
"eventMedia": [
"/api/v1/event_medias/1"
],
"logoFromAlbum": "https://cdn.orgo.space/tenants/acme/logo.png",
"dateTimeBegin": "2026-01-15T10:30:00+00:00",
"dateTimeEnd": "2026-01-15T10:30:00+00:00",
"meet": "https://meet.google.com/abc-defg-hij",
"settings": [
"string"
],
"sdg": [
"string"
],
"isPublic": true,
"hasEventTicketing": true,
"isPast": true
},
"type": "MEMBER",
"displayOnProfile": true,
"productPriceVariations": [
"/api/v1/product_price_variations/1"
],
"metaGraphImage": "https://cdn.orgo.space/events/12/cover.jpg"
},
"subscriptionProfile": {
"id": 42,
"member": {
"id": 42,
"email": "james.patterson@example.com",
"localCenter": "/api/v1/local_centers/1",
"type": "/api/v1/roles/1",
"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": "/api/v1/countrys/1",
"isNewsletterSubscribed": true,
"town": "/api/v1/towns/1",
"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
},
"amount": 50,
"periodStart": "2026-01-15T10:30:00+00:00",
"periodEnd": "2026-01-15T10:30:00+00:00",
"stripeInvoiceId": "string",
"stripePaymentId": "string",
"isRefunded": true,
"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"
},
"user": {
"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"
},
"price": {
"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
},
"manualFeePayment": {
"status": 42,
"dateModified": "2026-01-15T10:30:00+00:00"
},
"stripePaymentDate": "2026-01-15T10:30:00+00:00",
"status": "ACTIVE",
"acceptedDate": "2026-01-15T10:30:00+00:00",
"uid": "string",
"currency": "USD",
"isPublic": true,
"identityReminderSent": true,
"productOption": {
"id": 42,
"name": "Boston Chapter",
"isArchived": false,
"position": 42
},
"dateCreated": "2026-01-15T10:30:00+00:00",
"identity": {
"id": 42,
"isValidated": true,
"hasUploadedDocument": true,
"firstName": "James",
"lastName": "Patterson",
"status": "ACTIVE"
},
"localCenterOption": {
"id": 42,
"name": "Boston Chapter"
},
"identityReminder2Sent": true,
"identityReminder3Sent": true,
"commentByUser": "Confirmed by phone — will arrive at 10am.",
"commentStatus": "Confirmed by phone — will arrive at 10am.",
"invoice": {
"id": 42,
"invoiceNumber": 42
},
"quantity": 42,
"quantityRefunded": 42,
"voucherCode": "string"
}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
ProductPayment identifier
Body
The updated ProductPayment resource
Response
ProductPayment 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
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

