Skip to main content

swoogo_get_transaction

Retrieve a single transaction by ID.

Parameters

ParameterTypeRequiredDescription
transaction_idintegerYesTransaction ID
fieldsstringNoComma-separated fields to return
expandstringNoInclude related objects (paymentGateway, registrant)

swoogo_create_transaction

Record an offline payment or refund for a registrant.

Parameters

ParameterTypeRequiredDescription
event_idintegerYesEvent ID
registrant_idintegerYesRegistrant ID
typestringYesTransaction type (see below)
amountnumberYesTransaction amount
datetimestringNoTransaction date-time (ISO 8601)
statusstringNoconfirmed, failed, pending, or duplicate
notesstringNoNotes about the transaction

Transaction types

Payments: offline_credit_card_payment, wire_transfer_payment, check_payment, cash_payment, past_event_credit_payment, offline_google_wallet_payment, offline_paypal_payment, other_payment Refunds: offline_credit_card_refund, wire_transfer_refund, check_refund, cash_refund, offline_google_wallet_refund, offline_paypal_refund, other_refund

Example prompts

  • “Record a $500 check payment for registrant 789”
  • “Add a wire transfer refund of $100 for registrant 456”