Previous Next JavaScript must be enabled to correctly display this content

## get a list of default payment instruction templates

post

/defaultPaymentInstruction/templates

This endpoint is used to get a list of default payment instruction templates

### Request

Supported Media Types

- application/json
- application/xml

Body ()
Request Body that contains list of acc paris
Root Schema : LmmTmSweepAccountPairCollection
Type: `object`
Show Source

- customerId(optional): string
  Pattern: `[a-zA-Z0-9]{1,20}`
- data(optional): array data

    {
        "type":"object",
        "properties":{
            "customerId":{
                "type":"string",
                "description":"",
                "pattern":"[a-zA-Z0-9]{1,20}"
            },
            "data":{
                "type":"array",
                "items":{
                    "$ref":"#/definitions/LmmTmSweepAccountPairDTO"
                }
            }
        }
    }

Nested Schema : data
Type: `array`
Show Source

- Array of: object LmmTmSweepAccountPairDTO

    {
        "type":"array",
        "items":{
            "$ref":"#/definitions/LmmTmSweepAccountPairDTO"
        }
    }

Nested Schema : LmmTmSweepAccountPairDTO
Type: `object`
Show Source

- accountNumber(optional): string
- branchCode(optional): string
- countryId(optional): string
- isExternal(optional): string
- isparentAccountExternal(optional): string
- isTwoWay(optional): string
- oneWaytemplateName(optional): string
- parentAccountBranch(optional): string
- parentAccountCountryId(optional): string
- parentAccountNumber(optional): string
- twoWaytemplateName(optional): string

    {
        "type":"object",
        "properties":{
            "accountNumber":{
                "type":"string",
                "description":""
            },
            "branchCode":{
                "type":"string",
                "description":""
            },
            "parentAccountNumber":{
                "type":"string",
                "description":""
            },
            "parentAccountBranch":{
                "type":"string",
                "description":""
            },
            "isTwoWay":{
                "type":"string",
                "description":""
            },
            "oneWaytemplateName":{
                "type":"string",
                "description":""
            },
            "twoWaytemplateName":{
                "type":"string",
                "description":""
            },
            "isExternal":{
                "type":"string",
                "description":""
            },
            "countryId":{
                "type":"string",
                "description":""
            },
            "isparentAccountExternal":{
                "type":"string",
                "description":""
            },
            "parentAccountCountryId":{
                "type":"string",
                "description":""
            }
        }
    }

Back to Top

### Response

Supported Media Types

- application/json
- application/xml

#### 201 Response

Returns message of success or failure
Headers

- Location: string

Body ()
Root Schema : LmmTmSweepAccountPairCollection
Type: `object`
Show Source

- customerId(optional): string
  Pattern: `[a-zA-Z0-9]{1,20}`
- data(optional): array data

    {
        "type":"object",
        "properties":{
            "customerId":{
                "type":"string",
                "description":"",
                "pattern":"[a-zA-Z0-9]{1,20}"
            },
            "data":{
                "type":"array",
                "items":{
                    "$ref":"#/definitions/LmmTmSweepAccountPairDTO"
                }
            }
        }
    }

Nested Schema : data
Type: `array`
Show Source

- Array of: object LmmTmSweepAccountPairDTO

    {
        "type":"array",
        "items":{
            "$ref":"#/definitions/LmmTmSweepAccountPairDTO"
        }
    }

Nested Schema : LmmTmSweepAccountPairDTO
Type: `object`
Show Source

- accountNumber(optional): string
- branchCode(optional): string
- countryId(optional): string
- isExternal(optional): string
- isparentAccountExternal(optional): string
- isTwoWay(optional): string
- oneWaytemplateName(optional): string
- parentAccountBranch(optional): string
- parentAccountCountryId(optional): string
- parentAccountNumber(optional): string
- twoWaytemplateName(optional): string

    {
        "type":"object",
        "properties":{
            "accountNumber":{
                "type":"string",
                "description":""
            },
            "branchCode":{
                "type":"string",
                "description":""
            },
            "parentAccountNumber":{
                "type":"string",
                "description":""
            },
            "parentAccountBranch":{
                "type":"string",
                "description":""
            },
            "isTwoWay":{
                "type":"string",
                "description":""
            },
            "oneWaytemplateName":{
                "type":"string",
                "description":""
            },
            "twoWaytemplateName":{
                "type":"string",
                "description":""
            },
            "isExternal":{
                "type":"string",
                "description":""
            },
            "countryId":{
                "type":"string",
                "description":""
            },
            "isparentAccountExternal":{
                "type":"string",
                "description":""
            },
            "parentAccountCountryId":{
                "type":"string",
                "description":""
            }
        }
    }

#### 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
Back to Top