for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Iamolayemi\Paystack\Endpoints;
class Resolve extends Endpoint
{
protected const ENDPOINT = '/';
/**
* Confirm an account belongs to the right customer.
*
* @param array<string, mixed> $query
* @link https://paystack.com/docs/api/#verification-resolve-account
*/
public function bank(array $query): self
$this->get($this->url('bank/resolve'), $query);
return $this;
}
* Check if an account number and BVN are linked.
* @param array<string, mixed> $payload
* @link https://paystack.com/docs/api/#verification-match-bvn
public function bvn(array $payload): self
$this->post($this->url('bvn/match'), $payload);
* Get more information about a customer's card.
* @link https://paystack.com/docs/api/#verification-resolve-card
public function card(string $card_bin): self
$this->get($this->url('decision/bin/'.$card_bin));