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¶
| Property | api_password |
|---|---|
| Name | PayPal API Password |
| Data type | string |
| Required? | Yes |
api_username¶
| Property | api_username |
|---|---|
| Name | PayPal API Username |
| Data type | string |
| Required? | Yes |
signature¶
| Property | signature |
|---|---|
| Name | PayPal API Signature |
| Data type | string |
| Required? | Yes |
subject¶
| Property | subject |
|---|---|
| Name | PayPal Subject |
| Data type | string |
| More info | Must 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.
