Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Records a transaction against a reservation AFTER payment has been taken through a gateway. This will NOT charge the card and will only create a transaction in the Softrip system.

Input

  • Login - string - The login for the API user being used

  • Password - string - The password for the API user being used

  • ResNumber - integer - The ResNumber that the transaction should be recorded against

  • ContactID - integer - The ContactID that the transaction should be recorded against (must be a Contact within the Reservation)

  • CType - string - The Card Type of the card being charged (2-letter code i.e. VI,MC,AX)

  • CHolder - string - The Card Holder's Name for the card that was charged

  • Amount - decimal - The payment amount that was charged on the card

  • TokenData - string - The reference number/token returned from the payment gateway (to be used for reference transactions like refunds or second billing, etc.)

  • AuthCode - string - The authorization code from the payment gateway

Output

...

ResNumber - The ResNumber that the transaction was recorded against

...

Amount - The amount that the transaction was recorded for

...

TokenData - The reference number/token that was recorded

...

Please contact Softrip for details on how to use this API method.