pay_pal v0.0.2
PayPal.Payments.Captures
Documentation for PayPal.Payments.Captures
https://developer.paypal.com/docs/api/payments/#capture
Summary
Refund a captured payment
Functions
Refund a captured payment
docs
Possible returns:
- {:ok, refund}
- {:error, refund}
Examples
iex> PayPal.Payments.Captures.refund(payment_id, %{
amount: %{
total: "1.50",
currency: "USD"
}
})
Show a captured payment
docs
Possible returns:
- {:ok, capture}
- {:error, reason}
Examples
iex> PayPal.Payments.Captures.show(capture_id)