diff --git a/reference/admin.yaml b/reference/admin.yaml index c05ba8e3b..2adb41b6b 100644 --- a/reference/admin.yaml +++ b/reference/admin.yaml @@ -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: @@ -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 @@ -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: diff --git a/src/components/schemas/statements.yaml b/src/components/schemas/statements.yaml index ace122f20..1c12ee1f4 100644 --- a/src/components/schemas/statements.yaml +++ b/src/components/schemas/statements.yaml @@ -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