MerchantConversionTransaction
Schema:MerchantConversionTransaction
OpenAPI Specification
yaml
openapi: 3.0.1
info:
title: ''
description: ''
version: 1.0.0
paths: {}
components:
schemas:
MerchantConversionTransaction:
allOf:
- $ref: '#/components/schemas/BaseMerchantTransaction'
- type: object
required:
- fromAmount
- fromCurrency
- toAmount
- toCurrency
- fee
properties:
type:
type: string
enum:
- conversion
description: Transaction type.
fromAmount:
type: number
description: Original amount before conversion.
fromCurrency:
type: string
enum:
- usdt
- brl
description: Currency before conversion.
toAmount:
type: number
description: Amount after conversion.
toCurrency:
type: string
enum:
- usdt
- brl
description: Currency after conversion.
fee:
type: object
properties:
percentage:
type: number
description: Fee percentage.
fixed:
type: number
description: Fixed fee amount.
x-apifox-orders:
- percentage
- fixed
x-apifox-orders:
- type
- fromAmount
- fromCurrency
- toAmount
- toCurrency
- fee
x-apifox-folder: ''
BaseMerchantTransaction:
type: object
required:
- transactionId
- type
- status
- createdAt
- updatedAt
properties:
transactionId:
type: string
description: Unique identifier of the transaction.
merchantExternalId:
type: string
description: Merchant's external identifier.
type:
type: string
description: Type of the transaction.
status:
type: string
description: Current status of the transaction.
createdAt:
type: string
format: date-time
description: Creation date and time.
updatedAt:
type: string
format: date-time
description: Last update date and time.
x-apifox-orders:
- transactionId
- merchantExternalId
- type
- status
- createdAt
- updatedAt
x-apifox-folder: ''
securitySchemes: {}
servers: []
security: []