Skip to content

Commit

Permalink
feat: get order api (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
makstech committed Apr 21, 2024
1 parent 6c559ba commit 912476e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Clients/OrdersClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,9 @@ public function createOrder(OrderData $paymentData): array
{
return $this->post('orders', $paymentData->toArray());
}

public function getOrder(string $uuid): array
{
return $this->get('orders/' . $uuid);
}
}

0 comments on commit 912476e

Please sign in to comment.