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

# Recieve Payment

> Hit this endpoint to execute business logic concerning processing transactions between you and your clients

### Path

<ParamField body="amount" type="number" required>
  The amount of the transaction
</ParamField>

<ParamField body="currency" type="string" required>
  The currency that the amount is being paid in
</ParamField>

<ParamField body="token" type="string" required>
  The visa token containing private infromation regarding the transaction
</ParamField>

### Body

### Response

<ResponseField name="statusCode" type="number">
  Based off of standard HTTP request guidelines
</ResponseField>

<ResponseField name="body" type="object">
  Information concerning details about the stripe transaction
</ResponseField>

<ResponseExample>
  ```json Success Response theme={null}
  {
    "statusCode": 200,
    "body" {
      "message": {
          "message": "Payment successful!",
          "charge_id": "ch_3NgZjnKG64TDGlcq1zwBFPmC"
      }
  }
  }
  ```

  ```json Error Response theme={null}
  {
    "statusCode": 400,
    "body" {
      err: { ... },
      compelete: false
    }
  }
  ```
</ResponseExample>
