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

# Regenerate tx

> Regenerates a pre-built transaction for an order.

**Offramp orders** (status `Created`): the new transaction is sent over the webhook
asynchronously. Returns `202 Accepted`.

**Stellar onramp orders with claimable balances** (status `Completed`): if the stored
claim transaction has a stale sequence number (e.g. the user transacted on Stellar
before claiming), this rebuilds the unsigned XDR with a fresh sequence number and
returns it synchronously, also updating the order's `stellarClaimTransaction` field.
Returns `200` with the fresh XDR in the body.



## OpenAPI

````yaml /openapi.json post /ramp/order/{order_id}/regenerate_tx
openapi: 3.1.0
info:
  title: Etherfuse FX API
  description: Partner-facing ramp API for onramps, offramps, swaps, and KYC.
  license:
    name: Proprietary
  version: 1.0.0
servers:
  - url: https://api.sand.etherfuse.com
    description: Sandbox
security:
  - ApiKeyAuth: []
tags:
  - name: Authentication
    description: >-
      Partner JWT authentication — exchange a JWT for an access token, or launch
      a user into the app.
  - name: Lookup
    description: >-
      Public reference data: exchange rates, stablebonds, bond costs, country
      codes.
  - name: Assets
    description: Rampable stablecoins and stablebonds available per blockchain.
  - name: Onboarding
    description: Hosted and programmatic customer onboarding.
  - name: Agreements
    description: Legal agreement acceptance during onboarding.
  - name: Bank Accounts
    description: Register and retrieve customer bank accounts.
  - name: Quotes
    description: Price quotes for onramps, offramps, and swaps.
  - name: Orders
    description: Create, track, and manage ramp orders.
  - name: Swaps
    description: Crypto-to-crypto swaps.
  - name: Sponsored
    description: Token approvals for sponsored (gasless) offramps.
  - name: Customers
    description: Customer (child-organization) records.
  - name: Wallets
    description: Register and manage customer wallets.
  - name: KYC
    description: Submit and check customer KYC status.
  - name: Webhooks
    description: Event notification subscriptions.
  - name: Organizations
    description: Organization identity, child orgs, and partner fees.
paths:
  /ramp/order/{order_id}/regenerate_tx:
    post:
      tags:
        - Orders
      summary: Regenerate tx
      description: >-
        Regenerates a pre-built transaction for an order.


        **Offramp orders** (status `Created`): the new transaction is sent over
        the webhook

        asynchronously. Returns `202 Accepted`.


        **Stellar onramp orders with claimable balances** (status `Completed`):
        if the stored

        claim transaction has a stale sequence number (e.g. the user transacted
        on Stellar

        before claiming), this rebuilds the unsigned XDR with a fresh sequence
        number and

        returns it synchronously, also updating the order's
        `stellarClaimTransaction` field.

        Returns `200` with the fresh XDR in the body.
      operationId: regenerate_tx
      parameters:
        - name: order_id
          in: path
          description: The order ID
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: A regenerated Stellar claim transaction
        '202':
          description: Regeneration accepted
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: API key sent in the Authorization header.

````