How to change the payment method in Charge API using Source ID?

Modified on Wed, 29 May at 3:57 PM

Through our payment gateway, goSell, you can have many different payment methods enabled as needed. When using the charge API, if you're looking to change the payment method using Source ID, it's just a matter of selecting the right values for the source ID.


Source ID indicates the payment method


The possible values are:

  • src_kw.knet: This will redirect the user to the KNET payment page

  • token ID: Amount will be deducted from the card which was tokenized

  • authorize ID: Amount will be deducted from the provided authorized transaction

  • src_all: This will redirect the user to a Tap Payment page which displays all available payment options provided by Tap

  • src_card: This will redirect the user to a Tap Payment page which displays all available card payment options provided by Tap


If you'd like more information about this, please check our documentation page. If you have any other questions about the APIs, you can also always contact our customer experience agents through the live chat available on our website.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article