transactions

Validate an offer without creating an invoice or charging

Dry-runs offer validation: checks product IDs, quantities, pricing, taxes, shipping, and coupon data. Does not create an invoice or charge a card. The contact's shipping address will be updated if provided.

post/transaction/validateOffer

Request body

contact_idinteger required

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

send_invoice'send' | 'draft' required

What type of request payment do we want, draft or email

chargeNow'chargeNow' | 'chargeLog'

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

Offer is valid

Changes

No recorded changes to this endpoint across all 1 revision of this API.