Skip to content

Partial refund? #25

@chiduk

Description

@chiduk

According to the docs, partial refund is available,
image

However, the api suggests only a full refund

//refund a charge through chargeid
var charge = new Paymentwall.Charge();
charge.otherOperation(chargeid,'refund',function(brick_response){
  // response is a new Response Object Entity (defined in paymentwall/lib/Response/Abstract)
  brick_response.getFullResponse();                      // get full response content in String format
  brick_response.getFullResponse('JSON');                // get full response content in JSON format
});

If I want to refund 90% of the charge amount, how do I do that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions