- Se agregó 'getPaymentMethodIdByName' para buscar automáticamente el ID de "Transferencia bancaria" por nombre, asegurando portabilidad entre servidores UISP. - Se implementó el manejo del webhook 'customer_cash_balance_transaction.created' para el registro automático de pagos fondeados. - Fix: Se corrigió error 422 en la API de UCRM forzando el cast de 'clientId' a integer y 'methodId' a string (GUID). - Se actualizó la documentación (README/CHANGELOG) con instrucciones de configuración de webhooks.
37 lines
918 B
PHP
Executable File
37 lines
918 B
PHP
Executable File
<?php
|
|
|
|
namespace Stripe;
|
|
|
|
/**
|
|
* Class RecipientTransfer.
|
|
*
|
|
* @property string $id
|
|
* @property string $object
|
|
* @property int $amount
|
|
* @property int $amount_reversed
|
|
* @property string $balance_transaction
|
|
* @property string $bank_account
|
|
* @property string $card
|
|
* @property int $created
|
|
* @property string $currency
|
|
* @property int $date
|
|
* @property string $description
|
|
* @property string $destination
|
|
* @property string $failure_code
|
|
* @property string $failure_message
|
|
* @property bool $livemode
|
|
* @property \Stripe\StripeObject $metadata
|
|
* @property string $method
|
|
* @property string $recipient
|
|
* @property \Stripe\Collection $reversals
|
|
* @property bool $reversed
|
|
* @property string $source_type
|
|
* @property string $statement_descriptor
|
|
* @property string $status
|
|
* @property string $type
|
|
*/
|
|
class RecipientTransfer extends ApiResource
|
|
{
|
|
const OBJECT_NAME = 'recipient_transfer';
|
|
}
|