-
Notifications
You must be signed in to change notification settings - Fork 134
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
Route sdk #241
Route sdk #241
Conversation
$transfer = $api->transfer->create(array('account' => 'acc_HjVXbtpSCIxENR', 'amount' => 500, 'currency' => 'INR')); // Creates direct transfer from merchant's account | ||
$transfers = $api->order->fetch($orderId)->transfers(array('expand[]'=>'transfers')); // Fetch all transfers created on order | ||
$transfer = $api->transfer->fetch($transferId); // Fetch a transfer | ||
$transfers = $api->transfer->all(array('recipient_settlement_id'=> $settlementId)); // Fetch all transfers made for particular settlement id |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please check working of
$transfers = $api->transfer->all(array('recipient_settlement_id'=> $settlementId));
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's working fine. I have checked with beta apis as we didn't process settlements on test mode.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
a9fd607
to
ba777ab
Compare
Updated Orders and Payments file to implement fetch transfers of an order and to fetch payments of a linked account.
Please review those files.