varunyogi / Funds-Transfer

0 stars 0 forks source link

Funds-Transfer

Endpoints

1. Create Account

    •   Endpoint: /funds/v1
    •   Method: POST
    •   Request Body:
    •   Content-Type: application/json
    •   Schema:

{
"userName": "string",
"accountType": "string",
"balance": "number",
"currency": "string"
}
Description: This endpoint creates a new account

    •   Response:
    •   Status Code: 201 Created
    •   Body:

{
"id": "long",
"accountNumber": "string",
"accountName": "string",
"accountType": "string",
"balance": "number",
"createdDate": "string",
"lastModifiedDate": "string"
}