Home > Examples


Examples

Example 3Request: Create a Customer Token

customer_firstname=Jane

customer_lastname=Smith

bill_address1=123 Main Street

bill_city=Small Town

bill_state=ca

bill_zip=98765

bill_country=us

customer_phone=987-654-3210

customer_email=jsmith@example.com

ship_to_firstname=Jane

ship_to_lastname=Smith

ship_to_address1=123 Main Street

ship_to_city=Small Town

ship_to_state=CA

ship_to_zip=98765

ship_to_country=US

ship_to_company=Small Business

currency=USD

customer_cc_number=411111111111xxxx

customer_cc_expmo=01

customer_cc_expyr=20

card_type=001

merchant_defined_data1=defined data text 1

merchant_defined_data2=defined data text 2

merchant_defined_data3=defined data text 3

merchant_defined_data3=defined data text 4

merchant_secure_data1=secure data text 1

merchant_secure_data2=secure data text 2

merchant_secure_data3=secure data text 3

merchant_secure_data3=secure data text 4

merchant_id=mid1234

merchant_ref_number=ref9876

recurring_frequency=on-demand

ics_applications=ics_pay_subscription_create

Example 4Reply: Create a Customer Token

ics_rmsg=Request was processed successfully.

ics_rflag=SOK

ics_rcode=1

request_id=4889877812726625901540

pay_subscription_create_rmsg=Request was processed successfully.

pay_subscription_create_rcode=1

pay_subscription_create_rflag=SOK

pay_subscription_create_instrument_identifier_new=Y

pay_subscription_create_subscription_id=554FDB92B1DAD8F9E0539599D30A3100

pay_subscription_create_instrument_identifier_id=7040000000000181111

pay_subscription_create_instrument_identifier_status=Active

merchant_ref_number=ref9876

Example 5Request: Authorize and Create Customer Token

customer_firstname=Jane

customer_lastname=Smith

bill_address1=123 Main Street

bill_city=Small Town

bill_state=CA

bill_zip=98765

bill_country=US

customer_phone=987-654-3210

customer_email=jsmith@example.com

ship_to_firstname=Jane

ship_to_lastname=Smith

ship_to_address1=123 Main Street

ship_to_city=Small Town

ship_to_state=ca

ship_to_zip=98765

ship_to_country=us

currency=usd

customer_cc_number=411111111111xxxx

customer_cc_expmo=01

customer_cc_expyr=20

card_type=001

merchant_defined_data1=defined data text 1

merchant_defined_data2=defined data text 2

merchant_defined_data3=defined data text 3

merchant_defined_data4=defined data text 4

merchant_secure_data1=secure data text 1

merchant_secure_data2=secure data text 2

merchant_secure_data3=secure data text 3

merchant_secure_data4=secure data text 4

merchant_id=mid1234

merchant_ref_number=ref9876

recurring_frequency=on-demand

grand_total_amount=10.00

ics_applications=ics_auth,ics_pay_subscription_create

Example 6Reply: Authorize and Create a Customer Token

auth_auth_amount=10.00

auth_auth_avs=1

auth_auth_code=831000

auth_auth_response=00

auth_trans_ref_no=40368790XuwiGOmX

auth_rcode=1

auth_rflag=SOK

auth_rmsg=Request was processed successfully.

currency=usd

ics_rcode=1

ics_rflag=SOK

ics_rmsg=Request was processed successfully.

merchant_ref_number=ref9876

pay_subscription_create_instrument_identifier_id=7040000000000181111

pay_subscription_create_instrument_identifier_status=active

pay_subscription_create_instrument_identifier_new=Y

pay_subscription_create_rcode=1

pay_subscription_create_rflag=SOK

pay_subscription_create_rmsg=Request was processed successfully.

pay_subscription_create_subscription_id=554FDB92B1DAD8F9E0539599D30A3100

request_id=4733322354176707701545

Example 7Request: Create a COF Network Token

customer_firstname=Jane

customer_lastname=Smith

bill_address1=123 Main Street

bill_city=Small Town

bill_state=ca

bill_zip=98765

bill_country=us

customer_phone=987-654-3210

customer_email=jsmith@example.com

ship_to_firstname=Jane

ship_to_lastname=Smith

ship_to_address1=123 Main Street

ship_to_city=Small Town

ship_to_state=CA

ship_to_zip=98765

ship_to_country=US

ship_to_company=Small Business

currency=USD

customer_cc_number=411111111111xxxx

customer_cc_cv_number=999

customer_cc_expmo=07

customer_cc_expyr=2020

card_type=001

merchant_id=mid1234

merchant_ref_number=ref9876

recurring_frequency=on-demand

ics_applications=ics_pay_subscription_create

Example 8Reply: Create a COF Network Token

ics_rmsg=Request was processed successfully.

ics_rflag=SOK

ics_rcode=1

request_id=4889877812726625901540

pay_subscription_create_rmsg=Request was processed successfully.

pay_subscription_create_rcode=1

pay_subscription_create_rflag=SOK

pay_subscription_create_instrument_identifier_new=Y

pay_subscription_create_subscription_id=554FDB92B1DAD8F9E0539599D30A3100

pay_subscription_create_instrument_identifier_id=7040000000000181111

pay_subscription_create_instrument_identifier_status=Active

merchant_ref_number=ref9876

Example 9Request: Retrieve a Customer Token

merchant_id=mid1234

merchant_ref_number=ref123

subscription_id=554FDB92B1DAD8F9E0539599D30A3100

ics_applications=ics_pay_subscription_retrieve

Example 10Reply: Retrieve a Customer Token

