latestSwagger 2.02026-08-109034173.2 KB

edcd035d71f5

transactions

This will create a new Transaction

This will attribute a payment to an Invoice. Please note that this request requires valid parameters for all associated members of the Transaction or the request will fail. If you have doubled-checked all parameters and the request is still failing, check that the payload JSON format is correct by using <a href="http://jsonlint.com/">JSONLint</a>. If credit card and billing information already exist for this contact, you may omit <b>billing_address</b> and <b>payer</b> from the request.

post/transaction/payInvoice

Request body

contact_idinteger required

Create new Transaction for this Object instance (Contact ID).

chargeNow'chargeNow' | 'chargeLog' required

Charge Transaction now or or just log a Transaction.

trans_dateinteger

Timestamp (in milliseconds since midnight 1/1/1970) of the Transaction.

invoice_templateinteger required

Invoice ID to use for this Transaction.

gateway_idinteger required

Gateway ID to use for this Transaction.

cc_idinteger

Credit Card ID to use for this Transaction. This can be used instead of Payer.

Example request

{
  "invoice_template": 1
}

Response

Successfully created transaction

codeinteger required
dataobject required
account_idinteger required