---
title: "Capture Transaction on Card"
method: POST
path: "/v2/capture?"
---

# Capture Transaction on Card

`POST /v2/capture?`

## Request body

- object
  - `transaction_id` string
  - `gross_amount` integer

## Response `200`

200

- union
  - object
    - `status_code` string
    - `status_message` string
    - `transaction_id` string
    - `masked_card` string
    - `order_id` string
    - `payment_type` string
    - `transaction_time` string
    - `transaction_status` string
    - `fraud_status` string
    - `bank` string
    - `gross_amount` string
    - `channel` string
    - `expiry_time` string
    - `settlement_time` string
  - object
    - `status_code` string
    - `status_message` string

## Other responses

- `401` — 401

---

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