BEARER TOKEN LIFESPAN
The lifespan of a Bearer token is one hour (3600 seconds) for both sandbox and production environments.
- For example, generate a bearer token.
- Use your sandbox client ID and client secret in their respective fields, and use
client_credentialsin the grant_type field and click Try It.
Click 200, highlighted in the following figure, to view the sample response contents.
For sandbox usage, all fields must have the correct predefined values to obtain a successful response. Inventing new PMI values or using real-world PMI values will result in errors. Please provide all of the values, such as tradingPartnerServiceId, controlNumber,subscriber, and so on marked as required (R) (see example) in your API requests.
Updated 9 months ago