Authentication
SwiftRef API is available over the Internet and MV-SIPN. This API uses Password grant type for issuing access tokens to client applications. The required credentials to access the API are the same whether you intend to use the SwiftRef API over the Internet or over MV-SIPN. Follow the information below to request an access token and use it to call the API endpoints defined in the SwiftRef API Reference.
Request Access Token
When you have the following credentials, you are ready to requests the access token.
- App is created under the dedicated account for SwiftRef and app includes SwiftRef API.
- App has been promoted to Live.
- Customer number request has been submitted.
- If you intend to use SwiftRef API over MV-SIPN, you have indidcated so in the request above.
- License ID and Secret is created for your contract.
Authorisation URLs
Refer to the URLs under Authorisation API Base URLs to determine the URL you should use whether you are accessing the API over the Internet or MV-SIPN or the environment.
Authorization Header
Refer to Authorization Header to learn how to use the consumer-key and consumer-secret from the apps you created.
Request Body
Refer to Password grant type to learn the request parameters you should include in the API request.
Making your first SwiftRef API call
When you have obtained an access token, you can use access token to call SwiftRef API. You also have the option to refresh access token after it expires. We highly recommend that you dispose access token when it is no longer needed.