swoogo_get_transaction
Retrieve a single transaction by ID.Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
transaction_id | integer | Yes | Transaction ID |
fields | string | No | Comma-separated fields to return |
expand | string | No | Include related objects (paymentGateway, registrant) |
swoogo_create_transaction
Record an offline payment or refund for a registrant.Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
event_id | integer | Yes | Event ID |
registrant_id | integer | Yes | Registrant ID |
type | string | Yes | Transaction type (see below) |
amount | number | Yes | Transaction amount |
datetime | string | No | Transaction date-time (ISO 8601) |
status | string | No | confirmed, failed, pending, or duplicate |
notes | string | No | Notes 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”