Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.portal.io/llms.txt

Use this file to discover all available pages before exploring further.

This endpoint is used by the Portal.io Zapier integration. It fires when a payment’s status changes in your Portal.io account — for example, when a payment moves from Submitted to Paid, or from Paid to Refunded.

Endpoint

GET /zapier/trigger/payment

Headers

HeaderRequiredDescription
AcceptYesMust be application/json

Response

A 200 response returns the payment details including status, amount, client information, and associated proposal.

Response Fields

FieldTypeDescription
idintegerPayment ID.
numberintegerPayment request number.
descriptionstring or nullPayment description.
statusstringCurrent payment status (see payment statuses).
amountnumberPayment amount.
createdDatestring (ISO 8601)When the payment was created.
modifiedDatestring (ISO 8601)When the payment was last modified.
dueDatestring (ISO 8601)Payment due date.
initiatedPaymentDatestring or nullWhen the payment was initiated by the client.
paidDatestring or nullWhen the payment was marked as paid.
clientFirstNamestring or nullClient first name.
clientLastNamestring or nullClient last name.
clientNamestringFull client name (firstName lastName).
personIdintegerID of the client contact.
proposalIdinteger or nullAssociated proposal ID.
proposalNumberinteger or nullAssociated proposal number.
paidViastring or nullPayment method or processor name (e.g. Stripe, Square).
isEstExpiredbooleanWhether the payment estimate has expired.
paymentProcessorTypestringPayment processor type.
proposalPaymentScheduleItemIdinteger or nullAssociated payment schedule item ID.

Payment Statuses

ValueDescription
UndefinedUnset/default status.
DraftPayment is being prepared, not yet sent.
SubmittedPayment request has been sent to client.
ViewedClient has viewed the payment request.
PaidPayment has been collected.
DeclinedPayment was declined.
RefundedPayment has been refunded.
PendingPayment is pending processing.
RequiresActionPayment requires additional action (e.g. 3D Secure).
VerifyingPayment is being verified.
CancelledPayment has been cancelled.
{
  "id": 3042,
  "number": 1,
  "description": "50% deposit",
  "status": "Paid",
  "amount": 3225.00,
  "createdDate": "2026-04-06T00:00:00Z",
  "modifiedDate": "2026-04-07T14:30:00Z",
  "dueDate": "2026-04-20T00:00:00Z",
  "initiatedPaymentDate": "2026-04-07T14:25:00Z",
  "paidDate": "2026-04-07T14:30:00Z",
  "clientFirstName": "Jane",
  "clientLastName": "Smith",
  "clientName": "Jane Smith",
  "personId": 88,
  "proposalId": 4123,
  "proposalNumber": 1001,
  "paidVia": "Stripe",
  "isEstExpired": false,
  "paymentProcessorType": "Stripe",
  "proposalPaymentScheduleItemId": 501
}
This endpoint is designed for the Portal.io Zapier integration. If you are building a direct integration, consider using the webhook subscription endpoints instead.