Skip to content

Returns the wallet URL for the current user

GET
/api/user/current/{walletType}/wallet

Authorizations

Parameters

Path Parameters

walletType*

Type of wallet to generate (google or apple)

Typestring
Required
Enumgoogle, apple

Responses

Not logged in.

Samples

cURL
curl -X GET http://localhost/api/user/current/{walletType}/wallet
JavaScript
fetch("http://localhost/api/user/current/{walletType}/wallet")
  .then(response => response.json())
  .then(data => console.log(data));
PHP
file_get_contents("http://localhost/api/user/current/{walletType}/wallet");
Python
import requests
response = requests.get("http://localhost/api/user/current/{walletType}/wallet")
print(response.json())