---
updatedAt: 2025-10-16T01:35:58.000Z
agentTools:
  projectIndex: https://developer.greendot.com/embedded-finance/llms.txt
---

# Return

Reverse Transaction

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "FSC Retail APIs",
    "description": "Retail FSC Function Set",
    "contact": {
      "email": "GDS-Gateway-Retail@greendotcorp.com"
    },
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://fscpartner.qa.eus.azkubenp.com/api"
    }
  ],
  "paths": {
    "/transaction/return": {
      "post": {
        "tags": [
          "AuthTransaction"
        ],
        "description": "Reverse Transaction",
        "operationId": "Return",
        "parameters": [
          {
            "name": "X-GD-RequestId",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "JSON request ",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/voidRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The Return response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/voidResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "requestMetadata": {
        "required": [
          "requestId",
          "storeId",
          "merchantId",
          "userId",
          "requestDateTime"
        ],
        "type": "object",
        "properties": {
          "requestId": {
            "maxLength": 50,
            "minLength": 1,
            "type": "string"
          },
          "storeId": {
            "maxLength": 20,
            "minLength": 1,
            "type": "string"
          },
          "merchantId": {
            "maxLength": 20,
            "minLength": 1,
            "type": "string"
          },
          "userId": {
            "maxLength": 50,
            "minLength": 1,
            "type": "string"
          },
          "requestDateTime": {
            "minLength": 1,
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "registerId": {
            "maxLength": 20,
            "minLength": 0,
            "type": "string"
          },
          "sourceProgramCode": {
            "maxLength": 50,
            "minLength": 1,
            "type": "string"
          },
          "options": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          }
        }
      },
      "responseMetadata": {
        "type": "object",
        "properties": {
          "requestId": {
            "type": "string"
          },
          "responseId": {
            "type": "string"
          },
          "responseDateTime": {
            "type": "string",
            "format": "date-time"
          },
          "responseCode": {
            "type": "integer",
            "format": "int32"
          },
          "responseDescription": {
            "type": "string"
          }
        }
      },
      "voidRequest": {
        "required": [
          "originalTransactionId",
          "metadata"
        ],
        "type": "object",
        "properties": {
          "originalTransactionId": {
            "maxLength": 50,
            "minLength": 1,
            "type": "string",
            "nullable": true
          },
          "accountNumber": {
            "type": "string",
            "nullable": true
          },
          "accountIdentifier": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "metadata": {
            "$ref": "#/components/schemas/requestMetadata"
          }
        }
      },
      "voidResponse": {
        "type": "object",
        "properties": {
          "metadata": {
            "$ref": "#/components/schemas/responseMetadata"
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```