Payments
Stripe payments, refunds and sales made outside Firmado.
Values for the examples
Type them once and every example on this page uses them. The API key stays on this page only and is never saved.
GET/v1/companies/{id}/payments
What a company paid: its invoices’ and proposals’ payments.
Read/{id}/paymentsOn success: 200.Permission: Read.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Query parameters
| Field | Type | Required | Notes |
|---|---|---|---|
page | integer | No | min 1 · default 1 |
pageSize | integer | No | min 1 · max 50 · default 10 |
Response
45 fields
| Field | Type | Always there |
|---|---|---|
data | array of object | Yes |
data[].amount | integer | Yes |
data[].appointment | null in the examples | Yes |
data[].at | string (date-time) | Yes |
data[].currency | string | Yes |
data[].deal | object | null | Yes |
data[].deal.id | string (uuid) | Yes |
data[].deal.reference | null in the examples | Yes |
data[].deal.title | string | Yes |
data[].file | null in the examples | Yes |
data[].id | string (uuid) | Yes |
data[].invoice | object | null | Yes |
data[].invoice.id | string (uuid) | Yes |
data[].invoice.number | string | Yes |
data[].kind | string | Yes |
data[].method | string | null | Yes |
data[].payerEmail | string | null (email) | Yes |
data[].payerName | string | null | Yes |
data[].recorded | object | null | Yes |
data[].recorded.channel | null in the examples | Yes |
data[].recorded.company | object | Yes |
data[].recorded.company.id | string (uuid) | Yes |
data[].recorded.company.name | string | Yes |
data[].recorded.contact | object | null | Yes |
data[].recorded.contact.id | string (uuid) | Yes |
data[].recorded.contact.name | string | Yes |
data[].recorded.description | string | null | Yes |
data[].recorded.items | array of object | Yes |
data[].recorded.items[].description | null in the examples | Yes |
data[].recorded.items[].discount | object | null | Yes |
data[].recorded.items[].id | string (uuid) | Yes |
data[].recorded.items[].name | string | Yes |
data[].recorded.items[].quantity | integer | Yes |
data[].recorded.items[].serviceId | string | null (uuid) | Yes |
data[].recorded.items[].unitPrice | integer | Yes |
data[].recorded.recordedBy | string | Yes |
data[].recorded.reference | null in the examples | Yes |
data[].source | string | Yes |
data[].status | string | Yes |
page | integer | Yes |
pageSize | integer | Yes |
paidTotals | array of object | Yes |
paidTotals[].amount | integer | Yes |
paidTotals[].currency | string | Yes |
total | integer | Yes |
Example
curl -X GET "https://api.firmado.app/v1/companies/{id}/payments" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/companies/{id}/payments", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/companies/{id}/payments",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/companies/{id}/payments");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_..."],
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/companies/{id}/payments")
req = Net::HTTP::Get.new(uri)
req["X-Api-Key"] = "fmd_..."
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)req, _ := http.NewRequest("GET", "https://api.firmado.app/v1/companies/{id}/payments", nil)
req.Header.Set("X-Api-Key", "fmd_...")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/companies/{id}/payments"))
.header("X-Api-Key", "fmd_...")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://api.firmado.app/v1/companies/{id}/payments");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Response (200), with sample values:
{
"data": [
{
"amount": 1,
"appointment": null,
"at": "2026-11-21T14:00:00.000Z",
"currency": "USD",
"deal": {},
"file": null,
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"invoice": {},
"kind": "…",
"method": "…",
"payerEmail": "[email protected]",
"payerName": "Ana Lima",
"recorded": {},
"source": "…",
"status": "…"
}
],
"page": 1,
"pageSize": 1,
"paidTotals": [
{
"amount": 1,
"currency": "USD"
}
],
"total": 1
}GET/v1/contacts/{id}/payments
What a contact paid, newest first.
Read/{id}/paymentsOn success: 200.Permission: Read.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Query parameters
| Field | Type | Required | Notes |
|---|---|---|---|
page | integer | No | min 1 · default 1 |
pageSize | integer | No | min 1 · max 50 · default 10 |
Response
45 fields
| Field | Type | Always there |
|---|---|---|
data | array of object | Yes |
data[].amount | integer | Yes |
data[].appointment | null in the examples | Yes |
data[].at | string (date-time) | Yes |
data[].currency | string | Yes |
data[].deal | object | null | Yes |
data[].deal.id | string (uuid) | Yes |
data[].deal.reference | null in the examples | Yes |
data[].deal.title | string | Yes |
data[].file | null in the examples | Yes |
data[].id | string (uuid) | Yes |
data[].invoice | object | null | Yes |
data[].invoice.id | string (uuid) | Yes |
data[].invoice.number | string | Yes |
data[].kind | string | Yes |
data[].method | string | null | Yes |
data[].payerEmail | string | null (email) | Yes |
data[].payerName | string | null | Yes |
data[].recorded | object | null | Yes |
data[].recorded.channel | string | null | Yes |
data[].recorded.company | object | null | Yes |
data[].recorded.company.id | string (uuid) | Yes |
data[].recorded.company.name | string | Yes |
data[].recorded.contact | object | Yes |
data[].recorded.contact.id | string (uuid) | Yes |
data[].recorded.contact.name | string | Yes |
data[].recorded.description | string | null | Yes |
data[].recorded.items | array of object | Yes |
data[].recorded.items[].description | null in the examples | Yes |
data[].recorded.items[].discount | object | null | Yes |
data[].recorded.items[].id | string (uuid) | Yes |
data[].recorded.items[].name | string | Yes |
data[].recorded.items[].quantity | integer | Yes |
data[].recorded.items[].serviceId | string | null (uuid) | Yes |
data[].recorded.items[].unitPrice | integer | Yes |
data[].recorded.recordedBy | string | Yes |
data[].recorded.reference | string | null | Yes |
data[].source | string | Yes |
data[].status | string | Yes |
page | integer | Yes |
pageSize | integer | Yes |
paidTotals | array of object | Yes |
paidTotals[].amount | integer | Yes |
paidTotals[].currency | string | Yes |
total | integer | Yes |
Example
curl -X GET "https://api.firmado.app/v1/contacts/{id}/payments" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/contacts/{id}/payments", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/contacts/{id}/payments",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/contacts/{id}/payments");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_..."],
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/contacts/{id}/payments")
req = Net::HTTP::Get.new(uri)
req["X-Api-Key"] = "fmd_..."
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)req, _ := http.NewRequest("GET", "https://api.firmado.app/v1/contacts/{id}/payments", nil)
req.Header.Set("X-Api-Key", "fmd_...")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/contacts/{id}/payments"))
.header("X-Api-Key", "fmd_...")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://api.firmado.app/v1/contacts/{id}/payments");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Response (200), with sample values:
{
"data": [
{
"amount": 1,
"appointment": null,
"at": "2026-11-21T14:00:00.000Z",
"currency": "USD",
"deal": {},
"file": null,
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"invoice": {},
"kind": "…",
"method": "…",
"payerEmail": "[email protected]",
"payerName": "Ana Lima",
"recorded": {},
"source": "…",
"status": "…"
}
],
"page": 1,
"pageSize": 1,
"paidTotals": [
{
"amount": 1,
"currency": "USD"
}
],
"total": 1
}POST/v1/manual-payments
Records a sale made outside Firmado; a repeated reference is kept once.
CreateOn success: 201.Permission: Create.
Body
| Field | Type | Required | Notes |
|---|---|---|---|
contactId | string (uuid) | null | No | |
companyId | string (uuid) | null | No | |
description | string | null | No | |
items | array of object | No | max items 200 |
items[].id | string | No | min length 1 · max length 64 |
items[].serviceId | string (uuid) | null | No | |
items[].name | string | Yes | min length 1 · max length 200 |
items[].description | string | null | No | |
items[].quantity | number | No | min 0 · max 100000 · default 1 |
items[].unitPrice | integer | Yes | min 0 · max 10000000000000 |
items[].discount | object | null | No | |
amount | integer | null | No | |
currency | string | Yes | pattern ^[A-Z]{3}$ |
status | "paid" | "processing" | "refunded" | No | default "paid" |
paidAt | string (date-time) | No | |
method | string | null | No | |
payerName | string | null | No | |
payerEmail | string (email) | null | "" | No | |
channel | string | null | No | |
reference | string | No | min length 1 · max length 120 · pattern ^[\w.:-]+$ |
createContact | boolean | No | default true |
Response
28 fields
| Field | Type | Always there |
|---|---|---|
amount | integer | Yes |
channel | string | null | Yes |
companyId | string | null (uuid) | Yes |
contactId | string | null (uuid) | Yes |
createdAt | string (date-time) | Yes |
createdBy | string (uuid) | Yes |
currency | string | Yes |
description | string | null | Yes |
id | string (uuid) | Yes |
items | array of object | Yes |
items[].description | null in the examples | Yes |
items[].discount | object | null | Yes |
items[].discount.type | string | Yes |
items[].discount.value | integer | Yes |
items[].id | string (uuid) | Yes |
items[].name | string | Yes |
items[].quantity | integer | Yes |
items[].serviceId | string | null (uuid) | Yes |
items[].unitPrice | integer | Yes |
method | string | null | Yes |
organizationId | string (uuid) | Yes |
paidAt | string (date-time) | Yes |
payerEmail | string | null (email) | Yes |
payerName | string | null | Yes |
reference | string | null | Yes |
status | string | Yes |
updatedAt | string (date-time) | Yes |
updatedBy | string (uuid) | Yes |
Example
curl -X POST "https://api.firmado.app/v1/manual-payments" \
-H "X-Api-Key: fmd_..." \
-H "Content-Type: application/json" \
-d '{
"currency": "USD",
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"description": "…"
}'const res = await fetch("https://api.firmado.app/v1/manual-payments", {
method: "POST",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"currency": "USD",
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"description": "…"
}),
})
const data = await res.json()import requests
res = requests.post(
"https://api.firmado.app/v1/manual-payments",
headers={"X-Api-Key": "fmd_..."},
json={
"currency": "USD",
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"description": "…",
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/manual-payments");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_...", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"currency": "USD",
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"description": "…"
}
JSON,
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/manual-payments")
req = Net::HTTP::Post.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"currency": "USD",
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"description": "…"
}
JSON
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)body := strings.NewReader(`{
"currency": "USD",
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"description": "…"
}`)
req, _ := http.NewRequest("POST", "https://api.firmado.app/v1/manual-payments", body)
req.Header.Set("X-Api-Key", "fmd_...")
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/manual-payments"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"currency": "USD",
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"description": "…"
}
"""))
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("POST"), "https://api.firmado.app/v1/manual-payments");
request.Content = new StringContent(""""
{
"currency": "USD",
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"description": "…"
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Response (201), with sample values:
{
"amount": 1,
"channel": "…",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"createdAt": "2026-11-21T14:00:00.000Z",
"createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"currency": "USD",
"description": "…",
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"items": [
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"name": "Ana Lima",
"discount": {},
"quantity": 1,
"serviceId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"unitPrice": 1,
"description": null
}
],
"method": "…",
"organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"paidAt": "2026-11-21T14:00:00.000Z",
"payerEmail": "[email protected]",
"payerName": "Ana Lima",
"reference": "…",
"status": "…",
"updatedAt": "2026-11-21T14:00:00.000Z",
"updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}DELETE/v1/manual-payments/{id}
Deletes a sale made outside Firmado.
DeleteOn success: 204.Permission: Delete.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Example
curl -X DELETE "https://api.firmado.app/v1/manual-payments/{id}" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/manual-payments/{id}", {
method: "DELETE",
headers: { "X-Api-Key": "fmd_..." },
})
if (!res.ok) throw new Error(await res.text())import requests
res = requests.delete(
"https://api.firmado.app/v1/manual-payments/{id}",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()<?php
$ch = curl_init("https://api.firmado.app/v1/manual-payments/{id}");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_..."],
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/manual-payments/{id}")
req = Net::HTTP::Delete.new(uri)
req["X-Api-Key"] = "fmd_..."
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }req, _ := http.NewRequest("DELETE", "https://api.firmado.app/v1/manual-payments/{id}", nil)
req.Header.Set("X-Api-Key", "fmd_...")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/manual-payments/{id}"))
.header("X-Api-Key", "fmd_...")
.method("DELETE", HttpRequest.BodyPublishers.noBody())
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("DELETE"), "https://api.firmado.app/v1/manual-payments/{id}");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();GET/v1/manual-payments/{id}
Returns a sale made outside Firmado.
Get oneOn success: 200.Permission: Read.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Response
19 fields
| Field | Type | Always there |
|---|---|---|
amount | integer | Yes |
channel | null in the examples | Yes |
companyId | null in the examples | Yes |
contactId | string (uuid) | Yes |
createdAt | string (date-time) | Yes |
createdBy | string (uuid) | Yes |
currency | string | Yes |
description | string | Yes |
id | string (uuid) | Yes |
items | array of any | Yes |
method | null in the examples | Yes |
organizationId | string (uuid) | Yes |
paidAt | string (date-time) | Yes |
payerEmail | null in the examples | Yes |
payerName | null in the examples | Yes |
reference | null in the examples | Yes |
status | string | Yes |
updatedAt | string (date-time) | Yes |
updatedBy | string (uuid) | Yes |
Example
curl -X GET "https://api.firmado.app/v1/manual-payments/{id}" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/manual-payments/{id}", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/manual-payments/{id}",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/manual-payments/{id}");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_..."],
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/manual-payments/{id}")
req = Net::HTTP::Get.new(uri)
req["X-Api-Key"] = "fmd_..."
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)req, _ := http.NewRequest("GET", "https://api.firmado.app/v1/manual-payments/{id}", nil)
req.Header.Set("X-Api-Key", "fmd_...")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/manual-payments/{id}"))
.header("X-Api-Key", "fmd_...")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://api.firmado.app/v1/manual-payments/{id}");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Response (200), with sample values:
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"companyId": null,
"description": "…",
"items": [],
"amount": 1,
"currency": "USD",
"status": "…",
"paidAt": "2026-11-21T14:00:00.000Z",
"method": null,
"payerName": null,
"payerEmail": null,
"channel": null,
"reference": null,
"createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"createdAt": "2026-11-21T14:00:00.000Z",
"updatedAt": "2026-11-21T14:00:00.000Z"
}PATCH/v1/manual-payments/{id}
Changes a sale made outside Firmado.
UpdateOn success: 200.Permission: Update.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Body
| Field | Type | Required | Notes |
|---|---|---|---|
contactId | string (uuid) | null | No | |
companyId | string (uuid) | null | No | |
description | string | null | No | |
items | array of object | No | max items 200 |
items[].id | string | No | min length 1 · max length 64 |
items[].serviceId | string (uuid) | null | No | |
items[].name | string | Yes | min length 1 · max length 200 |
items[].description | string | null | No | |
items[].quantity | number | No | min 0 · max 100000 · default 1 |
items[].unitPrice | integer | Yes | min 0 · max 10000000000000 |
items[].discount | object | null | No | |
amount | integer | null | No | |
currency | string | No | pattern ^[A-Z]{3}$ |
status | "paid" | "processing" | "refunded" | No | |
paidAt | string (date-time) | No | |
method | string | null | No | |
payerName | string | null | No | |
payerEmail | string (email) | null | "" | No | |
channel | string | null | No |
Response
26 fields
| Field | Type | Always there |
|---|---|---|
amount | integer | Yes |
channel | null in the examples | Yes |
companyId | string (uuid) | Yes |
contactId | null in the examples | Yes |
createdAt | string (date-time) | Yes |
createdBy | string (uuid) | Yes |
currency | string | Yes |
description | string | Yes |
id | string (uuid) | Yes |
items | array of object | Yes |
items[].description | null in the examples | Yes |
items[].discount | null in the examples | Yes |
items[].id | string (uuid) | Yes |
items[].name | string | Yes |
items[].quantity | integer | Yes |
items[].serviceId | null in the examples | Yes |
items[].unitPrice | integer | Yes |
method | null in the examples | Yes |
organizationId | string (uuid) | Yes |
paidAt | string (date-time) | Yes |
payerEmail | null in the examples | Yes |
payerName | null in the examples | Yes |
reference | null in the examples | Yes |
status | string | Yes |
updatedAt | string (date-time) | Yes |
updatedBy | string (uuid) | Yes |
Example
curl -X PATCH "https://api.firmado.app/v1/manual-payments/{id}" \
-H "X-Api-Key: fmd_..." \
-H "Content-Type: application/json" \
-d '{
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"description": "…",
"items": [
{
"name": "Ana Lima",
"unitPrice": 0,
"id": "…",
"serviceId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}
]
}'const res = await fetch("https://api.firmado.app/v1/manual-payments/{id}", {
method: "PATCH",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"description": "…",
"items": [
{
"name": "Ana Lima",
"unitPrice": 0,
"id": "…",
"serviceId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}
]
}),
})
const data = await res.json()import requests
res = requests.patch(
"https://api.firmado.app/v1/manual-payments/{id}",
headers={"X-Api-Key": "fmd_..."},
json={
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"description": "…",
"items": [
{
"name": "Ana Lima",
"unitPrice": 0,
"id": "…",
"serviceId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
},
],
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/manual-payments/{id}");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_...", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"description": "…",
"items": [
{
"name": "Ana Lima",
"unitPrice": 0,
"id": "…",
"serviceId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}
]
}
JSON,
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/manual-payments/{id}")
req = Net::HTTP::Patch.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"description": "…",
"items": [
{
"name": "Ana Lima",
"unitPrice": 0,
"id": "…",
"serviceId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}
]
}
JSON
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)body := strings.NewReader(`{
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"description": "…",
"items": [
{
"name": "Ana Lima",
"unitPrice": 0,
"id": "…",
"serviceId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}
]
}`)
req, _ := http.NewRequest("PATCH", "https://api.firmado.app/v1/manual-payments/{id}", body)
req.Header.Set("X-Api-Key", "fmd_...")
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/manual-payments/{id}"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("PATCH", HttpRequest.BodyPublishers.ofString("""
{
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"description": "…",
"items": [
{
"name": "Ana Lima",
"unitPrice": 0,
"id": "…",
"serviceId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}
]
}
"""))
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("PATCH"), "https://api.firmado.app/v1/manual-payments/{id}");
request.Content = new StringContent(""""
{
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"description": "…",
"items": [
{
"name": "Ana Lima",
"unitPrice": 0,
"id": "…",
"serviceId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}
]
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Response (200), with sample values:
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"contactId": null,
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"description": "…",
"items": [
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"name": "Ana Lima",
"discount": null,
"quantity": 1,
"serviceId": null,
"unitPrice": 1,
"description": null
}
],
"amount": 1,
"currency": "USD",
"status": "…",
"paidAt": "2026-11-21T14:00:00.000Z",
"method": null,
"payerName": null,
"payerEmail": null,
"channel": null,
"reference": null,
"createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"createdAt": "2026-11-21T14:00:00.000Z",
"updatedAt": "2026-11-21T14:00:00.000Z"
}DELETE/v1/manual-payments/reference/{reference}
Takes back a sale by its reference (returned, canceled).
Delete/reference/{reference}On success: 204.Permission: Delete.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
reference | string | Yes |
Example
curl -X DELETE "https://api.firmado.app/v1/manual-payments/reference/{reference}" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/manual-payments/reference/{reference}", {
method: "DELETE",
headers: { "X-Api-Key": "fmd_..." },
})
if (!res.ok) throw new Error(await res.text())import requests
res = requests.delete(
"https://api.firmado.app/v1/manual-payments/reference/{reference}",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()<?php
$ch = curl_init("https://api.firmado.app/v1/manual-payments/reference/{reference}");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_..."],
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/manual-payments/reference/{reference}")
req = Net::HTTP::Delete.new(uri)
req["X-Api-Key"] = "fmd_..."
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }req, _ := http.NewRequest("DELETE", "https://api.firmado.app/v1/manual-payments/reference/{reference}", nil)
req.Header.Set("X-Api-Key", "fmd_...")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/manual-payments/reference/{reference}"))
.header("X-Api-Key", "fmd_...")
.method("DELETE", HttpRequest.BodyPublishers.noBody())
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("DELETE"), "https://api.firmado.app/v1/manual-payments/reference/{reference}");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();GET/v1/manual-payments/reference/{reference}
Finds a sale by the sender’s own reference.
Read/reference/{reference}On success: 200.Permission: Read.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
reference | string | Yes |
Response
19 fields
| Field | Type | Always there |
|---|---|---|
amount | integer | Yes |
channel | string | Yes |
companyId | null in the examples | Yes |
contactId | string (uuid) | Yes |
createdAt | string (date-time) | Yes |
createdBy | string (uuid) | Yes |
currency | string | Yes |
description | string | Yes |
id | string (uuid) | Yes |
items | array of any | Yes |
method | null in the examples | Yes |
organizationId | string (uuid) | Yes |
paidAt | string (date-time) | Yes |
payerEmail | string (email) | Yes |
payerName | string | Yes |
reference | string | Yes |
status | string | Yes |
updatedAt | string (date-time) | Yes |
updatedBy | string (uuid) | Yes |
Example
curl -X GET "https://api.firmado.app/v1/manual-payments/reference/{reference}" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/manual-payments/reference/{reference}", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/manual-payments/reference/{reference}",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/manual-payments/reference/{reference}");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_..."],
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/manual-payments/reference/{reference}")
req = Net::HTTP::Get.new(uri)
req["X-Api-Key"] = "fmd_..."
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)req, _ := http.NewRequest("GET", "https://api.firmado.app/v1/manual-payments/reference/{reference}", nil)
req.Header.Set("X-Api-Key", "fmd_...")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/manual-payments/reference/{reference}"))
.header("X-Api-Key", "fmd_...")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://api.firmado.app/v1/manual-payments/reference/{reference}");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Response (200), with sample values:
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"companyId": null,
"description": "…",
"items": [],
"amount": 1,
"currency": "USD",
"status": "…",
"paidAt": "2026-11-21T14:00:00.000Z",
"method": null,
"payerName": "Ana Lima",
"payerEmail": "[email protected]",
"channel": "…",
"reference": "…",
"createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"createdAt": "2026-11-21T14:00:00.000Z",
"updatedAt": "2026-11-21T14:00:00.000Z"
}GET/v1/payments
Lists the Stripe payments received and the sales made outside Firmado.
ListOn success: 200.Permission: Read.
Query parameters
| Field | Type | Required | Notes |
|---|---|---|---|
page | integer | No | min 1 · default 1 |
pageSize | integer | No | min 1 · max 50 · default 50 |
q | string | No | min length 1 · max length 200 |
status | "open" | "processing" | "paid" | "failed" | "expired" | "refunded" | No | |
source | "deal" | "appointment" | "invoice" | "file" | No | |
contactId | string (uuid) | No | |
createdFrom | string (date-time) | No | |
createdBefore | string (date-time) | No |
Response
36 fields
| Field | Type | Always there |
|---|---|---|
data | array of object | Yes |
data[].amount | integer | Yes |
data[].applicationFee | integer | Yes |
data[].appointment | object | null | Yes |
data[].appointment.id | string (uuid) | Yes |
data[].appointment.startsAt | string (date-time) | Yes |
data[].appointment.title | string | Yes |
data[].contact | object | null | Yes |
data[].contact.id | string (uuid) | Yes |
data[].contact.name | string | Yes |
data[].createdAt | string (date-time) | Yes |
data[].currency | string | Yes |
data[].deal | object | null | Yes |
data[].deal.id | string (uuid) | Yes |
data[].deal.reference | null in the examples | Yes |
data[].deal.title | string | Yes |
data[].file | object | null | Yes |
data[].file.id | string (uuid) | Yes |
data[].file.title | string | Yes |
data[].id | string (uuid) | Yes |
data[].invoice | object | null | Yes |
data[].invoice.id | string (uuid) | Yes |
data[].invoice.number | string | Yes |
data[].paidAt | string (date-time) | Yes |
data[].payerEmail | string (email) | Yes |
data[].payerName | string | Yes |
data[].refundReason | string | null | Yes |
data[].refundedAt | string | null (date-time) | Yes |
data[].source | string | Yes |
data[].status | string | Yes |
page | integer | Yes |
pageSize | integer | Yes |
paidTotals | array of object | Yes |
paidTotals[].amount | integer | Yes |
paidTotals[].currency | string | Yes |
total | integer | Yes |
Example
curl -X GET "https://api.firmado.app/v1/payments" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/payments", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/payments",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/payments");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_..."],
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/payments")
req = Net::HTTP::Get.new(uri)
req["X-Api-Key"] = "fmd_..."
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)req, _ := http.NewRequest("GET", "https://api.firmado.app/v1/payments", nil)
req.Header.Set("X-Api-Key", "fmd_...")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/payments"))
.header("X-Api-Key", "fmd_...")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://api.firmado.app/v1/payments");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Response (200), with sample values:
{
"data": [
{
"amount": 1,
"applicationFee": 1,
"appointment": {},
"contact": {},
"createdAt": "2026-11-21T14:00:00.000Z",
"currency": "USD",
"deal": {},
"file": {},
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"invoice": {},
"paidAt": "2026-11-21T14:00:00.000Z",
"payerEmail": "[email protected]",
"payerName": "Ana Lima",
"refundReason": "…",
"refundedAt": "2026-11-21T14:00:00.000Z",
"source": "…",
"status": "…"
}
],
"page": 1,
"pageSize": 1,
"paidTotals": [
{
"amount": 1,
"currency": "USD"
}
],
"total": 1
}POST/v1/payments/{id}/refund
Refunds a Stripe payment in full (administrators).
Update/{id}/refundOn success: 200.Permission: Update.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Body
| Field | Type | Required | Notes |
|---|---|---|---|
reason | string | null | No |
Response
19 fields
| Field | Type | Always there |
|---|---|---|
amount | integer | Yes |
applicationFee | integer | Yes |
appointment | null in the examples | Yes |
contact | null in the examples | Yes |
createdAt | string (date-time) | Yes |
currency | string | Yes |
deal | null in the examples | Yes |
file | null in the examples | Yes |
id | string (uuid) | Yes |
invoice | object | Yes |
invoice.id | string (uuid) | Yes |
invoice.number | string | Yes |
paidAt | string (date-time) | Yes |
payerEmail | string (email) | Yes |
payerName | string | Yes |
refundReason | string | Yes |
refundedAt | string (date-time) | Yes |
source | string | Yes |
status | string | Yes |
Example
curl -X POST "https://api.firmado.app/v1/payments/{id}/refund" \
-H "X-Api-Key: fmd_..." \
-H "Content-Type: application/json" \
-d '{
"reason": "…"
}'const res = await fetch("https://api.firmado.app/v1/payments/{id}/refund", {
method: "POST",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"reason": "…"
}),
})
const data = await res.json()import requests
res = requests.post(
"https://api.firmado.app/v1/payments/{id}/refund",
headers={"X-Api-Key": "fmd_..."},
json={
"reason": "…",
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/payments/{id}/refund");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_...", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"reason": "…"
}
JSON,
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/payments/{id}/refund")
req = Net::HTTP::Post.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"reason": "…"
}
JSON
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)body := strings.NewReader(`{
"reason": "…"
}`)
req, _ := http.NewRequest("POST", "https://api.firmado.app/v1/payments/{id}/refund", body)
req.Header.Set("X-Api-Key", "fmd_...")
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/payments/{id}/refund"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"reason": "…"
}
"""))
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("POST"), "https://api.firmado.app/v1/payments/{id}/refund");
request.Content = new StringContent(""""
{
"reason": "…"
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Response (200), with sample values:
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"source": "…",
"status": "…",
"amount": 1,
"currency": "USD",
"applicationFee": 1,
"payerName": "Ana Lima",
"payerEmail": "[email protected]",
"paidAt": "2026-11-21T14:00:00.000Z",
"refundedAt": "2026-11-21T14:00:00.000Z",
"refundReason": "…",
"createdAt": "2026-11-21T14:00:00.000Z",
"contact": null,
"deal": null,
"appointment": null,
"invoice": {
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"number": "…"
},
"file": null
}Webhook events
Changes of this feature that webhooks can send.
manual_payment.createdCreatemanual_payment.updatedUpdatemanual_payment.deletedDelete