We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d052e5c commit e890cbbCopy full SHA for e890cbb
1 file changed
src/Routes.php
@@ -17,8 +17,8 @@ public static function payment()
17
return Client::LATEST_VERSION_API . 'payments';
18
};
19
20
- $anonymous->details = static function ($id) {
21
- return Client::VERSION_API . "payments/$id";
+ $anonymous->details = static function ($id, $date) {
+ return Client::VERSION_API . "payments/$id" . ($date ? "/$date" : '');
22
23
24
$anonymous->cancel = static function ($id) {
0 commit comments