Generate MT942 statement
post
/service/statement/mt942
This endpoint is used to generate MT942 statement for the given virtual account / entity.
Request
Supported Media Types
- application/json
- application/xml
Request Body that contains data required for generating statement
Root Schema : StatementInDTO
Type:
object
Match All
Show Source
-
allOf
GenericDto
-
object
StatementInDTO-allOf[1]
Nested Schema : GenericDto
Match All
Show Source
-
object
GenericDto-allOf[0]
Discriminator:
resource_type
Nested Schema : GenericDto-allOf[0]
Type:
object
Discriminator:
resource_type
Nested Schema : StatementInDTO-allOf[1]
Type:
Show Source
object
-
fromDate(required):
string
Pattern:
[0-9]{4}[-][0-9]{2}[-][0-9]{2}
Date from when the transactions have to be fetched -
toDate(required):
string
Pattern:
[0-9]{4}[-][0-9]{2}[-][0-9]{2}
Date till when the transactions have to be fetched -
virtualAccountNumber:
string
Virtual account number for which the account statement has to be generated. Please give ALL for consolidated report
-
virtualEntity(required):
string
Virtual entity for which the account statement has to be generated.
Response
Supported Media Types
- application/json
- application/xml
- text/csv
201 Response
Returns message of succes or failure
Headers
Root Schema : MessageOutDTOCollection
Type:
object
Collection of SWIFT / CAMT messages.
Show Source
-
data:
array data
-
messages:
object ResponseDto
Nested Schema : ResponseDto
Type:
Show Source
object
-
codes:
array codes
-
id:
string
-
requestId:
string
-
status:
string
Nested Schema : MessageOutDTO
Type:
object
SWIFT / CAMT message
Show Source
-
branch:
string
-
branchDate:
string
-
id:
string
-
makerDtStamp:
string(date)
-
makerId:
string
-
message:
string
-
msgType:
string
-
parentReferenceNo:
string
-
referenceNo:
string
-
virtualAccountNo:
string
-
virtualEntityId:
string
Virtual Entity id for accounts
Nested Schema : ResponseCode
Type:
Show Source
object
-
arg:
string
-
args:
array args
-
Code:
string
-
Desc:
string
-
Language:
string
-
Type:
string
Nested Schema : items
Type:
object
400 Response
Malformed syntax.
401 Response
Request does not have sufficient credentials.
403 Response
Request is not authorized.
405 Response
Invalid input
500 Response
Internal error