PayPal

API

Payments API for PayPal, Venmo, cards, invoicing and payouts

Fiyat
Fee per transaction
Erişim
Client ID and secret

Hakkında

Payments platform whose REST APIs take PayPal, Venmo, Pay Later and card payments, run subscriptions, send invoices and pay out to many recipients at once. Buyers and sellers can use it in most countries; fees depend on the payment type and country.

Neler yapabilirsin

  • Accept PayPal, Venmo, Pay Later and card payments with the Orders API
  • Send invoices and charge customers on a schedule with the Subscriptions API
  • Send money to many recipients in one batch with the Payouts API

Başlarken

  1. Log in to the Developer Dashboard and open Apps & Credentials
  2. Copy the sandbox client ID and secret
  3. Exchange them for an access token

Örnek kod

curl -X POST https://api-m.sandbox.paypal.com/v1/oauth2/token \
  -u "$PAYPAL_CLIENT_ID:$PAYPAL_CLIENT_SECRET" \
  -d "grant_type=client_credentials"

curl -X POST https://api-m.sandbox.paypal.com/v2/checkout/orders \
  -H "Authorization: Bearer $PAYPAL_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"intent": "CAPTURE", "purchase_units": [{"amount": {"currency_code": "USD", "value": "100.00"}}]}'

Ayrıntılar

Barındırma
Hazır hizmet (bulut)
Kullanılabildiği yerler
Tüm dünya
Resmi SDK'lar
C#, Java, PHP, Python, Ruby, JavaScript/TypeScript, Swift, Kotlin
MCP sunucusu
Uzak sunucu

Görevler

Alternatifler

Aynı görevler için başka araçlar.

Son kontrol: .