pilot

Submit API Requests Using OAuth {#submitting-api-request-using-cybs-extend_id1981950047U}
=========================================================================================

You can submit API requests on behalf of the merchant using the access token. The access token expires after 15 minutes.  
Include the access token in the `Authorization` header as shown below.

> IMPORTANT
> Not all API endpoints are currently enabled for OAuth. For a list of OAuth-enabled endpoints, contact ` Visa Acceptance Solutions ` support:  
> Example: Authorization Header with Access Token  
> pilot

Error Response {#error-response_id1981970102L}
==============================================

If the token is expired or the user is unauthorized, the API responds with a 401 HTTP status code. Expired Token

```
{
  "response": {
    "rmsg": {
      "error":"ACCESS_TOKEN_EXPIRED",
      "error_description":"ACCESS_TOKEN_EXPIRED
    }
  }
}
```

Unauthorized Partner

```
{
  "response": {
    "rmsg": {
      "error": "UNAUTHORIZED_PARTNER",
      "error_description": "UNAUTHORIZED_PARTNER"
    }
  }
}
```

