---
updatedAt: 2026-04-06T12:57:35.000Z
agentTools:
  projectIndex: https://boomfi.readme.io/llms.txt
---

# Get Payment by ID

The **Get Payment by ID** endpoint allows you to retrieve information about a specific payment transaction using its unique identifier. This endpoint provides comprehensive data on the payment, including its status, method, amount, and currency.        


<HTMLBlock>{`
<style>
  :root {
    --callout-border: 0;
    --callout-border-radius: 4px;
    --text-color: #000000;

    /* Info Callout Colors */
    --info-light-bg: #DAF8FF;
    --info-light-border: #7CCEDF;
    --info-light-header: #57B3C7;
    --info-light-text: #283652;
    --info-light-link: #57B3C7;
    --info-dark-bg: #DAF8FF;
    --info-dark-border: #7CCEDF;
    --info-dark-header: #57B3C7;
    --info-dark-text: #97B5BC;
    --info-dark-link: #57B3C7;

    /* Okay Callout Colors */
    --okay-light-bg: #DFFFE8;
    --okay-light-border: #116E5F;
    --okay-light-header: #116E5F;
    --okay-light-text: #116E5F;
    --okay-light-link: #61AEA0;
    --okay-dark-bg: #DFFFE8;
    --okay-dark-header: #5BB2A4;
    --okay-dark-text: #7B9792;
    --okay-dark-link: #61AEA0;

    /* Default Callout Colors */
    --default-light-bg: #e8e8e8;
    --default-light-border: #ACACAC;
    --default-light-text: #8A8A8A;
    --default-dark-bg: #e8e8e8;
    --default-dark-text: #FFFFFF;

    /* Warn Callout Colors */
    --warn-light-bg: #fff9c2;
    --warn-light-border: #FFB293;
    --warn-light-header: #FF966B;
    --warn-light-text: #80776C;
    --warn-light-link: #FF966B;
    --warn-dark-bg: #fff9c2;
    --warn-dark-header: #FF966B;
    --warn-dark-text: #989693;
    --warn-dark-link: #FF966B;

    /* Error Callout Colors */
    --error-light-bg: #ffdada;
    --error-light-border: #FA94A6;
    --error-light-header: #FF728B;
    --error-light-text: #B56978;
    --error-light-link: #FF728B;
    --error-dark-bg: #ffdada;
    --error-dark-header: #FF728B;
    --error-dark-text: #C6A5AB;
    --error-dark-link: #FF728B;
  }

  .field-description blockquote,
  .markdown-body blockquote {
    border-left: 0;
  }

  .callout {
    border-radius: var(--callout-border-radius);
    border: var(--callout-border);
  }

  .callout .callout-heading p,
  .callout p,
  .callout ul {
    color: var(--text-color) !important;
  }

  @media (prefers-color-scheme: dark) {

    [data-color-mode="system"] .callout .callout-heading p,
    [data-color-mode="system"] .callout p,
    [data-color-mode="system"] .callout ul {
      color: var(--text-color) !important;
    }
  }

  [data-color-mode="dark"] .callout .callout-heading p,
  [data-color-mode="dark"] .callout p,
  [data-color-mode="dark"] .callout ul {
    color: var(--text-color) !important;
  }

  /* INFO CALLOUT */
  .callout.callout_info {
    background: var(--info-light-bg);
  }

  .callout.callout_info a {
    color: var(--info-light-link);
  }

  @media (prefers-color-scheme: dark) {
    [data-color-mode="system"] .callout.callout_info {
      background-color: var(--info-dark-bg) !important;
    }

    [data-color-mode="system"] .callout.callout_info a {
      color: var(--info-dark-link) !important;
    }
  }

  [data-color-mode="dark"] .callout.callout_info {
    background-color: var(--info-dark-bg) !important;
  }

  [data-color-mode="dark"] .callout.callout_info a {
    color: var(--info-dark-link) !important;
  }

  /* INFO CALLOUT */

  /* OKAY CALLOUT */
  .callout.callout_okay {
    background: var(--okay-light-bg);
  }

  .callout.callout_okay a {
    color: var(--okay-light-link);
  }

  @media (prefers-color-scheme: dark) {
    [data-color-mode="system"] .callout.callout_okay {
      background-color: var(--okay-dark-bg) !important;
    }

    [data-color-mode="system"] .callout.callout_okay a {
      color: var(--okay-dark-link) !important;
    }
  }

  [data-color-mode="dark"] .callout.callout_okay {
    background-color: var(--okay-dark-bg) !important;
  }

  [data-color-mode="dark"] .callout.callout_okay a {
    color: var(--okay-dark-link) !important;
  }

  /* OKAY CALLOUT */

  /* DEFAULT CALLOUT */
  .callout.callout_default {
    background: var(--default-light-bg);
  }

  .callout.callout_default a {
    color: var(--text-color) !important;
  }

  @media (prefers-color-scheme: dark) {
    [data-color-mode="system"] .callout.callout_default {
      background-color: var(--default-dark-bg) !important;
    }

    [data-color-mode="system"] .callout.callout_default a {
      color: var(--text-color) !important;
    }

  }

  [data-color-mode="dark"] .callout.callout_default {
    background-color: var(--default-dark-bg) !important;
  }

  [data-color-mode="dark"] .callout.callout_default a {
    color: var(--text-color) !important;
  }

  /* DEFAULT CALLOUT */

  /* WARN CALLOUT */
  .callout.callout_warn {
    background: var(--warn-light-bg);
  }

  .callout.callout_warn a {
    color: var(--warn-light-link);
  }

  @media (prefers-color-scheme: dark) {
    [data-color-mode="system"] .callout.callout_warn {
      background-color: var(--warn-dark-bg) !important;
    }

    [data-color-mode="system"] .callout.callout_warn a {
      color: var(--warn-dark-link);
    }
  }

  [data-color-mode="dark"] .callout.callout_warn {
    background-color: var(--warn-dark-bg) !important;
  }

  [data-color-mode="dark"] .callout.callout_warn a {
    color: var(--warn-dark-link);
  }

  /* WARN CALLOUT */

  /* ERROR CALLOUT */
  .callout.callout_error {
    background: var(--error-light-bg);
  }

  .callout.callout_error a {
    color: var(--error-light-link);
  }

  @media (prefers-color-scheme: dark) {
    [data-color-mode="system"] .callout.callout_error {
      background-color: var(--error-dark-bg) !important;
    }

    [data-color-mode="system"] .callout.callout_error a {
      color: var(--error-dark-link);
    }
  }

  [data-color-mode="dark"] .callout.callout_error {
    background-color: var(--error-dark-bg) !important;
  }

  [data-color-mode="dark"] .callout.callout_error a {
    color: var(--error-dark-link);
  }

  /* ERROR CALLOUT */

  img {
    border-radius: 14px !important;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.15);
  }

  .Sidebar-listWrapper6Q9_yUrG906C.rm-Sidebar-section:nth-child(3),
  .rm-Sidebar-section:nth-child(3), .rm-Sidebar-section:nth-child(4) {
    display: none;
  }

  .Select option {
    color: var(--color-input-text);
  }
</style>
`}</HTMLBlock>

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "description": "The BoomFi Merchants API provides a set of endpoints for merchants to manage their accounts, transactions, and more.",
    "title": "BoomFi Merchants API",
    "contact": {
      "name": "API Support",
      "email": "support@boomfi.xyz"
    },
    "version": "1.0"
  },
  "paths": {
    "/v1/payments/{paymentId}": {
      "get": {
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "description": "The **Get Payment by ID** endpoint allows you to retrieve information about a specific payment transaction using its unique identifier. This endpoint provides comprehensive data on the payment, including its status, method, amount, and currency.        \n",
        "tags": [
          "Payments"
        ],
        "summary": "Get Payment by ID",
        "operationId": "get-payment-by-id",
        "parameters": [
          {
            "description": "Unique identifier of a payment in the system.",
            "name": "paymentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/internal.Response-payments_PaymentResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/internal.ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/internal.ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/internal.ErrorResponse500"
                }
              }
            }
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "//mapi.boomfi.xyz"
    }
  ],
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "name": "X-API-KEY",
        "in": "header"
      }
    },
    "schemas": {
      "customers.CustomerResponse": {
        "type": "object",
        "properties": {
          "created_at": {
            "description": "The timestamp indicating when the customer was created.",
            "type": "string",
            "example": "2023-01-01T12:00:00Z"
          },
          "deleted_at": {
            "description": "The timestamp indicating when the customer was deleted, if applicable.",
            "type": "string",
            "example": "2023-01-05T10:00:00Z"
          },
          "email": {
            "description": "The email address of the customer.",
            "type": "string",
            "example": "customer@example.com"
          },
          "id": {
            "description": "The unique identifier of the customer.",
            "type": "string",
            "example": "customer123"
          },
          "metadata": {
            "type": "object",
            "additionalProperties": {}
          },
          "name": {
            "description": "The name of the customer.",
            "type": "string",
            "example": "John Doe"
          },
          "org_id": {
            "description": "The identifier representing the organization associated with the customer.",
            "type": "string",
            "example": "org123"
          },
          "phone": {
            "description": "The phone number of the customer.",
            "type": "string",
            "example": 1234567890
          },
          "properties": {
            "description": "Additional properties associated with the customer.",
            "type": "object",
            "additionalProperties": {}
          },
          "reference": {
            "description": "The reference associated with the customer.",
            "type": "string",
            "example": "REF-123456"
          },
          "updated_at": {
            "description": "The timestamp indicating when the customer was last updated.",
            "type": "string",
            "example": "2023-01-02T09:00:00Z"
          },
          "v1": {},
          "wallet_address": {
            "description": "The wallet address associated with the customer.",
            "type": "string",
            "example": 4.059726770363619e+44
          }
        }
      },
      "internal.ErrorResponse": {
        "type": "object",
        "properties": {
          "error": {
            "$ref": "#/components/schemas/internal.ErrorStruct"
          }
        }
      },
      "internal.ErrorResponse500": {
        "type": "object",
        "properties": {
          "error": {
            "$ref": "#/components/schemas/internal.ErrorStruct500"
          }
        }
      },
      "internal.ErrorStruct": {
        "type": "object",
        "properties": {
          "code": {
            "description": "The error code returned by the server.\nExample: 400",
            "type": "integer",
            "example": 400
          },
          "errors": {
            "description": "A list of detailed error objects.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/internal.SingleError"
            }
          },
          "message": {
            "description": "A descriptive message explaining the error.\nExample: Insufficient quantity",
            "type": "string",
            "example": "Insufficient quantity"
          }
        }
      },
      "internal.ErrorStruct500": {
        "type": "object",
        "properties": {
          "code": {
            "description": "The error code returned by the server.\nExample: 500",
            "type": "integer",
            "example": 500
          },
          "errors": {
            "description": "A list of detailed error objects.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/internal.SingleError500"
            }
          },
          "message": {
            "description": "A descriptive message explaining the error.\nExample: Internal server error",
            "type": "string",
            "example": "Internal server error"
          }
        }
      },
      "internal.Response-payments_PaymentResponse": {
        "type": "object",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/payments.PaymentResponse"
          },
          "error": {
            "type": "boolean"
          }
        }
      },
      "internal.SingleError": {
        "type": "object",
        "properties": {
          "domain": {
            "description": "The domain associated with the error.\nExample: orders",
            "type": "string",
            "example": "orders"
          },
          "reason": {
            "description": "The reason for the error.\nExample: InsufficientQuantity",
            "type": "string",
            "example": "InsufficientQuantity"
          }
        }
      },
      "internal.SingleError500": {
        "type": "object",
        "properties": {
          "domain": {
            "description": "The domain associated with the error.\nExample: orders",
            "type": "string",
            "example": "orders"
          },
          "reason": {
            "description": "The reason for the error.\nExample: Internal",
            "type": "string",
            "example": "Internal"
          }
        }
      },
      "models.BillingSource": {
        "description": "The source  of this billing information. Can be one of the following:\n- 1 = Lago\n- 2 = Boomfi\n- 3 = Stripe\n- 4 = Chargebee",
        "type": "integer",
        "enum": [
          1,
          2,
          3,
          4
        ],
        "x-enum-varnames": [
          "BillingSourceLago",
          "BillingSourceBoomfi",
          "BillingSourceStripe",
          "BillingSourceChargebee"
        ]
      },
      "models.CryptoTransaction": {
        "type": "object",
        "properties": {
          "chain_id": {
            "description": "The unique identifier representing a blockchain network or chain.",
            "type": "integer",
            "example": 1
          },
          "created_at": {
            "description": "The timestamp indicating when the crypto transaction was created.",
            "type": "string",
            "example": "2023-01-01T12:00:00Z"
          },
          "id": {
            "description": "The unique identifier of the crypto transaction.",
            "type": "integer"
          },
          "payment_id": {
            "description": "The ID of the payment associated with the crypto transaction.",
            "allOf": [
              {
                "$ref": "#/components/schemas/sql.NullString"
              }
            ]
          },
          "raw": {
            "description": "Additional raw data associated with the crypto transaction.",
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "sequence": {
            "description": "The sequence number of the crypto transaction.",
            "type": "string",
            "example": "123456789"
          },
          "source": {
            "description": "Details of the source of the crypto transaction.",
            "allOf": [
              {
                "$ref": "#/components/schemas/models.PaymentMethod"
              }
            ]
          },
          "status": {
            "description": "The status of the crypto transaction.",
            "allOf": [
              {
                "$ref": "#/components/schemas/models.TransactionStatus"
              }
            ]
          },
          "transaction_hash": {
            "description": "The transaction hash of the crypto transaction.",
            "type": "string",
            "example": "0x0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"
          },
          "type": {
            "description": "The type of the crypto transaction.",
            "allOf": [
              {
                "$ref": "#/components/schemas/models.TransactionType"
              }
            ]
          },
          "updated_at": {
            "description": "The timestamp indicating when the crypto transaction was last updated.",
            "type": "string",
            "example": "2023-01-01T12:30:00Z"
          }
        }
      },
      "models.PaymentMethod": {
        "description": "The payment method:\n- 1 = Unknown\n- 2 = Merchantcontract\n- 3 = Proxywallet\n- 4 = Unblock\n- 5 = Card\n- 6 = Googlepay\n- 7 = Applepay\n- 8 = Paypal\n- 9 = Directdebit\n- 10 = Ramp\n- 11 = Rampcryptosettlement",
        "type": "integer",
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11
        ],
        "x-enum-varnames": [
          "PaymentMethodUnknown",
          "PaymentMethodMerchantcontract",
          "PaymentMethodProxywallet",
          "PaymentMethodUnblock",
          "PaymentMethodCard",
          "PaymentMethodGooglepay",
          "PaymentMethodApplepay",
          "PaymentMethodPaypal",
          "PaymentMethodDirectdebit",
          "PaymentMethodRamp",
          "PaymentMethodRampcryptosettlement"
        ]
      },
      "models.PaymentStatus": {
        "description": "The current status of the payment_id:\n- 1 = Unknown\n- 2 = Requirespaymentmethod\n- 3 = Requiresconfirmation\n- 4 = Requiresaction\n- 5 = Processing\n- 6 = Succeeded\n- 7 = Canceled\n- 8 = Failed",
        "type": "integer",
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8
        ],
        "x-enum-varnames": [
          "PaymentStatusUnknown",
          "PaymentStatusRequirespaymentmethod",
          "PaymentStatusRequiresconfirmation",
          "PaymentStatusRequiresaction",
          "PaymentStatusProcessing",
          "PaymentStatusSucceeded",
          "PaymentStatusCanceled",
          "PaymentStatusFailed"
        ]
      },
      "models.TransactionStatus": {
        "description": "The transaction's current models.PaymentStatus:\n- 1 = Pending\n- 2 = Success\n- 3 = Failed",
        "type": "integer",
        "enum": [
          1,
          2,
          3
        ],
        "x-enum-varnames": [
          "TransactionStatusPending",
          "TransactionStatusSuccess",
          "TransactionStatusFailed"
        ]
      },
      "models.TransactionType": {
        "description": "The type of the transaction:\n- 1 = Unknown\n- 2 = Approval\n- 3 = Deposit\n- 4 = Withdraw\n- 5 = Payment\n- 6 = Refund\n- 7 = Subscribe\n- 8 = Unsubscribe\n- 9 = Internal\n- 10 = Swap",
        "type": "integer",
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10
        ],
        "x-enum-varnames": [
          "TransactionTypeUnknown",
          "TransactionTypeApproval",
          "TransactionTypeDeposit",
          "TransactionTypeWithdraw",
          "TransactionTypePayment",
          "TransactionTypeRefund",
          "TransactionTypeSubscribe",
          "TransactionTypeUnsubscribe",
          "TransactionTypeInternal",
          "TransactionTypeSwap"
        ]
      },
      "paylinks.PaymentLinkResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The unique identifier for the paylink",
            "example": "2Z4zsnmp37AF3WKM6N2j4wmeakr"
          },
          "plan_id": {
            "type": "string",
            "description": "The ID of the associated plan",
            "example": "2Z4zspFMhs2pMYjcR3l6JpJaWdA"
          },
          "invoice_id": {
            "type": "string",
            "description": "The ID of the associated invoice",
            "example": ""
          },
          "source": {
            "type": "string",
            "description": "The source of the paylink",
            "example": "BoomFi"
          },
          "customer_ident_collection": {
            "type": "boolean",
            "description": "Indicates if customer identification collection is enabled",
            "example": false
          },
          "shipping_address_collection": {
            "type": "boolean",
            "description": "Indicates if shipping address collection is enabled",
            "example": false
          },
          "tax_ident_collection": {
            "type": "boolean",
            "description": "Indicates if tax identification collection is enabled",
            "example": false
          },
          "enabled": {
            "type": "boolean",
            "description": "Indicates if the paylink is enabled",
            "example": true
          },
          "deleted_at": {
            "type": "string",
            "format": "date-time",
            "description": "The timestamp when the paylink was deleted",
            "example": "2023-12-04T13:25:48.499Z"
          },
          "created_by": {
            "type": "string",
            "description": "The ID of the user who created the paylink",
            "example": "2TzGhPCAfFWLPBjtc6h52Aao2S6"
          },
          "updated_by": {
            "type": "string",
            "description": "The ID of the user who last updated the paylink",
            "example": ""
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "description": "The timestamp when the paylink was created",
            "example": "2023-12-04T13:25:48.496Z"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time",
            "description": "The timestamp when the paylink was last updated",
            "example": "2023-12-04T13:25:48.499Z"
          },
          "available_quantity": {
            "type": "number",
            "description": "The remaining number of times this payment link can be used. `null` indicates unlimited usage.\n\n- Decremented on each successful or failed payment.\n- Restored when a payment is canceled.\n- When the value reaches zero, the payment link becomes invalid.\n"
          },
          "expires_at": {
            "type": "string",
            "format": "date-time",
            "description": "The expiration date and time of the payment link. Any checkout attempt after this timestamp will fail.",
            "example": "2026-12-31T23:59:59Z"
          },
          "metadata": {
            "type": "object",
            "description": "Additional metadata associated with the paylink",
            "example": {}
          },
          "properties": {
            "type": "object",
            "description": "Additional properties associated with the paylink",
            "properties": {
              "short_code": {
                "type": "string",
                "description": "The short code associated with the paylink",
                "example": "AANj9Dm7Zl"
              }
            }
          },
          "plan": {
            "type": "object",
            "description": "The details of the associated plan",
            "properties": {
              "id": {
                "type": "string",
                "description": "The unique identifier for the plan",
                "example": "2Z4zspFMhs2pMYjcR3l6JpJaWdA"
              },
              "org_id": {
                "type": "string",
                "description": "The organization ID associated with the plan",
                "example": "2Tpmnmh6GHJXumKN1oBy2u56Ima"
              },
              "source": {
                "type": "string",
                "description": "The source of the plan",
                "example": "Lago"
              },
              "name": {
                "type": "string",
                "description": "The name of the plan",
                "example": "test paylink 12 04"
              },
              "type": {
                "type": "string",
                "description": "The type of the plan",
                "example": "OneTime"
              },
              "billing_scheme": {
                "type": "string",
                "description": "The billing scheme of the plan",
                "example": "FlatFee"
              },
              "price": {
                "type": "string",
                "description": "The price of the plan",
                "example": "1"
              },
              "currency": {
                "type": "string",
                "description": "The currency of the plan",
                "example": "USD"
              },
              "available_quantity": {
                "type": "integer",
                "description": "The available quantity of the plan",
                "example": 0
              },
              "trial_period": {
                "type": "string",
                "description": "The trial period of the plan",
                "example": ""
              },
              "recurring_interval": {
                "type": "string",
                "description": "The recurring interval of the plan",
                "example": "Unknown"
              },
              "recurring_interval_count": {
                "type": "integer",
                "description": "The recurring interval count of the plan",
                "example": 1
              },
              "recurring_usage_type": {
                "type": "string",
                "description": "The recurring usage type of the plan",
                "example": "Unknown"
              },
              "reference": {
                "type": "string",
                "description": "The reference of the plan",
                "example": ""
              },
              "enabled": {
                "type": "boolean",
                "description": "Indicates if the plan is enabled",
                "example": true
              },
              "v1": {
                "type": "string",
                "description": "Additional information about the plan",
                "example": "eyJwbGFucyI6IHsiaWQiOiAiYWE1ZmI5MjQtMmMzZi00NzcwLTkyZDEtMjFjYmY3ODc3ODc2IiwgIm5hbWUiOiAidGVzdCBwYXlsaW5rIDEyIDA0IiwgInN0YXR1cyI6ICJhY3RpdmUiLCAiaW50ZXJ2YWwiOiBudWxsLCAicmVmZXJlbmNlIjogIiIsICJhbW91bnRfd2VpIjogIjEwMCIsICJjcmVhdGVkX2F0IjogIjIwMjMtMTI..."
              },
              "created_by": {
                "type": "string",
                "description": "The ID of the user who created the plan",
                "example": "2TzGhPCAfFWLPBjtc6h52Aao2S6"
              },
              "created_at": {
                "type": "string",
                "format": "date-time",
                "description": "The timestamp when the plan was created",
                "example": "2023-12-04T13:25:47.656Z"
              },
              "updated_at": {
                "type": "string",
                "format": "date-time",
                "description": "The timestamp when the plan was last updated",
                "example": "2023-12-04T13:25:48.491Z"
              },
              "deleted_at": {
                "type": "string",
                "format": "date-time",
                "description": "The timestamp when the plan was deleted",
                "example": null
              },
              "metadata": {
                "type": "object",
                "description": "Additional metadata associated with the plan",
                "example": {}
              }
            }
          }
        }
      },
      "payments.PaymentResponse": {
        "type": "object",
        "properties": {
          "amount": {
            "description": "The amount associated with the payment.",
            "type": "string",
            "example": "100.00"
          },
          "created_at": {
            "description": "The timestamp indicating when the payment was created.",
            "type": "string",
            "example": "2023-01-01T12:00:00Z"
          },
          "crypto_transaction": {
            "$ref": "#/components/schemas/models.CryptoTransaction"
          },
          "currency": {
            "description": "The currency of the payment.",
            "type": "string",
            "example": "USD"
          },
          "customer": {
            "$ref": "#/components/schemas/customers.CustomerResponse"
          },
          "customer_id": {
            "description": "The ID of the customer associated with the payment.",
            "type": "string",
            "example": "customer123"
          },
          "id": {
            "description": "The unique identifier of the payment.",
            "type": "string",
            "example": "payment123"
          },
          "invoice_id": {
            "description": "The ID of the invoice associated with the payment.",
            "type": "string",
            "example": "invoice123"
          },
          "next_action": {
            "description": "The next action related to the payment.",
            "type": "string",
            "example": "verify_payment"
          },
          "org_id": {
            "description": "The ID of the organization associated with the payment.",
            "type": "string",
            "example": "org123"
          },
          "parent_id": {
            "description": "The ID of the parent payment if this payment is a part of a larger transaction.",
            "type": "string",
            "example": "parent_payment123"
          },
          "payment_link": {
            "$ref": "#/components/schemas/paylinks.PaymentLinkResponse"
          },
          "payment_method": {
            "description": "Details of the payment method used for the payment.",
            "allOf": [
              {
                "$ref": "#/components/schemas/models.PaymentMethod"
              }
            ]
          },
          "properties": {
            "description": "Additional properties associated with the payment.",
            "type": "object",
            "additionalProperties": {}
          },
          "scheduled_time": {
            "description": "The scheduled time for the payment.",
            "type": "integer",
            "example": 1643712000
          },
          "source": {
            "description": "Details of the billing source associated with the payment.",
            "allOf": [
              {
                "$ref": "#/components/schemas/models.BillingSource"
              }
            ]
          },
          "status": {
            "description": "The status of the payment.",
            "allOf": [
              {
                "$ref": "#/components/schemas/models.PaymentStatus"
              }
            ]
          },
          "updated_at": {
            "description": "The timestamp indicating when the payment was last updated.",
            "type": "string"
          },
          "v1": {
            "description": "v1",
            "type": "array",
            "items": {
              "type": "integer"
            }
          }
        }
      },
      "sql.NullString": {
        "type": "object",
        "properties": {
          "string": {
            "type": "string"
          },
          "valid": {
            "description": "Valid is true if String is not NULL",
            "type": "boolean"
          }
        }
      }
    }
  }
}
```