Billing and Usage
Account Profile
Security Settings
Add Payment Gateway
Users
Roles
Groups
Alert Preferences
Export Preferences
Custom Branding
Connect your payment gateway to Acme Analytics so you can easily manage your online business.
This page demonstrates the retrieval of an OAuth 2.0 Access Token which can be used by a CyberSource partner (client application - see below) to access CyberSource ON BEHALF OF a CyberSource merchant (Resource Owner - see below).
In OAuth 2.0 nomenclature a CyberSource partner application (e.g. shopping cart, analytics application, invoicing solution, etc.) is referred to as a Client Application.
In the CyberSource ecosystem, the Resource Owners are merchants. The client applications use the CyberSource OAuth 2.0 flow to transact with the merchant resources via our APIs. E.g. retrieve merchant subscriptions data.
Connect with the CyberSource OAuth 2.0 Authorization endpoint (see source behind button above).
Use the Authorization Code returned from Step 1 to retrieve an Access Token (and Refresh Token) from our /token RESTful endpoint.
POST : https://api-ma.cybersource.com/oauth2/v3/token
Content-Type: application/x-www-form-urlencoded v-c-client-correlation-id: 123456789
grant_type=authorization_code&code=sg#thsu67&client_id=o2client
Use the Access Code from Step 2 to access the CyberSource API (TBD)
Sample Request
Authorization: Bearer
eyJraWQiOiIyNmRjfjVkZTdlMmYwYTI0ODg0MjU1YjIwZWJjMGY0MSIsImFs
curl -X POST -H "Authorization: Bearer ACCESS_TOKEN""https://
api.cybersource.com/pts/v2/payments"