Skip to content

Commit

Permalink
Send json data to request
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdallaMohammed committed Sep 3, 2020
1 parent 5efadde commit f075a66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public function pay()
$this->method,
$this->getEndPointPath(),
[
'form_params' => $this->attributes,
'json' => $this->attributes,
'headers' => [
'Accept' => 'application/json',
],
Expand Down

0 comments on commit f075a66

Please sign in to comment.