Visit our AGI section at:
AGI and Spot
Once the Client and/or PaymentMethod records have been created they may be used with our AGI
messaging facilities (DSI, POST or web services). The same client and payment information is also
available in our Virtual Terminal web application. When a client or payment token is used in a message,
it is essentially replaced with the data it represents. Also, the pg_transaction_type
submitted may be
modified to match the payment token. The table below shows the differences in messages using the
tokens.
NORMAL MESSAGE
pg_merchant_id=merchant_id
pg_password=processing password
pg_transaction_type=20
pg_total_amount=15.20
ecom_billto_postal_name_first=John
ecom_billto_postal_name_last=Smith
ecom_billto_postal_street_line1=123 Any Street
ecom_billto_postal_city=Hometown
ecom_billto_postal_stateprov=TX
ecom_billto_postal_postalcode=75013
ecom_payment_check_account_type=C
ecom_payment_check_trn=021000021
ecom_payment_check_account=987654321
endofdata
This is a normal message with no tokens.
|
PAYMENT TOKEN MESSAGE
pg_merchant_id=merchant_id
pg_password=processing_password
pg_transaction_type=20
pg_total_amount=15.20
ecom_billto_postal_name_first=John
ecom_billto_postal_name_last=Smith
ecom_billto_postal_street_line1=123 Any Street
ecom_billto_postal_city=Hometown
ecom_billto_postal_stateprov=TX
ecom_billto_postal_postalcode75013
pg_payment_method_id=541321
endofdata
This is a message using the payment token instead of the fields specifying the
sensitive eCheck (or CC) account information directly.
|
CLIENT TOKEN MESSAGE
pg_merchant_id=merchant_id
pg_password=processing_password
pg_transaction_type=20
pg_total_amount=15.20
pg_client_id=91332
endofdata
This message uses a client token instead of any client or payment information.
It will use the default PaymentMethodID for the client.
|
CLIENT TOKEN MESSAGE W/PAYMENT TOKEN
pg_merchant_id=merchant_id
pg_password=processing_password
pg_transaction_type=20
pg_total_amount=15.20
pg_client_id=91332
pg_payment_method_id=541321
endofdata
This message uses client and payment tokens. It is useful for creating a
transaction for a client using one of their non-default payment methods.
|