Skip to main content
Create a new transaction in the payment platform. The unified Transaction model supports creating payments, refunds, credit notes, and adjustments.

Request Body

FieldTypeRequiredDescription
typestringYesTransaction type: payment, refund, credit_note, adjustment
contact_idstringYesReference to the Contact
currency_idstringYesISO 4217 currency code
amountnumberYesTransaction amount (always positive)
invoice_idstringNo*Reference to associated Invoice
order_idstringNoReference to associated Order
subscription_idstringNoReference to Subscription (for recurring payments)
payment_method_typestringNoPayment method (for payments): card, bank_transfer, paypal, etc.
descriptionstringNoHuman-readable description
original_transaction_idstringNo*For refunds, the original payment transaction ID
reasonstringNoReason code for refunds/credits
metadataobjectNoAdditional platform-specific data
*Required fields vary by transaction type:
  • Payment: invoice_id or order_id typically required
  • Refund: original_transaction_id required
  • Credit Note: invoice_id or contact_id required

Transaction Types

TypeDescriptionRequired Fields
paymentRecord a contact paymentcontact_id, amount, invoice_id or order_id
refundRefund a previous paymentamount, original_transaction_id
credit_noteApply credit to contact accountcontact_id, amount
adjustmentManual balance adjustmentcontact_id, amount, description
See Transaction Overview for complete field details.