{"method":"GET","path":"https://api.revcent.com/v2/paypal_accounts/{paypal_account_id}","summary":"Get A PayPal Account","description":"Retrieve the details of a specific PayPal Account.","operationId":"GetPayPalAccount","parameters":[{"in":"path","name":"paypal_account_id","description":"The PayPal Account ID.","required":true,"schema":{"type":"string","description":"A 20 character PayPal account ID.","minLength":20,"maxLength":20}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"encoding":{},"schema":{"additionalProperties":false,"properties":{},"type":"object"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"allOf":[{"description":"","properties":{"api_call_id":{"type":"string","description":"A 20 character API call ID.","minLength":20,"maxLength":20},"api_call_unix":{"description":"Unix timestamp of when the API call was initiated.","type":"integer","format":"unix-time"},"code":{"description":"The API call response code, 1 = Success","type":"integer","enum":[1]}},"title":"APICallResponseInfo","type":"object","additionalProperties":false},{"type":"object","description":"A PayPal account allows you to link your PayPal account to RevCent. Linking allows RevCent to pull PayPal transaction data, dispute information, process refunds, update shipping tracking information, and more.","additionalProperties":false,"properties":{"created_date_unix":{"description":"The unix timestamp of when the item was created.","type":"integer","format":"unix-time"},"id":{"type":"string","description":"A 20 character PayPal account ID.","minLength":20,"maxLength":20},"name":{"description":"The PayPal account name.","type":"string"},"description":{"description":"The PayPal account description.","type":"string"},"enabled":{"description":"Whether the PayPal account is currently enabled.","type":"boolean"},"paypal_account_email":{"description":"The PayPal account email. The email associated with the PayPal account within PayPal.","type":"string"},"paypal_account_app_id":{"description":"The PayPal account app ID. The app ID associated with the PayPal account within PayPal. The app ID is acquired by RevCent when PayPal API credentials are saved either when creating or editing a PayPal account in RevCent.","type":"string"},"campaign":{"type":"string","additionalProperties":false,"description":"A 20 character campaign ID. The campaign associated with the PayPal account. This will apply the same campaign to PayPal transactions associated with this account.","minLength":20,"maxLength":20},"third_party_shop":{"type":"array","description":"An array of third party shops which are associated with the PayPal account. Each object in the array should contain the ID of the third party shop you wish to link to the PayPal account. By associating a third party shop(s) to the PayPal account, it will ensure PayPal transactions from third party shop(s) are correctly linked to the appropriate PayPal account in RevCent.","items":{"type":"string","description":"A 20 character user shop ID.","minLength":20,"maxLength":20}},"transaction_confirmation":{"type":"boolean","description":"Whether to require transaction confirmation for PayPal transactions before marking the sale as paid in RevCent. Recommended set to false. If false, RevCent will create a sale and mark as paid immediately upon PayPal purchase (recommended). If true, it will take between 2 to 4 hours for RevCent to confirm the PayPal transaction due to a lag within the PayPal API, and not RevCent."},"add_tracking":{"type":"boolean","description":"Whether you want RevCent to add the shipment tracking information to respective PayPal transactions when shipments are shipped. Recommended set to true."},"updated_date_unix":{"description":"The unix timestamp of when the item was last updated.","type":"integer","format":"unix-time"}}}]}}},"description":"Successful response."},"default":{"content":{"application/json":{"schema":{"description":"","properties":{"api_call_id":{"type":"string","description":"A 20 character API call ID.","minLength":20,"maxLength":20},"api_call_unix":{"description":"Unix timestamp of when the API call was initiated.","type":"integer","format":"unix-time"},"code":{"description":"This value indicates that there is an error. Will always be 0.","type":"integer","enum":[0]},"error_code":{"description":"The specific error code.","type":"string"},"message":{"description":"A human readable description of the error.","type":"string"},"result":{"description":"A description of the API call result.","type":"string"}},"title":"APIStandardErrors","type":"object","additionalProperties":false}}},"description":"Error response."}}}