Skip to content

Commit

Permalink
add description field to pull payment
Browse files Browse the repository at this point in the history
  • Loading branch information
petzsch committed Jun 3, 2024
1 parent c115b04 commit a88ad30
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Client/PullPayment.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ public function getStorePullPayments(
public function createPullPayment(
string $storeId,
?string $name = null,
?string $description = null,
PreciseNumber $amount,
string $currency,
?int $period,
Expand All @@ -61,6 +62,7 @@ public function createPullPayment(
$body = json_encode(
[
'name' => $name,
'description' => $description,
'amount' => $amount->__toString(),
'currency' => $currency,
'period' => $period,
Expand Down

0 comments on commit a88ad30

Please sign in to comment.