Skip to content
New issue

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

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

Already on GitHub? # to your account

Expire Invoice with param for-user-id #166

Closed
ipoool opened this issue Dec 14, 2021 · 1 comment
Closed

Expire Invoice with param for-user-id #166

ipoool opened this issue Dec 14, 2021 · 1 comment

Comments

@ipoool
Copy link

ipoool commented Dec 14, 2021

Currently, function expireInvoice() only have 1 parameter "$id". is it possible to add new param to support expire invoice based on sub-account? seems, I think you guys just add parameters like the below:

public static function expireInvoice($id, $params = [])
    {
        $url =  '/invoices/' . $id . '/expire!';

        return static::_request('POST', $url, $params);
 }
@xen-HendryZheng
Copy link
Contributor

Hi @ipoool Please run composer update. We've added at 2.7.1 here : https://github.com/xendit/xendit-php/releases/tag/2.17.1

Thank you !

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

No branches or pull requests

2 participants