MerchantWare

Credit Sale Vault

A basic sample for performing a Sale against a Credit / Debit card using the Vault Token from a previously boarded card.

This code sample provides the basic structure necessary for processing a Sale by means of a Vault Token. This method can be used on its own, however it is also the method used for our Cayan Checkout integration.

Depending on the requirements of your Point of Sale application, you may choose to parse out more or less information contained within the response data. Please ensure to update the Merchant Credentials so they match the credentials supplied to you when your test account was created. You must have a Vault Token available in order to process this type of transaction.

C#

Loading Sample...

PHP

Java

Javascript

VB

Loading Sample...

Python

Objective C

ASP.NET

Credit Sale Keyed

A basic sample for performing a Sale against a Credit / Debit card where the entry mode is Keyed.

This code sample provides the basic structure necessary for processing a Keyed Credit Card Sale. Depending on the requirements of your Point of Sale application, you may choose to parse out more or less details contained within the response data. Please ensure to update the Merchant Credentials so they match the credentials supplied to you when your test account was created.

C#

Loading Sample...

PHP

Java

Javascript

VB

Loading Sample...

Python

Objective C

ASP.NET

Credit Sale Reader

A basic sample for performing a Sale against a Credit / Debit card where the entry mode is Reader (PAN data obtained from a MSR).

This code sample provides the basic structure necessary for processing a Swiped Credit Card Sale. Depending on the requirements of your Point of Sale application, you may choose to parse out more or less details contained within the response data. Please ensure to update the Merchant Credentials so they match the credentials supplied to you when your test account was created.

C#

Loading Sample...

PHP

Java

Javascript

VB

Loading Sample...

Python

Objective C

ASP.NET

Credit Authorize Vault

A basic sample for performing an Authorization against a Credit / Debit card using the Vault Token from a previously boarded card.

This code sample provides the basic structure necessary for processing an Authorization by means of a Vault Token. This method can be used on its own, however it is also the method used for our Cayan Checkout integration.

Depending on the requirements of your Point of Sale application, you may choose to parse out more or less information contained within the response data. Please ensure to update the Merchant Credentials so they match the credentials supplied to you when your test account was created. You must have a Vault Token available in order to process this type of transaction.

C#

PHP

Java

Javascript

VB

Loading Sample...

Python

Objective C

ASP.NET

Credit Authorize Keyed

A basic sample for performing an Authorization against a Credit / Debit card where the entry mode is Keyed. 

This code sample provides the basic structure necessary for processing a Keyed Credit Card Authorization. Depending on the requirements of your Point of Sale application, you may choose to parse out more or less details contained within the response data. Please ensure to update the Merchant Credentials so they match the credentials supplied to you when your test account was created.

C#

PHP

Java

Javascript

VB

Loading Sample...

Python

Objective C

ASP.NET

Credit Authorize Reader

A basic sample for performing an Authorization against a Credit / Debit card where the entry mode is Reader (PAN data obtained from a MSR). 

This code sample provides the basic structure necessary for processing a Swiped Credit Card Authorization. Depending on the requirements of your Point of Sale application, you may choose to parse out more or less details contained within the response data. Please ensure to update the Merchant Credentials so they match the credentials supplied to you when your test account was created.

C#

PHP

Java

Javascript

VB

Loading Sample...

Python

Objective C

ASP.NET

Credit Refund Vault

A basic sample for performing a Refund against a Credit / Debit card using the Vault Token from a previously boarded card.

This code sample provides the basic structure necessary for processing a Refund by means of a Vault Token. 

Depending on the requirements of your Point of Sale application, you may choose to parse out more or less information contained within the response data. Please ensure to update the Merchant Credentials so they match the credentials supplied to you when your test account was created. You must have a Vault Token available in order to process this type of transaction.

C#

Loading Sample...

PHP

Java

Javascript

VB

Loading Sample...

Python

Objective C

ASP.NET

Credit Refund Previous Transaction

A basic sample for performing a Refund against a Credit / Debit card using the Transaction Token from a previously processed card.

This code sample provides the basic structure necessary for processing a Refund by means of a Transaction Token, which was returned from a previous transaction.

