Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retornar Recebiveis por periodo #410

Open
AdanLacerda opened this issue Jan 3, 2023 · 0 comments
Open

Retornar Recebiveis por periodo #410

AdanLacerda opened this issue Jan 3, 2023 · 0 comments

Comments

@AdanLacerda
Copy link

AdanLacerda commented Jan 3, 2023

Estou tendo problemas ao tentar filtrar meus recebiveis por periodo, segue exemplo:

/**
 * Método Retornando recebíveis.
 */
public function returnPayables($recipientId,$date = '')
{
    return $this->pagarme->payables()->getList([
        'recipient_id' => $recipientId,
        'count' => 1000,
        'payment_date' =>  '>=1671926400000',
        'payment_date' =>  '<=1672099200000',

    ]);
}

Estou passando essas duas datas a primeira se refere ao dia 25/12/2022 e a segunda é 27/12/2022
mas ela me retorna só os recebiveis antes do dia 25.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant