Total Complexity | 3 |
Total Lines | 42 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | class Resolve extends Endpoint |
||
6 | { |
||
7 | protected const ENDPOINT = '/'; |
||
8 | |||
9 | /** |
||
10 | * Confirm an account belongs to the right customer. |
||
11 | * |
||
12 | * @param array<string, mixed> $query |
||
13 | * |
||
14 | * @link https://paystack.com/docs/api/#verification-resolve-account |
||
15 | */ |
||
16 | public function bank(array $query): self |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * Check if an account number and BVN are linked. |
||
25 | * |
||
26 | * @param array<string, mixed> $payload |
||
27 | * |
||
28 | * @link https://paystack.com/docs/api/#verification-match-bvn |
||
29 | */ |
||
30 | public function bvn(array $payload): self |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * Get more information about a customer's card. |
||
39 | * |
||
40 | * @link https://paystack.com/docs/api/#verification-resolve-card |
||
41 | */ |
||
42 | public function card(string $card_bin): self |
||
49 |