ics_rcode=1

ics_rflag=SOK

ics_rmsg=Request was processed successfully.

merchant_ref_number=ref9876

pay_subscription_retrieve_latest_card_expmo=07

pay_subscription_retrieve_latest_card_expyr=2020

pay_subscription_retrieve_latest_card_suffix=1234

pay_subscription_retrieve_bill_address1=123 Main Street

pay_subscription_retrieve_bill_city=Small Town

pay_subscription_retrieve_bill_country=US

pay_subscription_retrieve_bill_state=CA

pay_subscription_retrieve_bill_zip=98765

pay_subscription_retrieve_card_type=003

pay_subscription_retrieve_currency=usd

pay_subscription_retrieve_customer_cc_expmo=02

pay_subscription_retrieve_customer_cc_expyr=2021

pay_subscription_retrieve_customer_cc_number=411111111111xxxx

pay_subscription_retrieve_customer_cc_issue_number=1

pay_subscription_retrieve_customer_cc_startmo=02

pay_subscription_retrieve_customer_cc_startyr=2016

pay_subscription_retrieve_customer_email=jsmith@example.com

pay_subscription_retrieve_customer_firstname=Jane

pay_subscription_retrieve_customer_lastname=Smith

pay_subscription_retrieve_customer_phone=987-654-3210

pay_subscription_retrieve_frequency=on-demand

pay_subscription_retrieve_instrument_identifier_id=7040000000000181111

pay_subscription_retrieve_instrument_identifier_status=ACTIVE

pay_subscription_retrieve_merchant_defined_data1=defined data text 1

pay_subscription_retrieve_merchant_defined_data2=defined data text 2

pay_subscription_retrieve_merchant_defined_data3=defined data text 3

pay_subscription_retrieve_merchant_defined_data4=defined data text 4

pay_subscription_retrieve_merchant_secure_data1=secure data text 1

pay_subscription_retrieve_merchant_secure_data2=secure data text 2

pay_subscription_retrieve_merchant_secure_data3=secure data text 3

pay_subscription_retrieve_merchant_secure_data4=secure data text 4

pay_subscription_retrieve_payment_method=credit card

pay_subscription_retrieve_rcode=1

pay_subscription_retrieve_ship_to_address1=123 Main Street

pay_subscription_retrieve_ship_to_city=Small Town

pay_subscription_retrieve_ship_to_company_name=TestCompany

pay_subscription_retrieve_ship_to_country=US

pay_subscription_retrieve_ship_to_firstname=Jane

pay_subscription_retrieve_ship_to_lastname=Smith

pay_subscription_retrieve_ship_to_state=CA

pay_subscription_retrieve_ship_to_zip=98765

pay_subscription_retrieve_status=CURRENT

pay_subscription_retrieve_subscription_id=554FDB92B1DAD8F9E0539599D30A3100

payment_account_reference=987654321234567890987654321234567

request_id=5011721988216895701540

 

Example 11Request: Update Merchant-Defined Data for a Customer Token

customer_firstname=Jane

customer_lastname=Smith

bill_address1=123 Main Street

bill_city=Small Town

bill_state=CA

bill_zip=98765

bill_country=US

customer_phone=987-654-3210

customer_email=jsmith@example.com

ship_to_firstname=Jane

ship_to_lastname=Smith

ship_to_address1=123 Main Street

ship_to_city=Small Town

ship_to_state=CA

ship_to_zip=98765

ship_to_country=US

ship_to_company=Small Business

currency=usd

customer_cc_number=411111111111xxxx

customer_cc_expmo=01

customer_cc_expyr=20

card_type=001

merchant_defined_data1=updated defined data text 1

merchant_defined_data2=updated defined data text 2

merchant_defined_data3=updated defined data text 3

merchant_defined_data4=updated defined data text 4

merchant_secure_data1=updated secure data text 1

merchant_secure_data2=updated secure data text 2

merchant_secure_data3=updated secure data text 3

merchant_secure_data4=updated secure data text 4

merchant_id=mid1234

merchant_ref_number=ref9876

subscription_id=554FDB92B1DAD8F9E0539599D30A3100

ics_applications=ics_pay_subscription_update

Example 12Reply: Update Merchant-Defined Data for a Customer Token

ics_rcode=1

ics_rmsg=Request was processed successfully.

ics_rflag=SOK

request_id=4889882115236626401540

pay_subscription_update_instrument_identifier_id=7040000000000181112

pay_subscription_update_instrument_identifier_new=Y

pay_subscription_update_instrument_identifier_status=ACTIVE

pay_subscription_update_rcode=1

pay_subscription_update_rflag=SOK

pay_subscription_update_rmsg=Request was processed successfully.

pay_subscription_update_subscription_id=554FDB92B1DAD8F9E0539599D30A3100

merchant_ref_number=ref9876

 

Example 13Request: Delete a Customer Token

merchant_id=mid1234

merchant_ref_number=ref9876

subscription_id=554FDB92B1DAD8F9E0539599D30A3100

ics_applications=ics_pay_subscription_delete

Example 14Reply: Delete a Customer Token

ics_rcode=1

ics_rmsg=Request was processed successfully.

ics_rflag=SOK

request_id=4889882505146626501540

pay_subscription_delete_rcode=1

pay_subscription_delete_rflag=SOK

pay_subscription_delete_rmsg=Request was processed successfully.

pay_subscription_delete_subscription_id=554FDB92B1DAD8F9E0539599D30A3100

pay_subscription_delete_instrument_identifier_id=7040000000000181112

merchant_ref_number=ref9876