action paypal_orders_confirm {
label: "Confirm the Order"
description: "Payer confirms their intent to pay for the the Order with the given payment source."
provider: paypal
method: POST
path: "/v2/checkout/orders/{id}/confirm-payment-source"
encoding: json
input: {
type: "object"
properties: {
Prefer: {
type: "string"
}
application_context: {
type: "object"
description: "Customizes the payer confirmation experience."
properties: {
brand_name: {
type: "string"
description: "Label to present to your payer as part of the PayPal hosted web experience."
}
cancel_url: {
type: "string"
format: "uri"
description: "The URL where the customer is redirected after the customer cancels the payment."
}
locale: {
type: "object"
}
return_url: {
type: "string"
format: "uri"
description: "The URL where the customer is redirected after the customer approves the payment."
}
stored_payment_source: {
type: "object"
description: "Provides additional details to process a payment using a `payment_source` that has been stored or is intended to be stored (also referred to as stored_credential or card-on-file).
Parameter compatibility:
Note: Passing card number, cvv and expiry directly via the API requires PCI SAQ D compliance." } crypto: { type: "object" } eps: { type: "object" } giropay: { type: "object" } google_pay: { type: "object" } ideal: { type: "object" } mybank: { type: "object" } p24: { type: "object" } paypal: { type: "object" } sofort: { type: "object" } token: { type: "object" description: "The tokenized payment source to fund a payment." required: ["id", "type"] properties: { id: { type: "string" description: "The PayPal-generated ID for the token." } type: { type: "string" description: "The tokenization method that generated the ID." enum: ["BILLING_AGREEMENT"] } } } trustly: { type: "object" } venmo: { type: "object" } } } } required: ["id", "payment_source"] additionalProperties: false } output: { type: "object" description: "The order details." } }
*PayPal offers a mechanism by which you do not have to take on the PCI SAQ D burden by using hosted fields - refer to this Integration Guide*.