diff --git a/src/Treasury/Communicator.php b/src/Treasury/Communicator.php index 3606981..44599aa 100644 --- a/src/Treasury/Communicator.php +++ b/src/Treasury/Communicator.php @@ -374,7 +374,8 @@ public function returnCancelAmountToSnappCredit(ReturnCancelAmountToSnappCredit $uri = 'api/v1/orders/' . $dto->getOrderId() . '/return-cancel-amount-to-snappcredit'; $response = $this->request(static::METHOD_POST, $uri, [ - 'creator_id' => $dto->getCreatorId() + 'creator_id' => $dto->getCreatorId(), + 'value' => $dto->getValue() ]); return $response->getStatusCode() == 200;