---
title: "Register payment for a Physical Card Order"
method: PUT
path: "/api/v1/order/{orderId}/attach-transaction"
tags: ["Physical Card Order"]
---

# Register payment for a Physical Card Order

`PUT /api/v1/order/{orderId}/attach-transaction`

This endpoint associates a provided on-chain transaction hash with an existing card order by its `orderId`. If the card is free, you can skip this step.

## Path parameters

- `orderId` string, required

## Request body

- object
  - `transactionHash` string, required — The on-chain transaction hash to be attached.

## Response `200`

Transaction successfully attached to the card order.

- object
  - `ok` boolean — Indicates if the operation was successful.

## Other responses

- `400` — Invalid transaction or hash already used.
- `401` — Unauthorized Error
- `404` — Card order not found.
- `500` — Internal server error.

---

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