Skip to content

Commit 39f2810

Browse files
authored
Merge pull request #5 from olotintemitope/feature/update-readme-and-config
Update Verification code for confirm OTP
2 parents f0ea933 + ee3bf02 commit 39f2810

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SendChamp.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ public function confirmOtp(string $reference, string $otp)
312312
{
313313
$data = [
314314
'verification_reference' => $reference,
315-
'verification_otp' => $otp,
315+
'verification_code' => $otp,
316316
];
317317

318318
return $this->setRequestOptions()->setHttpResponse('/verification/confirm', 'POST', $data)->getResponse();

0 commit comments

Comments
 (0)