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