forked from LiveCarta/PayPal-PHP-Server-SDK
* Automated commit message * Automated commit message * Automated commit message * Automated commit message --------- Co-authored-by: PayPalServerSDKs <server-sdks@paypal.com>
1.4 KiB
1.4 KiB
Refund Payment Instruction
Any additional payments instructions during refund payment processing. This object is only applicable to merchants that have been enabled for PayPal Commerce Platform for Marketplaces and Platforms capability. Please speak to your account manager if you want to use this capability.
Structure
RefundPaymentInstruction
Fields
| Name | Type | Tags | Description | Getter | Setter |
|---|---|---|---|---|---|
platformFees |
?(RefundPlatformFee[]) |
Optional | Specifies the amount that the API caller will contribute to the refund being processed. The amount needs to be lower than platform_fees amount originally captured or the amount that is remaining if multiple refunds have been processed. This field is only applicable to merchants that have been enabled for PayPal Commerce Platform for Marketplaces and Platforms capability. Please speak to your account manager if you want to use this capability. Constraints: Minimum Items: 0, Maximum Items: 1 |
getPlatformFees(): ?array | setPlatformFees(?array platformFees): void |
Example (as JSON)
{
"platform_fees": [
{
"amount": {
"currency_code": "currency_code6",
"value": "value0"
}
},
{
"amount": {
"currency_code": "currency_code6",
"value": "value0"
}
}
]
}