Status Check Implementation
DocsDeprecated
Important: PayPal Here is deprecated. PayPal doesn't accept new integrations but continues to support existing integrations.
Perform this check at any time to determine whether or not a merchant has already enabled PayPal Here.
Note: It is recommended that partners implement the status check immediately after the permissions flow. If the status check fails, send the merchant through the registration process.
To complete this check, take the access token generated in the permissions guide and call the /status
endpoint.
- cURL
- PHP
- Java
1curl -X GET https://api-m.sandbox.paypal.com/retail/merchant/v1/status2 -H 'authorization: Bearer {access_token_of_merchant}'3 -H 'content-type: application/json'
Response from the call to the /status
endpoint:
1{2 "status": "ready",3 "paymentTypes": [4 "tab",5 "key",6 "card"7 ],8 ....9}
Success response
A successful response will include:
status
fieldpaymentTypes
object- other fields
Considerations
Make sure that the status
is ready
and the paymentTypes
object includes either card
for the US or chip
for the UK and AU. The combination of those values in the response indicates that your merchant has enabled PayPal Here on their business account and is ready for processing.
Next
If the
status
is notready
or the payment types ofcard
orchip
are not present, you must send the merchant through the registration process for their respective region.If the status check is successful, you are ready to start working with our SDK.