Skip to content

Store adapter — PayPal

The adapter object contains properties for connecting to the PayPal API.

Parent object: a store with property "platform" : "paypal"

Required properties

The following adapter properties are required for PayPal stores.

api_password

Propertyapi_password
NamePayPal API Password
Data typestring
Required?Yes

api_username

Propertyapi_username
NamePayPal API Username
Data typestring
Required?Yes

signature

Propertysignature
NamePayPal API Signature
Data typestring
Required?Yes

subject

Propertysubject
NamePayPal Subject
Data typestring
More infoMust be a valid email address
Required?Yes

Example

Example: create a new PayPal store
curl -X POST \
    -H "Authorization: Bearer $JWT_TOKEN" \
    -H "Content-Type: application/json" \
    https://api.getdropstream.com/stores \
    -d @- <<EOF
{ "customer_id": "3775",
  "name": "Your PayPal Store",
  "platform": "paypal",
  "adapter": {
    "api_username": "abc123",
    "api_password": "abc123",
    "signature": "abc123",
    "subject": "user@domain.com"
  }
}
EOF

For details about this request type, see: Create a new store.