-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MPSDK-1015: added endpoint for IP eligibility
- Loading branch information
Showing
6 changed files
with
123 additions
and
0 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,16 @@ | ||
<?php | ||
|
||
namespace MangoPay; | ||
|
||
class InstantPayout | ||
{ | ||
/** | ||
* @var boolean | ||
*/ | ||
public $IsReachable; | ||
|
||
/** | ||
* @var FallbackReason | ||
*/ | ||
public $UnreachableReason; | ||
} |
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,53 @@ | ||
<?php | ||
|
||
namespace MangoPay; | ||
|
||
use MangoPay\Libraries\Dto; | ||
|
||
class PayOutEligibilityRequest extends Dto | ||
{ | ||
/** | ||
* A user's ID | ||
* @var string | ||
*/ | ||
public $AuthorId; | ||
|
||
/** | ||
* Information about the funds that are being debited | ||
* @var Money | ||
*/ | ||
public $DebitedFunds; | ||
|
||
/** | ||
* Information about the fees that were taken by the client for this transaction (and were hence transferred to the Client's platform wallet) | ||
* @var Money | ||
*/ | ||
public $Fees; | ||
|
||
/** | ||
* An ID of a Bank Account | ||
* @var string | ||
*/ | ||
public $BankAccountId; | ||
|
||
/** | ||
* The ID of the wallet that was debited | ||
* @var string | ||
*/ | ||
public $DebitedWalletId; | ||
|
||
/** | ||
* A custom reference you wish to appear on the user’s bank statement (your Client Name is already shown). We advise you not to add more than 12 characters. | ||
* @var string | ||
*/ | ||
public $BankWireRef; | ||
|
||
/** | ||
* Payout mode requested. May take one of the following values: | ||
* STANDARD (value by default if no parameter is sent): a standard bank wire is requested and the processing time of the funds is about 48 hours; | ||
* INSTANT_PAYMENT: an instant payment bank wire is requested and the processing time is within 25 seconds (subject to prerequisites); | ||
* INSTANT_PAYMENT_ONLY: an instant payment bank wire is requested and the processing time is within 25 seconds, but if any prerequisite is not met or another problem occurs, there is no fallback: the wallet is automatically refunded and the payout is not completed. | ||
* @var string | ||
*/ | ||
public $PayoutModeRequested; | ||
} |
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,14 @@ | ||
<?php | ||
|
||
namespace MangoPay; | ||
|
||
use MangoPay\Libraries\Dto; | ||
|
||
class PayOutEligibilityResponse extends Dto | ||
{ | ||
/** | ||
* @var InstantPayout | ||
*/ | ||
public $InstantPayout; | ||
} | ||
|
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