Jump to content

API to charge and refund customers Credit Card?


Recommended Posts


I am try to charger the customer two small chargers under 1 dollar. Once I know that credit holder is able to look at his credit cart statement online and tell me the amount I charge them. I will refund them the amount.


Does anyone know what api's I need to use to charge a userid credit card? Also the api to refund them the money.


I tried using api to charge the client, but it seem to just add a transaction and not charge the client card.

$postfields["action"] = "addtransaction";


I am try to use api to refund .

$postfields["action"] = "RefundOrder";

$postfields["orderid"] = "39";

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated