{"id":18624554,"url":"https://github.com/zvps/ebay-sell-account-php-client","last_synced_at":"2026-08-12T17:31:45.245Z","repository":{"id":57092324,"uuid":"383440916","full_name":"zVPS/ebay-sell-account-php-client","owner":"zVPS","description":null,"archived":false,"fork":false,"pushed_at":"2021-07-30T16:32:34.000Z","size":243,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-07-07T09:08:52.211Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zVPS.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-07-06T11:14:19.000Z","updated_at":"2021-07-30T16:32:38.000Z","dependencies_parsed_at":"2022-08-22T20:41:05.642Z","dependency_job_id":null,"html_url":"https://github.com/zVPS/ebay-sell-account-php-client","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zVPS/ebay-sell-account-php-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zVPS%2Febay-sell-account-php-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zVPS%2Febay-sell-account-php-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zVPS%2Febay-sell-account-php-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zVPS%2Febay-sell-account-php-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zVPS","download_url":"https://codeload.github.com/zVPS/ebay-sell-account-php-client/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zVPS%2Febay-sell-account-php-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36575908,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-06T04:43:03.162Z","status":"online","status_checked_at":"2026-08-12T02:00:07.134Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T04:29:29.401Z","updated_at":"2026-08-12T17:31:45.223Z","avatar_url":"https://github.com/zVPS.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenAPIClient-php\n\nThe Account API gives sellers the ability to configure their eBay seller accounts, including the seller's policies (the Fulfillment Policy, Payment Policy, and Return Policy), opt in and out of eBay seller programs, configure sales tax tables, and get account information. For details on the availability of the methods in this API, see Account API requirements and restrictions.\n\n\n## Installation \u0026 Usage\n\n### Requirements\n\nPHP 7.2 and later.\n\n### Composer\n\nTo install the bindings via [Composer](https://getcomposer.org/), add the following to `composer.json`:\n\n```json\n{\n  \"repositories\": [\n    {\n      \"type\": \"vcs\",\n      \"url\": \"https://github/zvps/ebay-sell-account-php-client.git\"\n    }\n  ],\n  \"require\": {\n    \"zvps/ebay-sell-account-php-client\": \"*@dev\"\n  }\n}\n```\n\nThen run `composer install`\n\n### Manual Installation\n\nDownload the files and include `autoload.php`:\n\n```php\n\u003c?php\nrequire_once('/path/to/OpenAPIClient-php/vendor/autoload.php');\n```\n\n## Getting Started\n\nPlease follow the [installation procedure](#installation--usage) and then run the following:\n\n```php\n\u003c?php\nrequire_once(__DIR__ . '/vendor/autoload.php');\n\n\n\n// Configure OAuth2 access token for authorization: Authorization Code\n$config = Ebay\\Sell\\Account\\Configuration::getDefaultConfiguration()-\u003esetAccessToken('YOUR_ACCESS_TOKEN');\n\n\n$apiInstance = new Ebay\\Sell\\Account\\Api\\FulfillmentPolicyApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$body = new \\Ebay\\Sell\\Account\\Model\\FulfillmentPolicyRequest(); // \\Ebay\\Sell\\Account\\Model\\FulfillmentPolicyRequest | Request to create a seller account fulfillment policy.\n\ntry {\n    $result = $apiInstance-\u003ecreateFulfillmentPolicy($body);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling FulfillmentPolicyApi-\u003ecreateFulfillmentPolicy: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n```\n\n## API Endpoints\n\nAll URIs are relative to *https://api.ebay.com/sell/account/v1*\n\nClass | Method | HTTP request | Description\n------------ | ------------- | ------------- | -------------\n*FulfillmentPolicyApi* | [**createFulfillmentPolicy**](docs/Api/FulfillmentPolicyApi.md#createfulfillmentpolicy) | **POST** /fulfillment_policy | \n*FulfillmentPolicyApi* | [**deleteFulfillmentPolicy**](docs/Api/FulfillmentPolicyApi.md#deletefulfillmentpolicy) | **DELETE** /fulfillment_policy/{fulfillmentPolicyId} | \n*FulfillmentPolicyApi* | [**getFulfillmentPolicies**](docs/Api/FulfillmentPolicyApi.md#getfulfillmentpolicies) | **GET** /fulfillment_policy | \n*FulfillmentPolicyApi* | [**getFulfillmentPolicy**](docs/Api/FulfillmentPolicyApi.md#getfulfillmentpolicy) | **GET** /fulfillment_policy/{fulfillmentPolicyId} | \n*FulfillmentPolicyApi* | [**getFulfillmentPolicyByName**](docs/Api/FulfillmentPolicyApi.md#getfulfillmentpolicybyname) | **GET** /fulfillment_policy/get_by_policy_name | \n*FulfillmentPolicyApi* | [**updateFulfillmentPolicy**](docs/Api/FulfillmentPolicyApi.md#updatefulfillmentpolicy) | **PUT** /fulfillment_policy/{fulfillmentPolicyId} | \n*KycApi* | [**getKYC**](docs/Api/KycApi.md#getkyc) | **GET** /kyc | \n*OnboardingApi* | [**getPaymentsProgramOnboarding**](docs/Api/OnboardingApi.md#getpaymentsprogramonboarding) | **GET** /payments_program/{marketplace_id}/{payments_program_type}/onboarding | \n*PaymentPolicyApi* | [**createPaymentPolicy**](docs/Api/PaymentPolicyApi.md#createpaymentpolicy) | **POST** /payment_policy | \n*PaymentPolicyApi* | [**deletePaymentPolicy**](docs/Api/PaymentPolicyApi.md#deletepaymentpolicy) | **DELETE** /payment_policy/{payment_policy_id} | \n*PaymentPolicyApi* | [**getPaymentPolicies**](docs/Api/PaymentPolicyApi.md#getpaymentpolicies) | **GET** /payment_policy | \n*PaymentPolicyApi* | [**getPaymentPolicy**](docs/Api/PaymentPolicyApi.md#getpaymentpolicy) | **GET** /payment_policy/{payment_policy_id} | \n*PaymentPolicyApi* | [**getPaymentPolicyByName**](docs/Api/PaymentPolicyApi.md#getpaymentpolicybyname) | **GET** /payment_policy/get_by_policy_name | \n*PaymentPolicyApi* | [**updatePaymentPolicy**](docs/Api/PaymentPolicyApi.md#updatepaymentpolicy) | **PUT** /payment_policy/{payment_policy_id} | \n*PaymentsProgramApi* | [**getPaymentsProgram**](docs/Api/PaymentsProgramApi.md#getpaymentsprogram) | **GET** /payments_program/{marketplace_id}/{payments_program_type} | \n*PrivilegeApi* | [**getPrivileges**](docs/Api/PrivilegeApi.md#getprivileges) | **GET** /privilege | \n*ProgramApi* | [**getOptedInPrograms**](docs/Api/ProgramApi.md#getoptedinprograms) | **GET** /program/get_opted_in_programs | \n*ProgramApi* | [**optInToProgram**](docs/Api/ProgramApi.md#optintoprogram) | **POST** /program/opt_in | \n*ProgramApi* | [**optOutOfProgram**](docs/Api/ProgramApi.md#optoutofprogram) | **POST** /program/opt_out | \n*RateTableApi* | [**getRateTables**](docs/Api/RateTableApi.md#getratetables) | **GET** /rate_table | \n*ReturnPolicyApi* | [**createReturnPolicy**](docs/Api/ReturnPolicyApi.md#createreturnpolicy) | **POST** /return_policy | \n*ReturnPolicyApi* | [**deleteReturnPolicy**](docs/Api/ReturnPolicyApi.md#deletereturnpolicy) | **DELETE** /return_policy/{return_policy_id} | \n*ReturnPolicyApi* | [**getReturnPolicies**](docs/Api/ReturnPolicyApi.md#getreturnpolicies) | **GET** /return_policy | \n*ReturnPolicyApi* | [**getReturnPolicy**](docs/Api/ReturnPolicyApi.md#getreturnpolicy) | **GET** /return_policy/{return_policy_id} | \n*ReturnPolicyApi* | [**getReturnPolicyByName**](docs/Api/ReturnPolicyApi.md#getreturnpolicybyname) | **GET** /return_policy/get_by_policy_name | \n*ReturnPolicyApi* | [**updateReturnPolicy**](docs/Api/ReturnPolicyApi.md#updatereturnpolicy) | **PUT** /return_policy/{return_policy_id} | \n*SalesTaxApi* | [**createOrReplaceSalesTax**](docs/Api/SalesTaxApi.md#createorreplacesalestax) | **PUT** /sales_tax/{countryCode}/{jurisdictionId} | \n*SalesTaxApi* | [**deleteSalesTax**](docs/Api/SalesTaxApi.md#deletesalestax) | **DELETE** /sales_tax/{countryCode}/{jurisdictionId} | \n*SalesTaxApi* | [**getSalesTax**](docs/Api/SalesTaxApi.md#getsalestax) | **GET** /sales_tax/{countryCode}/{jurisdictionId} | \n*SalesTaxApi* | [**getSalesTaxes**](docs/Api/SalesTaxApi.md#getsalestaxes) | **GET** /sales_tax | \n\n## Models\n\n- [Amount](docs/Model/Amount.md)\n- [CategoryType](docs/Model/CategoryType.md)\n- [Deposit](docs/Model/Deposit.md)\n- [Error](docs/Model/Error.md)\n- [ErrorParameter](docs/Model/ErrorParameter.md)\n- [FulfillmentPolicy](docs/Model/FulfillmentPolicy.md)\n- [FulfillmentPolicyRequest](docs/Model/FulfillmentPolicyRequest.md)\n- [FulfillmentPolicyResponse](docs/Model/FulfillmentPolicyResponse.md)\n- [InternationalReturnOverrideType](docs/Model/InternationalReturnOverrideType.md)\n- [KycCheck](docs/Model/KycCheck.md)\n- [KycResponse](docs/Model/KycResponse.md)\n- [PaymentMethod](docs/Model/PaymentMethod.md)\n- [PaymentPolicy](docs/Model/PaymentPolicy.md)\n- [PaymentPolicyRequest](docs/Model/PaymentPolicyRequest.md)\n- [PaymentPolicyResponse](docs/Model/PaymentPolicyResponse.md)\n- [PaymentsProgramOnboardingResponse](docs/Model/PaymentsProgramOnboardingResponse.md)\n- [PaymentsProgramOnboardingSteps](docs/Model/PaymentsProgramOnboardingSteps.md)\n- [PaymentsProgramResponse](docs/Model/PaymentsProgramResponse.md)\n- [Program](docs/Model/Program.md)\n- [Programs](docs/Model/Programs.md)\n- [RateTable](docs/Model/RateTable.md)\n- [RateTableResponse](docs/Model/RateTableResponse.md)\n- [RecipientAccountReference](docs/Model/RecipientAccountReference.md)\n- [Region](docs/Model/Region.md)\n- [RegionSet](docs/Model/RegionSet.md)\n- [ReturnPolicy](docs/Model/ReturnPolicy.md)\n- [ReturnPolicyRequest](docs/Model/ReturnPolicyRequest.md)\n- [ReturnPolicyResponse](docs/Model/ReturnPolicyResponse.md)\n- [SalesTax](docs/Model/SalesTax.md)\n- [SalesTaxBase](docs/Model/SalesTaxBase.md)\n- [SalesTaxes](docs/Model/SalesTaxes.md)\n- [SellingLimit](docs/Model/SellingLimit.md)\n- [SellingPrivileges](docs/Model/SellingPrivileges.md)\n- [SetFulfillmentPolicyResponse](docs/Model/SetFulfillmentPolicyResponse.md)\n- [SetPaymentPolicyResponse](docs/Model/SetPaymentPolicyResponse.md)\n- [SetReturnPolicyResponse](docs/Model/SetReturnPolicyResponse.md)\n- [ShippingOption](docs/Model/ShippingOption.md)\n- [ShippingService](docs/Model/ShippingService.md)\n- [TimeDuration](docs/Model/TimeDuration.md)\n\n## Authorization\n\n### Authorization Code\n\n- **Type**: `OAuth`\n- **Flow**: `accessCode`\n- **Authorization URL**: `https://auth.ebay.com/oauth2/authorize`\n- **Scopes**: \n    - **https://api.ebay.com/oauth/api_scope/sell.account.readonly**: View your account settings\n    - **https://api.ebay.com/oauth/api_scope/sell.account**: View and manage your account settings\n\n## Tests\n\nTo run the tests, use:\n\n```bash\ncomposer install\nvendor/bin/phpunit\n```\n\n## Author\n\n\n\n## About this package\n\nThis PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:\n\n- API version: `v1.6.3`\n    - Package version: `5.0.0`\n- Build package: `org.openapitools.codegen.languages.PhpClientCodegen`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzvps%2Febay-sell-account-php-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzvps%2Febay-sell-account-php-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzvps%2Febay-sell-account-php-client/lists"}