@@ -2,7 +2,7 @@ openapi: 3.0.2
22info:
33 description: An OpenAPI specifications for unit-sdk clients
44 title: Unit OpenAPI specifications
5- version: 0.2.3
5+ version: 0.2.4
66servers:
77- url: https://api.s.unit.sh
88security:
@@ -6832,6 +6832,7 @@ components:
68326832 cardTransaction: '#/components/schemas/CardTransaction'
68336833 releaseTransaction: '#/components/schemas/ReleaseTransaction'
68346834 wireTransaction: '#/components/schemas/WireTransaction'
6835+ returnedWireTransaction: '#/components/schemas/ReturnedWireTransaction'
68356836 interestShareTransaction: '#/components/schemas/InterestShareTransaction'
68366837 interestTransaction: '#/components/schemas/InterestTransaction'
68376838 adjustmentTransaction: '#/components/schemas/AdjustmentTransaction'
@@ -6853,8 +6854,10 @@ components:
68536854 returnedCheckPaymentTransaction: '#/components/schemas/ReturnedCheckPaymentTransaction'
68546855 cardReversalTransaction: '#/components/schemas/CardReversalTransaction'
68556856 feeReversalTransaction: '#/components/schemas/FeeReversalTransaction'
6857+ pushToCardTransaction: '#/components/schemas/PushToCardTransaction'
68566858 pushToCardReversalTransaction: '#/components/schemas/PushToCardReversalTransaction'
68576859 paymentCanceledTransaction: '#/components/schemas/PaymentCanceledTransaction'
6860+ writeOffTransaction: '#/components/schemas/WriteOffTransaction'
68586861 propertyName: type
68596862 properties:
68606863 id:
@@ -6874,6 +6877,7 @@ components:
68746877 - cardTransaction
68756878 - releaseTransaction
68766879 - wireTransaction
6880+ - returnedWireTransaction
68776881 - interestShareTransaction
68786882 - interestTransaction
68796883 - adjustmentTransaction
@@ -6895,8 +6899,10 @@ components:
68956899 - returnedCheckPaymentTransaction
68966900 - cardReversalTransaction
68976901 - feeReversalTransaction
6902+ - pushToCardTransaction
68986903 - pushToCardReversalTransaction
68996904 - paymentCanceledTransaction
6905+ - writeOffTransaction
69006906 type: string
69016907 title: Transaction Resource
69026908 type: object
@@ -7225,6 +7231,29 @@ components:
72257231 type: object
72267232 title: Wire Transaction
72277233 type: object
7234+ ReturnedWireTransactionRelationships:
7235+ allOf:
7236+ - required:
7237+ - account
7238+ - payment
7239+ type: object
7240+ - $ref: '#/components/schemas/DefaultTransactionRelationships'
7241+ - $ref: '#/components/schemas/PaymentRelationship'
7242+ ReturnedWireTransaction:
7243+ allOf:
7244+ - $ref: '#/components/schemas/Transaction'
7245+ - additionalProperties: false
7246+ properties:
7247+ attributes:
7248+ $ref: '#/components/schemas/ReturnedWireTransaction_allOf_attributes'
7249+ relationships:
7250+ $ref: '#/components/schemas/ReturnedWireTransactionRelationships'
7251+ required:
7252+ - attributes
7253+ - relationships
7254+ type: object
7255+ title: Returned Wire Transaction
7256+ type: object
72287257 InterestShareTransactionRelationships:
72297258 allOf:
72307259 - required:
@@ -7745,6 +7774,30 @@ components:
77457774 type: object
77467775 title: FeeReversal
77477776 type: object
7777+ PushToCardTransactionRelationships:
7778+ allOf:
7779+ - required:
7780+ - account
7781+ - org
7782+ type: object
7783+ - $ref: '#/components/schemas/DefaultTransactionRelationships'
7784+ - $ref: '#/components/schemas/PaymentRelationship'
7785+ - $ref: '#/components/schemas/OrgRelationship'
7786+ PushToCardTransaction:
7787+ allOf:
7788+ - $ref: '#/components/schemas/Transaction'
7789+ - additionalProperties: false
7790+ properties:
7791+ attributes:
7792+ $ref: '#/components/schemas/FeeTransaction_allOf_attributes'
7793+ relationships:
7794+ $ref: '#/components/schemas/PushToCardTransactionRelationships'
7795+ required:
7796+ - attributes
7797+ - relationships
7798+ type: object
7799+ title: Push To Card Transaction
7800+ type: object
77487801 OriginalTransactionRelationship:
77497802 properties:
77507803 originalTransaction:
@@ -7792,7 +7845,7 @@ components:
77927845 - additionalProperties: false
77937846 properties:
77947847 attributes:
7795- $ref: '#/components/schemas/ReturnedCheckDepositTransaction_allOf_attributes '
7848+ $ref: '#/components/schemas/CheckDepositTransaction_allOf_attributes '
77967849 relationships:
77977850 $ref: '#/components/schemas/PaymentCanceledTransactionRelationships'
77987851 required:
@@ -7801,6 +7854,25 @@ components:
78017854 type: object
78027855 title: Payment Canceled Transaction
78037856 type: object
7857+ WriteOffTransactionRelationships:
7858+ allOf:
7859+ - title: Write Off Transaction Relationships
7860+ - $ref: '#/components/schemas/DefaultTransactionRelationships'
7861+ WriteOffTransaction:
7862+ allOf:
7863+ - $ref: '#/components/schemas/Transaction'
7864+ - additionalProperties: false
7865+ properties:
7866+ attributes:
7867+ $ref: '#/components/schemas/FeeTransaction_allOf_attributes'
7868+ relationships:
7869+ $ref: '#/components/schemas/WriteOffTransactionRelationships'
7870+ required:
7871+ - attributes
7872+ - relationships
7873+ type: object
7874+ title: Write Off Transaction
7875+ type: object
78047876 ReturnedRelationship:
78057877 properties:
78067878 returned:
@@ -14954,6 +15026,47 @@ components:
1495415026 - direction
1495515027 - summary
1495615028 type: object
15029+ ReturnedWireTransaction_allOf_attributes:
15030+ properties:
15031+ createdAt:
15032+ format: date-time
15033+ type: string
15034+ direction:
15035+ enum:
15036+ - Credit
15037+ - Debit
15038+ type: string
15039+ amount:
15040+ format: int64
15041+ type: integer
15042+ balance:
15043+ format: int64
15044+ type: integer
15045+ summary:
15046+ type: string
15047+ reason:
15048+ type: string
15049+ imad:
15050+ type: string
15051+ omad:
15052+ type: string
15053+ tags:
15054+ additionalProperties:
15055+ maxLength: 255
15056+ minLength: 1
15057+ type: string
15058+ maxProperties: 15
15059+ type: object
15060+ required:
15061+ - amount
15062+ - balance
15063+ - counterparty
15064+ - createdAt
15065+ - direction
15066+ - imad
15067+ - reason
15068+ - summary
15069+ type: object
1495715070 AdjustmentTransaction_allOf_attributes:
1495815071 properties:
1495915072 createdAt:
0 commit comments