Skip to content

Commit

Permalink
add: account details
Browse files Browse the repository at this point in the history
  • Loading branch information
ezeasorekene committed May 7, 2024
1 parent c7a2905 commit d4e2151
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/CredoPay.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public function initialize(array $data = [])
'authorizationUrl' => $responseArray['data']['authorizationUrl'],
'reference' => $responseArray['data']['reference'],
'credoReference' => $responseArray['data']['credoReference'],
'account' => $responseArray['data']['account'] ?? null,
]
];
} else {
Expand All @@ -57,6 +58,7 @@ public function initialize(array $data = [])
'authorizationUrl' => $responseObject->data->authorizationUrl,
'reference' => $responseObject->data->reference,
'credoReference' => $responseObject->data->credoReference,
'account' => $responseObject->data->account ?? null,
]
]);
}
Expand Down

0 comments on commit d4e2151

Please sign in to comment.