Module orders

Source
Expand description

An order represents a payment between two or more parties. Use the Orders API to create, update, retrieve, authorize, and capture orders.

https://developer.paypal.com/docs/api/orders/v2/

Structs§

AuthorizeOrder
Authorizes payment for an order. To successfully authorize payment for an order, the buyer must first approve the order or a valid payment_source must be provided in the request. A buyer can approve the order upon being redirected to the rel:approve URL that was returned in the HATEOAS links in the create order response.
CaptureOrder
Captures payment for an order. To successfully capture payment for an order, the buyer must first approve the order or a valid payment_source must be provided in the request. A buyer can approve the order upon being redirected to the rel:approve URL that was returned in the HATEOAS links in the create order response.
CaptureOrderBuilder
Builder for CaptureOrder.
CreateOrder
Creates an order.
PaymentSource
Payment source used in the capture order endpoint.
PaymentSourceBody
The capture order endpoint body.
PaymentSourceBuilder
Builder for PaymentSource.
PaymentSourceToken
The payment source used to fund the payment.
PaymentSourceTokenBuilder
Builder for PaymentSourceToken.
ShowOrderDetails
Query an order by id.

Enums§

CaptureOrderBuilderError
Error type for CaptureOrderBuilder
PaymentSourceBuilderError
Error type for PaymentSourceBuilder
PaymentSourceTokenBuilderError
Error type for PaymentSourceTokenBuilder