*/
public PaymentResponse chargeAmount(String endUserId, String referenceCode, String description, String currency, double amount, int referenceSequence, String code, String callbackURL,
String clientCorrelator, String onBehalfOf, String purchaseCategoryCode, String channel, double taxAmount, String serviceId, String productId) {
PaymentResponse response=new PaymentResponse();
FormParameters formParameters=new FormParameters();
formParameters.put("endUserId", endUserId);
formParameters.put("transactionOperationStatus", "charged");
formParameters.put("referenceSequence", Integer.toString(referenceSequence));
formParameters.put("amount", Double.toString(amount));
formParameters.put("currency", currency);
formParameters.put("description", description);
formParameters.put("referenceCode", referenceCode);
formParameters.put("code", code);
formParameters.put("callbackURL", callbackURL);
formParameters.put("clientCorrelator", clientCorrelator);
formParameters.put("onBehalfOf", onBehalfOf);
formParameters.put("purchaseCategoryCode", purchaseCategoryCode);
formParameters.put("channel", channel);
formParameters.put("taxAmount", Double.toString(taxAmount));
formParameters.put("serviceId", serviceId);
formParameters.put("productId", productId);
int responseCode=0;
String contentType = null;
try {