Authorization
When using the Matbia API, include the Authorization header in your requests and provide the token below as its content. This token serves to authorize API access, ensuring secure transactions. Note that the token differs depending on the environment.
Example of a cURL command with an authorization header for the sandbox environment:
curl -X POST ^ "https://sandbox.api.matbia.org/v1/Matbia/VoidPayment" ^ -H "accept: application/json" ^ -H "Authorization: DA8874A1-9393-4D59-8A79-5E436F2538A0" ^ -H "Content-Type: application/json-patch+json" ^ -d "{\"referenceId\": \"KTMV0GSX\"}"
#
SandboxToken:
Use the following token for development purposes only. It grants access to the sandbox environment of the Matbia API.
DA8874A1-9393-4D59-8A79-5E436F2538A0
#
ProductionOnce development has been implemented and tested, please email integrations@matbia.org to receive a unique token for production.