-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Nayan Kumar S
committed
Sep 27, 2023
1 parent
ab02d97
commit 3adb8d2
Showing
5 changed files
with
513 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?php | ||
namespace Amazon\Pay\API; | ||
|
||
/* Interface class to showcase the public API methods for Amazon Pay */ | ||
interface MerchantOnboardingClientInterface | ||
{ | ||
// ----------------------------------- Merchant Onboarding & Account Management APIs -------------------- | ||
|
||
/* Amazon Checkout v2 - Register Amazon Pay Account | ||
* | ||
* Creates a non-logginable account for your merchant partners. These would be special accounts through which Merchants would not be able to login to Amazon or access Seller Central. | ||
* | ||
* @param payload - [String in JSON format] or [array] | ||
* @optional headers - [indexed array of string key-value pairs] | ||
*/ | ||
public function registerAmazonPayAccount($payload, $headers = null); | ||
|
||
/* Amazon Checkout v2 - Update Amazon Pay Account | ||
* | ||
* Updates a merchant account for the given Merchant Account ID. We would be allowing our partners to update only a certain set of fields which won’t change the legal business entity itself. | ||
* | ||
* @param merchantAccountId - [String] - Merchant Account ID | ||
* @param payload - [String in JSON format] or [array] | ||
* @optional headers - [indexed array of string key-value pairs] | ||
*/ | ||
public function updateAmazonPayAccount($merchantAccountId, $payload, $headers = null); | ||
|
||
/* Amazon Checkout v2 - Delete Amazon Pay Account | ||
* | ||
* Deletes the Merchant account for the given Merchant Account ID. Partners can close the merchant accounts created for their merchant partners. | ||
* | ||
* @param merchantAccountId - [String] - Merchant Account ID | ||
* @optional headers - [indexed array of string key-value pairs] | ||
*/ | ||
public function deleteAmazonPayAccount($merchantAccountId, $headers = null); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.