Depending on the requirements of your Point of Sale application, you may choose to parse out more or less information contained within the response data. Please ensure to update the Merchant Credentials so they match the credentials supplied to you when your test account was created. You must have a Vault Token available in order to process this type of transaction.

C#

Loading Sample...

PHP

Java

Javascript

VB

Loading Sample...

Python

Objective C

ASP.NET

Credit Refund Keyed

A basic sample for performing a Refund against a Credit / Debit card where the entry mode is Keyed.

This code sample provides the basic structure necessary for processing a Keyed Credit Refund. Depending on the requirements of your Point of Sale application, you may choose to parse out more or less details contained within the response data. Please ensure to update the Merchant Credentials so they match the credentials supplied to you when your test account was created.

C#

Loading Sample...

PHP

Java

Javascript

VB

Loading Sample...

Python

Objective C

ASP.NET

Credit Refund Reader

A basic sample for performing a Refund against a Credit / Debit card where the entry mode is Reader (PAN data obtained from a MSR). 

This code sample provides the basic structure necessary for processing a Swiped Credit Card Authorization. Depending on the requirements of your Point of Sale application, you may choose to parse out more or less details contained within the response data. Please ensure to update the Merchant Credentials so they match the credentials supplied to you when your test account was created.

C#

Loading Sample...

PHP

Java

Javascript

VB

Loading Sample...

Python

Objective C

ASP.NET

Credit Capture

A basic sample for performing a Capture against a previously Authorized Credit / Debit card. 

This code sample provides the basic structure necessary for Capturing a previously Authorized Credit / Debit card. Capturing a previous Authorization will add the transaction to the current batch for settlement. Depending on the requirements of your Point of Sale application, you may choose to parse out more or less details contained within the response data. Please ensure to update the Merchant Credentials so they match the credentials supplied to you when your test account was created.

C#

PHP

Java

Javascript

VB

Loading Sample...

Python

Objective C

ASP.NET

Please note, if you wish to cancel a captured transaction, you may use the Void function, however a Void cannot be applied once the transaction has been batched.

Credit ForceCapture

A basic sample for performing a Force Capture against a Credit / Debit card in which an approval code was issued by means of Voice Authorization.

This code sample provides the basic structure necessary for processing a Force Capture transaction. Depending on the requirements of your Point of Sale application, you may choose to parse out more or less details contained within the response data. Please ensure to update the Merchant Credentials so they match the credentials supplied to you when your test account was created.

This method should only be used as a backup to charge a Credit / Debit card if you are unable to obtain an authorization through normal processing. An authorization code is required for this function, and will typically be received by Voice Authorization over the phone. Force Captured transactions will always downgrade on rates and fees at the processor. If you make this the default charge method in your application, merchants will end up paying significantly higher transaction rates.

C#

PHP

Java

Javascript

VB

Loading Sample...

Python

Objective C

ASP.NET

Credit BoardCard Previous Transaction

This code sample provides the basic structure necessary for boarding a Credit / Debit card into the Cayan Vault by using a previous Transaction Token. Depending on the requirements of your Point of Sale application, you may choose to parse out more or less details contained within the response data. Please ensure to update the Merchant Credentials so they match the credentials supplied to you when your test account was created.

C#

PHP

Java

Javascript

VB

Loading Sample...

Python

Objective C

ASP.NET

Credit BoardCard Keyed

This code sample provides the basic structure necessary for boarding a Credit / Debit card into the Cayan Vault by manually entering the Card details. Depending on the requirements of your Point of Sale application, you may choose to parse out more or less details contained within the response data. Please ensure to update the Merchant Credentials so they match the credentials supplied to you when your test account was created.

C#

PHP

Java

Javascript

VB

Python

Objective C

ASP.NET

Credit BoardCard Reader

This code sample provides the basic structure necessary for boarding a Credit / Debit card into the Cayan Vault by swiping a card through a Mag Stripe Reader. Depending on the requirements of your Point of Sale application, you may choose to parse out more or less details contained within the response data. Please ensure to update the Merchant Credentials so they match the credentials supplied to you when your test account was created.

