- Home
- All APIs
- Access Worldpay
- Alternative Payment Methods (APMs)
- PayPal (coming soon)
PayPal (coming soon)
A secure and globally accepted online payment transfer.
Why use PayPal
PayPal is a global payment method with strong consumer recognition and trust. It is also one of the most popular APMs in the world. PayPal opens up a large customer base who already have PayPal accounts and can make purchases with a payment flow that they are comfortable with.
It is accepted in over 200 countries, supports 25 currencies and is a mainstay of APM payments.
Feature summary
Payment type | Countries | Recurring | Reverse | Partial Reverse | Disputes | Auth only | Auth and Settlement (Sale) |
---|---|---|---|---|---|---|---|
Digital Wallet | Global acceptance |
| Handled directly via PayPal |
Acceptance currencies
Currency | Currency Codes |
---|---|
Australian dollar | AUD |
Brazilian real 2 | BRL |
Canadian dollar | CAD |
Czech koruna | CZK |
Danish krone | DKK |
Euro | EUR |
Hong Kong dollar | HKD |
Hungarian forint | HUF |
Indian rupee | INR |
Israeli new shekel | ILS |
Japanese yen | JPY |
Malaysian ringgit | MYR |
Mexican peso | MXN |
New Taiwan dollar | TWD |
New Zealand dollar | NZD |
Norwegian krone | NOK |
Philippine peso | PHP |
Polish złoty | PLN |
Pound sterling | GBP |
Singapore dollar | SGD |
Swedish krona | SEK |
Swiss franc | CHF |
Thai baht | THB |
United States dollar | USD |
Visualize our PayPal flow:
Discover our APM API by clicking on the scenarios. We show you the flow of requests, and actions related to the selected request.
Make a PayPal request
Example request
Copied!
{
"transactionReference": "Memory265-13/08/1876",
"merchant":
{
"entity": "MindPalaceLtd"
},
"instruction":
{
"narrative":
{
"line1": "Mind Palace Ltd"
},
"value":
{
"amount": 35,
"currency": "GBP"
},
"requestAutoSettlement": {
"enabled": true
},
"paymentInstrument":
{
"type": "paypal",
"shopperEmailAddress": "shopper@example.com",
"billingAddress":
{
"address1": "221B Baker Street",
"address2": "Marylebone",
"address3": "Westminster",
"postalCode": "NW1 6XE",
"city": "London",
"state": "Greater London",
"countryCode": "GB"
},
"shippingAddress":
{
"address1": "The Palatine Centre",
"postalCode": "DH1 3LE",
"city": "Durham",
"state": "County Durham",
"countryCode": "GB"
},
"successURL": "http://https://example.com/success",
"pendingURL": "http://https://example.com/pending",
"failureURL": "http://https://example.com/failure",
"cancelURL": "http://https://example.com/cancel",
}
},
}
{ "transactionReference": "Memory265-13/08/1876", "merchant": { "entity": "MindPalaceLtd" }, "instruction": { "narrative": { "line1": "Mind Palace Ltd" }, "value": { "amount": 35, "currency": "GBP" }, "requestAutoSettlement": { "enabled": true }, "paymentInstrument": { "type": "paypal", "shopperEmailAddress": "shopper@example.com", "billingAddress": { "address1": "221B Baker Street", "address2": "Marylebone", "address3": "Westminster", "postalCode": "NW1 6XE", "city": "London", "state": "Greater London", "countryCode": "GB" }, "shippingAddress": { "address1": "The Palatine Centre", "postalCode": "DH1 3LE", "city": "Durham", "state": "County Durham", "countryCode": "GB" }, "successURL": "http://https://example.com/success", "pendingURL": "http://https://example.com/pending", "failureURL": "http://https://example.com/failure", "cancelURL": "http://https://example.com/cancel", } }, }
Optional/conditional PayPal parameters
Parameter | Required? | Description | Data type | Length |
---|---|---|---|---|
instruction.paymentInstrument.type | An object that contains the payment type and details. It defines which alternative payment method you wish to use. Value is paypal . | Object | N/A | |
instruction.requestAutoSettlement | Settles the transaction automatically when set to "true". | Object | Boolean "true" or "false". Default: "false". | |
paymentInstrument.shopperEmailAddress | The email adddress of your customer. | String | tbc | |
paymentInstrument.billingAddress | The billing address of your customer. | Object | N/A | |
paymentInstrument.billingAddress.address1 | First line of the billing address. Condition: Must be provided if you send paymentInstrument.billingAddress . | String | 1-85 | |
paymentInstrument.billingAddress.address2 | Second line of the billing address. | String | 0-85 | |
paymentInstrument.billingAddress.address3 | Third line of the billing address. | String | 0-85 | |
paymentInstrument.billingAddress.city | The city of the billing address. | String | 0-50 | |
paymentInstrument.billingAddress.countryCode | The country of the billing address. Condition: Must be provided if you send paymentInstrument.billingAddress . Follows | String | 2 | |
paymentInstrument.billingAddress.postalCode | The poste code of the billing address. Condition: Must be provided if you send paymentInstrument.billingAddress . | String | 1-15 | |
paymentInstrument.billingAddress.state | The state of the billing address. | String | 1-50 | |
paymentInstrument.shippingAddress | The shipping address of your customer. | Object | N/A | |
paymentInstrument.shippingAddress.address1 | First line of the shipping address. Condition: Must be provided if you send paymentInstrument.shippingAddress . | String | 1-85 | |
paymentInstrument.shippingAddress.address2 | Second line of the shipping address. | String | 0-85 | |
paymentInstrument.shippingAddress.address3 | Third line of the shipping address. | String | 0-85 | |
paymentInstrument.shippingAddress.city | The city of the shipping address. | String | 0-50 | |
paymentInstrument.shippingAddress.countryCode | The country of the shipping address. Condition: Must be provided if you send paymentInstrument.shipppingAddress . Follows | String | 2 | |
paymentInstrument.shippingddress.postalCode | The poste code of the shipping address. Condition: Must be provided if you send paymentInstrument.shippingAddress . | String | 1-15 | |
paymentInstrument.shippingAddress.state | The state of the shipping address. | String | 1-50 |
You can find our standard parameters on our
Response
Successful request response
- an HTTP code
201
- an
id
which is unique to the payment, we recommend storing the "id" as this can be used to manage the payment later - a
url
to redirect your customer to the APM provider to complete the payment - a link to query the payment status
Example Response
Copied!
{
"id": "3Ihrz_xFV1nTRAHhJABserDF09eNdqnSHh2H8qlv7QIZ4iW8JjMy1wo4b2GozzFtfnOUMIZGm4eSqTixJe1tGDzD3NTuoxp7Ud1N920NPyBiaK1MePsYPNh4StVn5GLv9dz9tm3t0o9KS2dze2cQ2iJdjRiX7-j4OEhFc5W4W6hK1prAjyQIHthwfovFL63f",
"url": "https://hpp.worldpay.com/app/hpp/xyz/integration/wpg?Ticket=12345678&OrderKey=blah",
"_links": {
"self": {
"href": "https://try.access.worldpay.com/apms/3Ihrz_xFV1nTRAHhJABserDF09eNdqnSHh2H8qlv7QIZ4iW8JjMy1wo4b2GozzFtfnOUMIZGm4eSqTixJe1tGDzD3NTuoxp7Ud1N920NPyBiaK1MePsYPNh4StVn5GLv9dz9tm3t0o9KS2dze2cQ2iJdjRiX7-j4OEhFc5W4W6hK1prAjyQIHthwfovFL63f"
}
}
}
{ "id": "3Ihrz_xFV1nTRAHhJABserDF09eNdqnSHh2H8qlv7QIZ4iW8JjMy1wo4b2GozzFtfnOUMIZGm4eSqTixJe1tGDzD3NTuoxp7Ud1N920NPyBiaK1MePsYPNh4StVn5GLv9dz9tm3t0o9KS2dze2cQ2iJdjRiX7-j4OEhFc5W4W6hK1prAjyQIHthwfovFL63f", "url": "https://hpp.worldpay.com/app/hpp/xyz/integration/wpg?Ticket=12345678&OrderKey=blah", "_links": { "self": { "href": "https://try.access.worldpay.com/apms/3Ihrz_xFV1nTRAHhJABserDF09eNdqnSHh2H8qlv7QIZ4iW8JjMy1wo4b2GozzFtfnOUMIZGm4eSqTixJe1tGDzD3NTuoxp7Ud1N920NPyBiaK1MePsYPNh4StVn5GLv9dz9tm3t0o9KS2dze2cQ2iJdjRiX7-j4OEhFc5W4W6hK1prAjyQIHthwfovFL63f" } } }
Note: In case of an error, you can get further information in our
Next Steps