Skip to content

Commit

Permalink
feat: adding card_mapping key in create_card_transactions API (#563)
Browse files Browse the repository at this point in the history
* feat: adding card_mapping key in create_card_transactions API

* Auto generate API docs

---------

Co-authored-by: Siva <[email protected]>
  • Loading branch information
satyamyesj and snarayanank2 authored Nov 7, 2024
1 parent 5cb980a commit a65e9f3
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 14 deletions.
30 changes: 16 additions & 14 deletions reference/admin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12656,6 +12656,20 @@ components:
- no_of_debit
- no_of_credit
- no_of_transactions
card_mapping_in:
type: array
items:
type: object
properties:
statement_card_number:
type: string
description: |
Card number from statement
example: xxx5-4543
corporate_card_id:
allOf:
- $ref: '#/components/schemas/id_string'
example: bawownwrng
card_transaction_from_statement_in:
type: object
properties:
Expand Down Expand Up @@ -12769,6 +12783,8 @@ components:
This specifies list of statement line items which are to be created as RTF missing transactions.
example:
- stlisfdfadssd
card_mapping:
$ref: '#/components/schemas/card_mapping_in'
required:
- id
- statement_mapping
Expand Down Expand Up @@ -12973,20 +12989,6 @@ components:
- PROCESSING
- SUCCESS
- ERROR
card_mapping_in:
type: array
items:
type: object
properties:
statement_card_number:
type: string
description: |
Card number from statement
example: xxx5-4543
corporate_card_id:
allOf:
- $ref: '#/components/schemas/id_string'
example: bawownwrng
rtf_missing_transaction_from_statement_in:
type: object
properties:
Expand Down
2 changes: 2 additions & 0 deletions src/components/schemas/statements.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,8 @@ card_transaction_from_statement_in:
This specifies list of statement line items which are to be created as RTF missing transactions.
example:
- stlisfdfadssd
card_mapping:
$ref: '#/card_mapping_in'
required:
- id
- statement_mapping
Expand Down

0 comments on commit a65e9f3

Please sign in to comment.