Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: adding card_mapping key in create_card_transactions API #563

Merged
merged 2 commits into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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