Payment/Example/Methods

Payment/Example/Methods

Source:

Meteor methods for Example Payment Plugin. Run these methods using Meteor.call()

Methods

(static) "example/payment/capture"(payment) → {Object}

Capture a Charge

.

Source:

Capture a Charge

Parameters:
Name Type Description
payment Object

Object containing data about the transaction to capture

Returns:

results normalized

Type
Object

(static) "example/refund/create"(payment, amount) → {Object}

Create a refund

.

Source:

Create a refund

Parameters:
Name Type Description
payment Object

object

amount Number

The amount to be refunded

Returns:

result

Type
Object

(static) "example/refund/list"(payment) → {Object}

List refunds

.

Source:

List refunds

Parameters:
Name Type Description
payment Object

Object containing the payment data

Returns:

result

Type
Object