1. Payments
gigstack API
  • Welcome to gigstack API
  • gigstack Connect API Guide
  • Migrar de API v1 a v2 de gigstack
  • Clients
    • Clients API Guide
    • List clients
      GET
    • Get client
      GET
    • Update client
      PUT
    • Create client
      POST
    • Validate client fiscal information
      POST
    • Get client customer portal access token
      POST
    • Stamp pending receipts
      POST
    • Delete client
      DELETE
    • Search clients
      GET
    • Upload CSF PDF to create or update client
      POST
    • Upload support document
      POST
    • List support documents
      GET
    • Health check
      GET
  • Services
    • Services API Guide
    • List services
    • Get service
    • Update service
    • Create service
    • Delete service
    • Health check
  • Invoices
    • Invoices API Guide
    • Income
      • List income invoices
      • Create income invoice
      • Get income invoice
    • Egress
      • List egress invoices
      • Create egress invoice
      • Get egress invoice
    • Drafts
      • Create draft invoice (pre-factura)
      • Stamp draft invoice (finalize)
      • Generate draft preview PDF (pre-factura)
      • Delete draft invoice
      • Update draft invoice
      • Get draft invoice
      • List draft invoices
    • List CFDI errors
    • List payment complement invoices
    • Get payment complement invoice
    • Get invoice files
    • Upload support document
    • List support documents
    • Cancel invoice
    • Search invoices
    • List SAT invoices
    • Get a SAT invoice
    • Retry XML download
    • Generate PDF for a received SAT invoice
    • Create payment complement (complemento de pago)
    • Resend invoice email
    • Get invoice
    • Health check
    • Trigger end-of-month global invoicing
    • Connect FIEL credentials from a PFX file
    • Update bulk-download sync period
  • Payments
    • Payments API Guide
    • List payments
      GET
    • Get payment
      GET
    • Request payment
      POST
    • Register payment
      POST
    • Mark payment as paid
      POST
    • Refund payment
      POST
    • Cancel payment
      DELETE
    • Search payments
      GET
    • Update payment
      PUT
    • Upload support document
      POST
    • List support documents
      GET
    • Health check
      GET
  • Receipts
    • Receipts API Guide
    • List receipts
    • Get receipt
    • Create receipt
    • Stamp receipt
    • Cancel receipt
    • Search receipts
    • Health check
  • Teams
    • Teams API Guide
    • List teams
    • Get team
    • Get team integrations (not implemented)
    • Get team series
    • Get team onboarding URL
    • Update team
    • Update team series
    • Update team settings
    • Create team
    • Add team member
    • Remove team member
    • Create team series
    • Delete team
    • Upload SAT CSD certificates
    • Sign manifest document
    • Health check
    • Create a portal access token
  • Users
    • Users API Guide
    • List users
    • Get user
    • Update user
    • Create user
    • Reset user password
    • Delete user
    • Reset user password
    • Generate login link
    • Health check
  • Catalogs
    • Tax Regimes Catalog (Régimen Fiscal)
    • Payment Forms | Formas de pago
    • CFDI Usage Catalog (Uso CFDI)
    • Payment Methods Catalog (Método de Pago)
    • Months and Bimesters Catalog (Meses y Bimestres)
    • Invoice Relationships Catalog (Relación entre Facturas)
    • Search SAT product keys
    • Search SAT unit keys
    • Health check
  • Webhooks
    • Webhooks
    • List webhooks
    • Create webhook
    • Get webhook
    • Update webhook
    • Delete webhook
    • Health check
  • Retentions
    • Retentions
    • List retentions
    • Create retention
    • Get retention
    • Cancel retention
    • Get retention files
  • Descarga Masiva SAT
    • Descarga Masiva
    • Check activation status
    • Activate Descarga Masiva SAT
    • Deactivate Descarga Masiva SAT
    • Upload FIEL credentials
    • Register business with SAT (manual)
    • Get schedule configuration
    • Save schedule configuration
    • Get download request history
    • Create bulk download request
    • Check download request status
    • Download XML package
    • Get single invoice from SAT
    • Debug registration status
    • Enable SAT sync
    • Get SAT history sync progress
    • Preview a range of SAT history before paying for it
    • List recent preview and import jobs
    • Get one job with per-window detail
    • Stop a running job
    • Download XMLs for chosen CFDIs
  • Auth
    • Headless signup (API-only path)
    • Health check
  • SAT Lists
    • List SAT lists and sync status
    • Check an RFC against the SAT lists
    • Consult the SAT "Opinión del Cumplimiento" (32-D) for an RFC
  • Documents
    • List documents
    • Create document
    • Get document
    • Update document
    • Delete document
    • Analyze document with AI
    • Link document to an entity
    • Unlink document from an entity
  • Apidog connectivity test
    GET
  • Schemas
    • Schemas
      • ApiResponse
      • Category
      • Pet
      • Tag
      • Order
      • StandardizedSuccessResponse
      • StandardizedErrorResponse
      • ApiErrorCode
    • RequestBodies
      • UserArray
    • SatInvoice
    • OrderDirection
    • DateRangeFilter
    • ListQueryParams
    • PaginationMeta
    • ApiPublicProductKey
    • Client
    • ApiPublicUnitKey
    • ApiPublicClient
    • ApiPublicService
    • Service
    • PendingReceiptsSummary
    • ClientInput
    • CfdiError
    • ServiceInput
    • Invoice
    • DraftInvoiceInput
    • DraftInvoiceUpdateInput
    • DraftInvoiceOutput
    • InvoiceIncomeInput
    • PaymentComplementRelatedDocument
    • InvoiceEgressInput
    • PaymentComplementPayment
    • PaymentItem
    • PaymentComplementInput
    • PaymentAllowedMethod
    • InvoiceInput
    • ApiPublicPaymentProcessorDetails
    • Payment
    • ApiPublicPayment
    • PaymentInput
    • RequestPaymentInput
    • RegisterPaymentInput
    • RefundPaymentInput
    • InvoiceConfigInput
    • MarkPaymentAsPaidInput
    • ApiPublicUser
    • UpdatePaymentInput
    • ApiPublicIncomeInvoice
    • ApiPublicWebhook
    • ApiPublicTeam
    • Team
    • WebhookInput
    • WebhookUpdateInput
    • TeamInput
    • User
    • TeamSettingsInput
    • TeamSettings
    • SeriesInput
    • Series
    • UserInput
    • ApiPublicSearch
    • ApiPublicThirdParty
    • ApiPublicInvoiceConfig
    • ReceiptInput
    • ApiPublicRefund
    • DocumentTypeEnum
    • ApiPublicAutomations
    • DocumentComplianceStatusEnum
    • TeamTaxDefault
    • DocumentLinkEntityTypeEnum
    • BadRequestError
    • DocumentInput
    • ClientAddress
    • DocumentUpdateInput
    • SatListRfcCheck
    • DocumentLinkInput
    • ApiPublicDocument
    • TaxElement
    • PaymentMethodEnum
    • PaymentFormEnum
    • TaxSchema
    • AutomationTypeEnum
    • SatListDefinition
    • StandardSuccessResponse
    • SATDocument
    • StandardErrorResponse
    • UploadSupportDocumentInput
    • HealthResponse
    • CfdiErrorResponse
    • CreditLimitResponse
    • ListResponse
    • SearchResponse
    • ErrorResponse
    • ValidationErrorResponse
    • UnauthorizedError
    • NotFoundError
    • SatImportJobSummary
    • InternalServerError
    • LegacyErrorResponse
    • SatOpinion32dCheck
    • ItemSchema
  1. Payments

