Create your test environment
In this section we explain how to configure Postman to use the API call.
For this stage, we will use Postman. You can download from this URL: https://www.postman.com/downloads/
Once Postman is installed, you can configure it by creating a new environment:
Click on
Environments
and then the+
button

Define the environment
Set a name for this environment. For example Β« ARCHIPELS CONNECT SANDBOXΒ»
Set the variable Base_URL with the available values: - Sandbox: app-api.sandbox.archipels.io - Production: app-api.archipels.io

Create a second variable "AccessTokenHolder", and paste the value of the access token you created previously in Configure an access token

Configure your wallet API collection
Create a new collection (this is where you will store all your calls). Click on Collection
, click on the +
button and select blank collection

Set a name. For example Β« Archipels Connect collection HolderΒ»
Configure the authentication to get access to the API services
Select the collection
Collection archipels Connect Holder
and click on theAuthorization
tab:

Select the type: OAuth 2.0
Enter the value of the following variable created in the environment: {{AccessTokenHolder}}. This variable will be automatically replaced by the value you defined in the environment.
Save your configuration π

For all the requests you will create in this collection, do not set an OATH authorization! Keep the default setting Inherit auth from parent
:

Dernière mise à jour
Cet article vous a-t-il Γ©tΓ© utile ?