Method

s2rxc-token-add

Description

This method will add a payment information to the tentative reservation with a JetPay token.

Parameters

Name Input Value Type Description
business_code Integer This should be the business code of the operation we want to associate this token with.
client_id Integer This is the client we want associated with this token that we are adding.
payment_type_id Integer Identifier of the credit card type / payment type. A list of possible values can be obtained with the rxc-paymentstypes-get method.
card_holder String The name of the card holder, as written on the card.
jetpay_token String An identifier corresponding to payment / credit card information stored on JetPay's servers.
jetpay_transaction_id String The transaction_id field returned by Jetpay with the token needs to be passed in.
reference_id Integer This is the reference associated with this token.
amount Big Decimal This is the amount this token is supposed to pay off.
add_task Integer This tells us if a task should be created or not when this token is added.
comments String This will contain any comments related to this token we are adding.
format enumeration (optional) Set this value to "xml" for XML raw formatted output, "xml-clean" for XML tidy formatted output or "json" for JSON formatted output. If not passed, "xml" is used as a default

XML Encoded Request

URL Encoded Request





Result