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.

  1. cURL
  2. PHP
  3. Java
1curl -X GET https://api-m.sandbox.paypal.com/retail/merchant/v1/status
2 -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 field
  • paymentTypes 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 not ready or the payment types of card or chip 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.