Property | Type | Description |
---|
Method | Description | |
---|---|---|
Create ( |
Creates and processes a payment. In the JSON request body, include a `payment` object with the intent, payer, and transactions. For PayPal payments, include redirect URLs in the `payment` object.
|
|
Create ( |
Creates (and processes) a new Payment Resource.
|
|
Execute ( |
Executes, or completes, a PayPal payment that the payer has approved. You can optionally update selective payment information when you execute a payment.
|
|
Execute ( |
Executes the payment (after approved by the Payer) associated with this resource when the payment method is PayPal.
|
|
Get ( |
Shows details for a payment, by ID.
|
|
List ( |
List payments that were made to the merchant who issues the request. Payments can be in any state.
|
|
Update ( |
Partially updates a payment, by ID. You can update the amount, shipping address, invoice ID, and custom data. You cannot use patch after execute has been called.
|
|
Update ( |
Partially update the Payment resource for the given identifier
|
public Create ( |
||
apiContext | APIContext used for the API call. | |
return |
public static Create ( |
||
apiContext | APIContext used for the API call. | |
payment | Payment object to be used in creating the PayPal resource. | |
return |
public Execute ( |
||
apiContext | APIContext used for the API call. | |
paymentExecution | PaymentExecution | |
return |
public static Execute ( |
||
apiContext | APIContext used for the API call. | |
paymentId | string | ID of the payment to execute. |
paymentExecution | PaymentExecution | |
return |
public static Get ( |
||
apiContext | APIContext used for the API call. | |
paymentId | string | The ID of the payment for which to show details. |
return |
public static List ( |
||
apiContext | APIContext used for the API call. | |
count | int | The number of items to list in the response. |
startId | string | The ID of the starting resource in the response. When results are paged, you can use the `next_id` value as the `start_id` to continue with the next set of results. |
startIndex | int | The start index of the resources to return. Typically used to jump to a specific position in the resource history based on its cart. Example for starting at the second item in a list of results: `?start_index=2` |
startTime | string | The date and time when the resource was created. Indicates the start of a range of results. Example: `start_time=2013-03-06T11:00:00Z` |
endTime | string | The date and time when the resource was created. Indicates the end of a range of results. |
startDate | string | Resource creation date that indicates the start of results. |
endDate | string | Resource creation date that indicates the end of a range of results. |
payeeEmail | string | Payee identifier (email) to filter the search results in list operations. |
payeeId | string | Payee identifier (merchant id) assigned by PayPal to filter the search results in list operations. |
sortBy | string | Field name that determines sort order of results. |
sortOrder | string | Specifies if order of results is ascending or descending. |
return |
public Update ( |
||
apiContext | APIContext used for the API call. | |
patchRequest | PatchRequest | PatchRequest |
return | void |
public static Update ( |
||
apiContext | APIContext used for the API call. | |
paymentId | string | ID of the payment to update. |
patchRequest | PatchRequest | PatchRequest |
return | void |