Sign in

Confirm payment source

documented

Confirm the payer's selected payment source for an order.

POST /v2/checkout/orders/{order_id}/confirm-payment-sourceOrdersno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api-m.paypal.com/v2/checkout/orders/{{$order_id}}/confirm-payment-source" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"payment_source": {"paypal": {"name": {"given_name": "{{$given_name}}","surname": "{{$surname}}"},"email_address": "{{$email_address}}","experience_context": {"payment_method_preference": "IMMEDIATE_PAYMENT_REQUIRED","payment_method_selected": "PAYPAL","brand_name": "{{$brand_name}}","locale": "{{$locale}}","landing_page": "{{$landing_page}}","shipping_preference": "{{$shipping_preference}}","user_action": "{{$user_action}}"}}}}'
Confirm payment source · PayPal · OpenIntegrations