C#

PHP

Java

Javascript

VB

Loading Sample...

Python

Objective C

ASP.NET

Credit FindBoardedCard

A basic sample for performing a FindBoardedCard against a Credit / Debit card using the Vault Token from a previously boarded card.

This code sample provides the basic structure necessary for processing a FindBoardedCard by means of a Vault Token, which will return the details of the card requested.

Depending on the requirements of your Point of Sale application, you may choose to parse out more or less information contained within the response data. Please ensure to update the Merchant Credentials so they match the credentials supplied to you when your test account was created. You must have a Vault Token available in order to process this type of transaction.

C#

PHP

Java

Javascript

VB

Loading Sample...

Python

Objective C

ASP.NET

Credit UpdateBoardedCard

A basic sample for performing a UnBoardCard against a Credit / Debit card using the Vault Token from a previously boarded card.

This code sample provides the basic structure necessary for processing a UnBoardCard by means of a Vault Token, which will update an existing Vault Token with the new card details provided.

Depending on the requirements of your Point of Sale application, you may choose to parse out more or less information contained within the response data. Please ensure to update the Merchant Credentials so they match the credentials supplied to you when your test account was created. You must have a Vault Token available in order to process this type of transaction.

C#

PHP

Java

Javascript

VB

Loading Sample...

Python

Objective C

ASP.NET

Credit UnBoardCard

A basic sample for performing a UnBoardCard against a Credit / Debit card using the Vault Token from a previously boarded card.

This code sample provides the basic structure necessary for processing a UnBoardCard by means of a Vault Token, which will remove the card from the merchants card vault.

Depending on the requirements of your Point of Sale application, you may choose to parse out more or less information contained within the response data. Please ensure to update the Merchant Credentials so they match the credentials supplied to you when your test account was created. You must have a Vault Token available in order to process this type of transaction.

C#

PHP

Java

Javascript

VB

Loading Sample...

Python

Objective C

ASP.NET

Credit Void

A basic sample for performing a Voice against a Credit / Debit card using the Transaction Token from a previously processed card.

This code sample provides the basic structure necessary for processing a Void by means of a Transaction Token, which remove the transaction from the current batch and return the funds to the customer.

Depending on the requirements of your Point of Sale application, you may choose to parse out more or less information contained within the response data. Please ensure to update the Merchant Credentials so they match the credentials supplied to you when your test account was created. You must have a Vault Token available in order to process this type of transaction.

C#

PHP

Java

Javascript

VB

Loading Sample...

Python

Objective C

ASP.NET

Credit AdjustTip

A basic sample for performing a Tip Adjustment against a Credit card using the Transaction Token from a previously processed card.

This code sample provides the basic structure necessary for processing a Tip Adjustment by means of a Transaction Token, which will apply an addtional amount to the transaction.

Depending on the requirements of your Point of Sale application, you may choose to parse out more or less information contained within the response data. Please ensure to update the Merchant Credentials so they match the credentials supplied to you when your test account was created. You must have a Vault Token available in order to process this type of transaction.

C#

PHP

Java

Javascript

VB

Loading Sample...

Python

Objective C

ASP.NET

Credit SettleBatch

A basic sample for performing Batch Settlement on a merchants gateway account.

This code sample provides the basic structure necessary for executing a batch settlement. This functionality is only supported on Terminal based hosts. 

Depending on the requirements of your Point of Sale application, you may choose to parse out more or less information contained within the response data. Please ensure to update the Merchant Credentials so they match the credentials supplied to you when your test account was created. You must have a Vault Token available in order to process this type of transaction.

C#

PHP

Java

Javascript

VB

Loading Sample...

Python

Objective C

ASP.NET

Gift Sale Keyed

A basic example of processing a Gift Card Sale where the entry mode is Keyed.

This code sample provides the basic structure necessary for processing a Gift Card Sale. Depending on the requirements of your Point of Sale application, you may choose to include more or less details contained within the response data.

C#

PHP

Java

Javascript

VB

Python

Objective C

ASP.NET

Put the Genius of Cayan to work for your business.
1-844-278-7115