Mark payment as paid

POST
https://api.gigstack.io/v2/payments/{id}/paid
Mark a payment as paid with the specified payment form.
gigstack Connect: Mark other teams' payments as paid using the team parameter.

Required Information#

payment_form (required): SAT-compliant payment form code (01–31, 99)
date (optional): when the payment was received, in Unix epoch milliseconds
(13 digits). The handler passes the value straight to Luxon.fromMillis() and
compares it against Luxon.now().toMillis(); a seconds-based timestamp resolves to
1970 and is silently accepted. Defaults to now. A future date returns 400.
send_email / ignore_emails (optional): ignore_emails takes precedence —
the handler resolves ignore_emails ?? (send_email === false), so ignore_emails: true
suppresses notifications even when send_email: true.
amount_received (optional): cumulative amount received so far, in the payment's
currency. Omit it, or send the full payment amount, to mark the payment succeeded
(unchanged default behavior). Send less than the full amount to record a partial
top-up: the payment is set to partially_paid instead, triggering a partial payment
complement on the related PPD invoice. Requires the team's
automatePartialPaymentComplements default to be on and a payment_complement
automation already present on the payment. Sending more than the payment amount
returns 400.

Request

Authorization
API Key
Add parameter in header
Authorization
Example:
Authorization: ********************
or
Path Params

Query Params

Body Params application/jsonRequired

Examples

Responses

🟢200OK
application/json
Payment marked as paid successfully. When amount_received was less than the
payment amount, the returned payment has status: partially_paid instead of
succeeded.
Bodyapplication/json

🟠400Bad Request
🟠401Unauthorized
🟠404Record Not Found
🔴500Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api.gigstack.io/v2/payments/payment_1234567890/paid?team=undefined' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
    "payment_form": "03",
    "date": 1767225600000,
    "ignore_emails": false
}'
Response Response Example
200 - Example 1
{
    "success": true,
    "data": {},
    "message": "Operation completed successfully",
    "timestamp": 1767225600000
}
Modified at 2026-08-28 15:52:58
Previous
Register payment
Next
Refund payment
Built with