Introduction
Welcome to Funcional's PSP services integration docs. Here you'll find all the documentation required to integrate with our patient support services.
REST
We provide integration through REST APIs.
Testing tools
You can use some of the tools below to test requests.
JWT
For the security of our applications we use the JWT standard for our tokens.
Below we have an example of a token
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
warning
Never expose the token
, or share it with third parties
The token needs to be sent in the request header in the Authorization
field with the value Bearer
+ token
.
Example:
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
Below is an example of usage in Insomnia: