---
title: "Create OAuth Token for Dispute Workflow"
method: POST
path: "/programs/{programCode}/accounts/{accountIdentifier}/disputes/tokens"
tags: ["DisputeAutomation"]
---

# Create OAuth Token for Dispute Workflow

`POST /programs/{programCode}/accounts/{accountIdentifier}/disputes/tokens`

Creates an OAuth token for dispute workflows, enabling secure authentication for dispute resolution operations.

## Path parameters

- `programCode` string, required
- `accountIdentifier` string, required

## Headers

- `X-GD-RequestId` string, required

## Response `200`

OK

- CreateDisputeTokenResponse — Represents the response returned after creating a dispute token. Contains access token details, token type, expiration, and scope information. Inherits standard response metadata from Gd.Bos.DataTransfer.Response.ResponseBase.
  - `accessToken` string, nullable — The access token generated for the dispute operation.
  - `tokenType` string, nullable — The type of token issued.
  - `expiresIn` integer, nullable — The number of seconds until the access token expires.
  - `scope` string, nullable — The scope of access granted by the token.
  - `responseDetails` ResponseDetail[], nullable — Required: A list of response details providing status codes, descriptions, and additional information about the result of the operation.
    - `code` integer — The primary status or error code for the response (e.g., 200 for success, 400 for validation error).
    - `subCode` integer, nullable — An optional subcode providing more granular detail about the response or error.
    - `description` string, nullable — A human-readable description of the response, error, or status.
    - `url` string, nullable — A URL linking to documentation or a web page with more information about the response code.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error
- `503` — Service Unavailable

---

[API](https://skmtc.net/greendot/apis/baas-apis.md) · [All operations](https://skmtc.net/greendot/apis/baas-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/greendot/baas-apis/versions/666553766b78/schema)
