list payment requests
Authorized finance read; integer minor units and safe projections only.
list payment requests
GET /api/v1/payment-requests
Authorized finance read; integer minor units and safe projections only.
API version: 1.0.0; source revision: development; SHA-256: 48cf3a12f6c45a2618345f604165f68f7efcee3648a8b923ccd02ef716aa8a9e.
Group: Finance.
Required permissions: ["payments:read"].
Authentication: Authorization: Bearer <user-owned-api-key>.
Parameters
query: tagIds
Optional. Finance tagIds.
{
"anyOf": [
{
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
{
"items": {
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"maxItems": 100,
"minItems": 1,
"type": "array"
}
]
}query: bookingId
Optional. Finance bookingId.
{
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
}query: from
Optional. Finance from.
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
}query: to
Optional. Finance to.
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
}query: status
Optional. Finance status.
{
"enum": [
"draft",
"pending",
"sent",
"partially_fulfilled",
"fulfilled",
"canceled",
"expired"
],
"type": "string"
}query: limit
Optional. Finance limit.
{
"default": 50,
"maximum": 100,
"minimum": 1,
"type": "integer"
}query: cursor
Optional. Finance cursor.
{
"maxLength": 2048,
"type": "string"
}Request examples
[
{
"name": "read",
"request": {
"query": {
"bookingId": "00000000-0000-4000-8000-000000000226"
}
}
}
]curl
curl --request GET \
--header 'Authorization: Bearer <user-owned-api-key>' \
"$TATTOOL_API_URL/api/v1/payment-requests?bookingId=00000000-0000-4000-8000-000000000226"Responses
200
Authorized finance result. Media type: application/json
datadata[].bookingIddata[].capabilitiesdata[].capabilities.canCanceldata[].createdAtdata[].currencydata[].deliveryReadinessdata[].expiresAtdata[].iddata[].purposedata[].receivedAmountMinordata[].refundedAmountMinordata[].remainingAmountMinordata[].requestedAmountMinordata[].statusdata[].versionnextCursor
Schema and constraints:
{
"properties": {
"data": {
"description": "Finance data.",
"items": {
"additionalProperties": false,
"properties": {
"bookingId": {
"anyOf": [
{
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
{
"type": "null"
}
],
"description": "Finance bookingId."
},
"capabilities": {
"additionalProperties": false,
"description": "Finance capabilities.",
"properties": {
"canCancel": {
"description": "Finance canCancel.",
"type": "boolean"
}
},
"required": [
"canCancel"
],
"type": "object"
},
"createdAt": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
],
"description": "Finance createdAt."
},
"currency": {
"description": "Uppercase currency code; currencies are never combined.",
"pattern": "^[A-Z]{3}$",
"type": "string"
},
"deliveryReadiness": {
"description": "Finance deliveryReadiness.",
"enum": [
"ready",
"missing_client",
"missing_contact",
"closed"
],
"type": "string"
},
"expiresAt": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
],
"description": "Finance expiresAt."
},
"id": {
"description": "Finance id.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"purpose": {
"description": "Finance purpose.",
"enum": [
"DEPOSIT",
"SERVICE_PAYMENT"
],
"type": "string"
},
"receivedAmountMinor": {
"description": "Integer currency minor units.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"refundedAmountMinor": {
"description": "Integer currency minor units.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"remainingAmountMinor": {
"description": "Integer currency minor units.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"requestedAmountMinor": {
"description": "Integer currency minor units.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"status": {
"description": "Finance status.",
"enum": [
"draft",
"pending",
"sent",
"partially_fulfilled",
"fulfilled",
"canceled",
"expired"
],
"type": "string"
},
"version": {
"description": "Finance version.",
"maxLength": 256,
"minLength": 1,
"type": "string"
}
},
"required": [
"id",
"bookingId",
"currency",
"purpose",
"requestedAmountMinor",
"receivedAmountMinor",
"refundedAmountMinor",
"remainingAmountMinor",
"status",
"createdAt",
"expiresAt",
"version",
"deliveryReadiness",
"capabilities"
],
"type": "object"
},
"type": "array"
},
"nextCursor": {
"description": "Finance nextCursor.",
"type": [
"string",
"null"
]
}
},
"required": [
"data",
"nextCursor"
],
"type": "object"
}Synthetic example:
{
"data": [],
"nextCursor": null
}401
Authentication is required. Media type: application/json
errorerror.codeerror.fieldErrorserror.messageerror.operationIderror.reasonerror.retryableerror.retryAfterSeconds
Schema and constraints:
{
"properties": {
"error": {
"properties": {
"code": {
"description": "Stable safe failure code.",
"enum": [
"INVALID_INPUT",
"UNAUTHENTICATED",
"FORBIDDEN",
"NOT_FOUND",
"CONFLICT",
"RATE_LIMITED",
"CAPABILITY_UNAVAILABLE",
"PROVIDER_UNAVAILABLE"
],
"type": "string"
},
"fieldErrors": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"description": "Safe field-level validation details.",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"message": {
"description": "Fixed public failure message, without provider or private details.",
"type": "string"
},
"operationId": {
"description": "Original domain recovery operation ID when available.",
"type": "string"
},
"reason": {
"description": "Safe conflict or availability category; stale versions must not trigger an automatic overwrite.",
"enum": [
"STALE_VERSION",
"EDIT_SESSION_EXPIRED",
"IDEMPOTENCY_MISMATCH",
"DOMAIN_CONFLICT",
"SLOT_UNAVAILABLE",
"INCOMPLETE_AVAILABILITY",
"MISSING_OPENING_HOURS"
],
"type": "string"
},
"retryable": {
"description": "Whether the same logical request may safely resume; never permission for blind provider resubmission.",
"type": "boolean"
},
"retryAfterSeconds": {
"description": "Seconds before retry or reconciliation.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"code",
"message",
"retryable"
],
"type": "object"
}
},
"required": [
"error"
],
"type": "object"
}Synthetic example:
{
"error": {
"code": "UNAUTHENTICATED",
"message": "Authentication is required.",
"retryable": false
}
}403
Access denied. Media type: application/json
errorerror.codeerror.fieldErrorserror.messageerror.operationIderror.reasonerror.retryableerror.retryAfterSeconds
Schema and constraints:
{
"properties": {
"error": {
"properties": {
"code": {
"description": "Stable safe failure code.",
"enum": [
"INVALID_INPUT",
"UNAUTHENTICATED",
"FORBIDDEN",
"NOT_FOUND",
"CONFLICT",
"RATE_LIMITED",
"CAPABILITY_UNAVAILABLE",
"PROVIDER_UNAVAILABLE"
],
"type": "string"
},
"fieldErrors": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"description": "Safe field-level validation details.",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"message": {
"description": "Fixed public failure message, without provider or private details.",
"type": "string"
},
"operationId": {
"description": "Original domain recovery operation ID when available.",
"type": "string"
},
"reason": {
"description": "Safe conflict or availability category; stale versions must not trigger an automatic overwrite.",
"enum": [
"STALE_VERSION",
"EDIT_SESSION_EXPIRED",
"IDEMPOTENCY_MISMATCH",
"DOMAIN_CONFLICT",
"SLOT_UNAVAILABLE",
"INCOMPLETE_AVAILABILITY",
"MISSING_OPENING_HOURS"
],
"type": "string"
},
"retryable": {
"description": "Whether the same logical request may safely resume; never permission for blind provider resubmission.",
"type": "boolean"
},
"retryAfterSeconds": {
"description": "Seconds before retry or reconciliation.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"code",
"message",
"retryable"
],
"type": "object"
}
},
"required": [
"error"
],
"type": "object"
}Synthetic example:
{
"error": {
"code": "FORBIDDEN",
"message": "Access denied.",
"retryable": false
}
}404
Record not found. Media type: application/json
errorerror.codeerror.fieldErrorserror.messageerror.operationIderror.reasonerror.retryableerror.retryAfterSeconds
Schema and constraints:
{
"properties": {
"error": {
"properties": {
"code": {
"description": "Stable safe failure code.",
"enum": [
"INVALID_INPUT",
"UNAUTHENTICATED",
"FORBIDDEN",
"NOT_FOUND",
"CONFLICT",
"RATE_LIMITED",
"CAPABILITY_UNAVAILABLE",
"PROVIDER_UNAVAILABLE"
],
"type": "string"
},
"fieldErrors": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"description": "Safe field-level validation details.",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"message": {
"description": "Fixed public failure message, without provider or private details.",
"type": "string"
},
"operationId": {
"description": "Original domain recovery operation ID when available.",
"type": "string"
},
"reason": {
"description": "Safe conflict or availability category; stale versions must not trigger an automatic overwrite.",
"enum": [
"STALE_VERSION",
"EDIT_SESSION_EXPIRED",
"IDEMPOTENCY_MISMATCH",
"DOMAIN_CONFLICT",
"SLOT_UNAVAILABLE",
"INCOMPLETE_AVAILABILITY",
"MISSING_OPENING_HOURS"
],
"type": "string"
},
"retryable": {
"description": "Whether the same logical request may safely resume; never permission for blind provider resubmission.",
"type": "boolean"
},
"retryAfterSeconds": {
"description": "Seconds before retry or reconciliation.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"code",
"message",
"retryable"
],
"type": "object"
}
},
"required": [
"error"
],
"type": "object"
}Synthetic example:
{
"error": {
"code": "NOT_FOUND",
"message": "Record not found.",
"retryable": false
}
}409
The operation conflicts with the current state. Media type: application/json
errorerror.codeerror.fieldErrorserror.messageerror.operationIderror.reasonerror.retryableerror.retryAfterSeconds
Schema and constraints:
{
"properties": {
"error": {
"properties": {
"code": {
"description": "Stable safe failure code.",
"enum": [
"INVALID_INPUT",
"UNAUTHENTICATED",
"FORBIDDEN",
"NOT_FOUND",
"CONFLICT",
"RATE_LIMITED",
"CAPABILITY_UNAVAILABLE",
"PROVIDER_UNAVAILABLE"
],
"type": "string"
},
"fieldErrors": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"description": "Safe field-level validation details.",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"message": {
"description": "Fixed public failure message, without provider or private details.",
"type": "string"
},
"operationId": {
"description": "Original domain recovery operation ID when available.",
"type": "string"
},
"reason": {
"description": "Safe conflict or availability category; stale versions must not trigger an automatic overwrite.",
"enum": [
"STALE_VERSION",
"EDIT_SESSION_EXPIRED",
"IDEMPOTENCY_MISMATCH",
"DOMAIN_CONFLICT",
"SLOT_UNAVAILABLE",
"INCOMPLETE_AVAILABILITY",
"MISSING_OPENING_HOURS"
],
"type": "string"
},
"retryable": {
"description": "Whether the same logical request may safely resume; never permission for blind provider resubmission.",
"type": "boolean"
},
"retryAfterSeconds": {
"description": "Seconds before retry or reconciliation.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"code",
"message",
"retryable"
],
"type": "object"
}
},
"required": [
"error"
],
"type": "object"
}Synthetic example:
{
"error": {
"code": "CONFLICT",
"message": "The operation conflicts with the current state.",
"reason": "DOMAIN_CONFLICT",
"retryable": false
}
}422
Invalid operation input. Media type: application/json
errorerror.codeerror.fieldErrorserror.messageerror.operationIderror.reasonerror.retryableerror.retryAfterSeconds
Schema and constraints:
{
"properties": {
"error": {
"properties": {
"code": {
"description": "Stable safe failure code.",
"enum": [
"INVALID_INPUT",
"UNAUTHENTICATED",
"FORBIDDEN",
"NOT_FOUND",
"CONFLICT",
"RATE_LIMITED",
"CAPABILITY_UNAVAILABLE",
"PROVIDER_UNAVAILABLE"
],
"type": "string"
},
"fieldErrors": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"description": "Safe field-level validation details.",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"message": {
"description": "Fixed public failure message, without provider or private details.",
"type": "string"
},
"operationId": {
"description": "Original domain recovery operation ID when available.",
"type": "string"
},
"reason": {
"description": "Safe conflict or availability category; stale versions must not trigger an automatic overwrite.",
"enum": [
"STALE_VERSION",
"EDIT_SESSION_EXPIRED",
"IDEMPOTENCY_MISMATCH",
"DOMAIN_CONFLICT",
"SLOT_UNAVAILABLE",
"INCOMPLETE_AVAILABILITY",
"MISSING_OPENING_HOURS"
],
"type": "string"
},
"retryable": {
"description": "Whether the same logical request may safely resume; never permission for blind provider resubmission.",
"type": "boolean"
},
"retryAfterSeconds": {
"description": "Seconds before retry or reconciliation.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"code",
"message",
"retryable"
],
"type": "object"
}
},
"required": [
"error"
],
"type": "object"
}Synthetic example:
{
"error": {
"code": "INVALID_INPUT",
"message": "Invalid operation input.",
"retryable": false
}
}429
Request limit reached. Media type: application/json
errorerror.codeerror.fieldErrorserror.messageerror.operationIderror.reasonerror.retryableerror.retryAfterSeconds
Schema and constraints:
{
"properties": {
"error": {
"properties": {
"code": {
"description": "Stable safe failure code.",
"enum": [
"INVALID_INPUT",
"UNAUTHENTICATED",
"FORBIDDEN",
"NOT_FOUND",
"CONFLICT",
"RATE_LIMITED",
"CAPABILITY_UNAVAILABLE",
"PROVIDER_UNAVAILABLE"
],
"type": "string"
},
"fieldErrors": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"description": "Safe field-level validation details.",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"message": {
"description": "Fixed public failure message, without provider or private details.",
"type": "string"
},
"operationId": {
"description": "Original domain recovery operation ID when available.",
"type": "string"
},
"reason": {
"description": "Safe conflict or availability category; stale versions must not trigger an automatic overwrite.",
"enum": [
"STALE_VERSION",
"EDIT_SESSION_EXPIRED",
"IDEMPOTENCY_MISMATCH",
"DOMAIN_CONFLICT",
"SLOT_UNAVAILABLE",
"INCOMPLETE_AVAILABILITY",
"MISSING_OPENING_HOURS"
],
"type": "string"
},
"retryable": {
"description": "Whether the same logical request may safely resume; never permission for blind provider resubmission.",
"type": "boolean"
},
"retryAfterSeconds": {
"description": "Seconds before retry or reconciliation.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"code",
"message",
"retryable"
],
"type": "object"
}
},
"required": [
"error"
],
"type": "object"
}Synthetic example:
{
"error": {
"code": "RATE_LIMITED",
"message": "Request limit reached.",
"retryable": true,
"retryAfterSeconds": 60
}
}503
The provider is unavailable. Media type: application/json
errorerror.codeerror.fieldErrorserror.messageerror.operationIderror.reasonerror.retryableerror.retryAfterSeconds
Schema and constraints:
{
"properties": {
"error": {
"properties": {
"code": {
"description": "Stable safe failure code.",
"enum": [
"INVALID_INPUT",
"UNAUTHENTICATED",
"FORBIDDEN",
"NOT_FOUND",
"CONFLICT",
"RATE_LIMITED",
"CAPABILITY_UNAVAILABLE",
"PROVIDER_UNAVAILABLE"
],
"type": "string"
},
"fieldErrors": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"description": "Safe field-level validation details.",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"message": {
"description": "Fixed public failure message, without provider or private details.",
"type": "string"
},
"operationId": {
"description": "Original domain recovery operation ID when available.",
"type": "string"
},
"reason": {
"description": "Safe conflict or availability category; stale versions must not trigger an automatic overwrite.",
"enum": [
"STALE_VERSION",
"EDIT_SESSION_EXPIRED",
"IDEMPOTENCY_MISMATCH",
"DOMAIN_CONFLICT",
"SLOT_UNAVAILABLE",
"INCOMPLETE_AVAILABILITY",
"MISSING_OPENING_HOURS"
],
"type": "string"
},
"retryable": {
"description": "Whether the same logical request may safely resume; never permission for blind provider resubmission.",
"type": "boolean"
},
"retryAfterSeconds": {
"description": "Seconds before retry or reconciliation.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"code",
"message",
"retryable"
],
"type": "object"
}
},
"required": [
"error"
],
"type": "object"
}Synthetic example:
{
"error": {
"code": "PROVIDER_UNAVAILABLE",
"message": "The provider is unavailable.",
"retryable": false
}
}