> ## Documentation Index
> Fetch the complete documentation index at: https://docs.meld.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Reopen a transaction in the widget to view its status or request a refund

> Creates a widget session that reopens an existing transaction in the provider's widget, where the customer sees its status and, when the provider allows it, requests a refund. Transactions whose provider does not support this are rejected.



## OpenAPI

````yaml /openapi/crypto-20260203.json post /crypto/session/widget/transactions/{transactionId}
openapi: 3.1.0
info:
  title: CRYPTO
  termsOfService: urn:tos
  license:
    name: Apache 2.0
    url: https://springdoc.org
  version: '2026-02-03'
  description: ''
servers:
  - url: https://api-sb.meld.io
    description: Meld API sandbox
  - url: https://api.meld.io
    description: Meld API production
security: []
tags:
  - name: Retail Ramp
    description: ''
  - name: Headless
    description: ''
  - name: Payment
    description: ''
  - name: Session
    description: ''
paths:
  /crypto/session/widget/transactions/{transactionId}:
    post:
      tags:
        - Retail Ramp
      summary: >-
        Reopen a transaction in the widget to view its status or request a
        refund
      description: >-
        Creates a widget session that reopens an existing transaction in the
        provider's widget, where the customer sees its status and, when the
        provider allows it, requests a refund. Transactions whose provider does
        not support this are rejected.
      operationId: /crypto-session-widget-transaction-reopen
      parameters:
        - name: Meld-Version
          in: header
          description: Dated API version to use for this request, e.g. `2026-02-03`.
          required: false
          schema:
            type: string
            example: '2026-02-03'
        - name: transactionId
          in: path
          required: true
          description: The ID of the Meld transaction to reopen.
          schema:
            type: string
      responses:
        '200':
          description: Widget created
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SessionTokenResponse'
        '400':
          description: 'Bad Request : check request values and format'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Invalid credentials
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Unauthenticated or authenticated with insufficient access
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: >-
            Server Error. This applies to all 5xx errors, including but not
            limited to 500, 501, 502, 503, and 504 errors. You should treat all
            of these errors the same.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    SessionTokenResponse:
      type: object
      properties:
        customerId:
          type: string
          description: >-
            Meld generated unique identifier for your customer. This should be
            used to track customer activity.
        externalCustomerId:
          type: string
          description: >-
            Your unique identifier for your customer. If maintaining your own
            customer management system this can also be used for tracking
            customer activity.
        externalSessionId:
          type: string
          description: Your reference Id for your widget session
        id:
          type: string
          description: Unique identifier for this session
        serviceProviderWidgetUrl:
          type: string
          description: The service provider's widget URL
        token:
          type: string
          description: The session token
        widgetUrl:
          type: string
          description: The crypto widget URL
    ErrorResponse:
      properties:
        code:
          type: string
        message:
          type: string
        errors:
          type: array
          items:
            type: string
        serviceProviderDetails:
          type: object
          additionalProperties:
            type: object
        requestId:
          type: string
        timestamp:
          type: string
          format: date-time
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      x-default: BASIC <Meld API Key>

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.