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