Submitting API Requests Using OAuth
You can submit API requests on behalf of the merchant using the access token. The access token expires after fifteen minutes.
Place the access token in an
Authorizationheader as shown below.
Not all API endpoints are currently enabled for OAuth. For a list of OAuth-enabled endpoints, contact us.
Authorization: Bearer eyJraWQiOiIyNmRjfjVkZTdlMmYwYTI0ODg0MjU1YjIwZWJjMGY0MSIsImFs curl -X POST -H "Authorization: Bearer ACCESS_TOKEN""https://api-ma.cybersource.com/pts/v2/payments"