Adds a new accounts

post

/service/accounts

This endpoint is used to add new virtual accounts.

Request

Supported Media Types
Header Parameters
Body ()
Request body contains data required to create a new account.
Root Schema : VirtualAccountSaveRequestDTO
Type: object
Match All
Show Source
Nested Schema : VirtualAccountSaveRequestDTO-allOf[0]
Type: object
Show Source
Nested Schema : StructuredAddressServiceDTO
Type: object
Show Source
Back to Top

Response

Supported Media Types

201 Response

Returns message of succes or failure
Headers
Body ()
Root Schema : VirtualAccountResponseWrapperDTO
Type: object
Show Source
Nested Schema : VirtualAccountServiceDTO
Type: object
Match All
Show Source
Nested Schema : VirtualAccountServiceResponseDto
Type: object
Show Source
Nested Schema : VirtualAccountServiceDTO-allOf[0]
Type: object
Show Source
Nested Schema : StructuredAddressServiceDTO
Type: object
Show Source
Nested Schema : codes
Type: array
Show Source
Nested Schema : VirtualAccountServiceResponseCode
Type: object
Show Source

400 Response

Bad request error, the server is unable to process the request

401 Response

Unauthorized request error, invalid credentials

403 Response

Request denied, no permission to access the request.

405 Response

Request denied, invalid input.

500 Response

Internal server error.
Back to Top