PATH:
home
/
lab2454c
/
crypto.keyreum.com
/
vendor
/
mollie
/
mollie-api-php
/
examples
/
profiles
<?php /* * Using OAuth access token to list profiles of an account. */ try { /* * Initialize the Mollie API library with your OAuth access token. */ require "../initialize_with_oauth.php"; /* * Get the all the profiles for this account. */ $profiles = $mollie->profiles->page(); foreach ($profiles as $profile) { echo '<div style="line-height:40px; vertical-align:top">'; echo htmlspecialchars($profile->name) . ' - ' . htmlspecialchars($profile->website) . ' (' . htmlspecialchars($profile->id) . ')'; echo '</div>'; } } catch (\Mollie\Api\Exceptions\ApiException $e) { echo "API call failed: " . htmlspecialchars($e->getMessage()); }
[-] update-profile.php
[edit]
[+]
..
[-] list-profiles.php
[edit]
[-] delete-profile.php
[edit]
[-] create-profile.php
[edit]