---
agentTools:
  projectIndex: https://docs.quidax.io/llms.txt
---

# Confirm On Ramp Transaction

This endpoint confirms the on ramp transaction, and generates the bank account for fiat deposit.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Ramp Merchant API",
    "version": "3.0"
  },
  "servers": [
    {
      "url": "https://ramp-be.quidax.io/api/v1/merchants/"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "name": "x-private-key",
        "in": "header",
        "x-default": "secret_key"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/custodial/on_ramp_transactions/{merchant_reference}/confirm": {
      "post": {
        "summary": "Confirm On Ramp Transaction",
        "description": "This endpoint confirms the on ramp transaction, and generates the bank account for fiat deposit.",
        "operationId": "confirm-on-ramp-transaction",
        "parameters": [
          {
            "name": "merchant_reference",
            "in": "path",
            "schema": {
              "type": "string",
              "default": "text-reference"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"status\": \"ok\",\n    \"message\": \"Transaction successfully confirmed\",\n    \"data\": {\n        \"public_id\": \"7047c360-4ef6-404d-835d-b41dc832ed49\",\n        \"account_name\": \"test json\",\n        \"account_number\": \"0565084270\",\n        \"bank_name\": \"Test Bank\",\n        \"reference\": \"BANK_ACCOUNT_8f8102c76be41979\",\n        \"amount\": \"2000.0\",\n        \"amount_expected\": \"2053.75\",\n        \"created_at\": \"2025-05-16T14:12:11.419Z\",\n        \"updated_at\": \"2025-05-16T14:12:11.419Z\",\n        \"processor_fee\": \"50.0\",\n        \"vat\": \"3.75\"\n    }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "example": "ok"
                    },
                    "message": {
                      "type": "string",
                      "example": "Transaction successfully confirmed"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "public_id": {
                          "type": "string",
                          "example": "7047c360-4ef6-404d-835d-b41dc832ed49"
                        },
                        "account_name": {
                          "type": "string",
                          "example": "test json"
                        },
                        "account_number": {
                          "type": "string",
                          "example": "0565084270"
                        },
                        "bank_name": {
                          "type": "string",
                          "example": "Test Bank"
                        },
                        "reference": {
                          "type": "string",
                          "example": "BANK_ACCOUNT_8f8102c76be41979"
                        },
                        "amount": {
                          "type": "string",
                          "example": "2000.0"
                        },
                        "amount_expected": {
                          "type": "string",
                          "example": "2053.75"
                        },
                        "created_at": {
                          "type": "string",
                          "example": "2025-05-16T14:12:11.419Z"
                        },
                        "updated_at": {
                          "type": "string",
                          "example": "2025-05-16T14:12:11.419Z"
                        },
                        "processor_fee": {
                          "type": "string",
                          "example": "50.0"
                        },
                        "vat": {
                          "type": "string",
                          "example": "3.75"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "403",
            "content": {
              "application/json": {
                "examples": {
                  "invalid private key": {
                    "value": "{\n  \"status\": \"forbidden\",\n  \"message\": \"Invalid private key\",\n  \"data\": null\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "example": "forbidden"
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid private key"
                    },
                    "data": {}
                  }
                }
              }
            }
          },
          "404": {
            "description": "404",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"status\": \"not_found\",\n  \"message\": \"Transaction does not exist\",\n  \"data\": null\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "example": "not_found"
                    },
                    "message": {
                      "type": "string",
                      "example": "Transaction does not exist"
                    },
                    "data": {}
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "6981ba5faf9470ee082aeecd:6981ba5faf9470ee082aef60"
}
```