Adds a new default payment instruction
post
/defaultPaymentInstruction
This endpoint is used to add a new default payment instruction.
Request
Supported Media Types
- application/json
- application/xml
Request Body that contains data required for creating a new defaultPaymentInstruction
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 : LmmTmDefaultPaymentInstructionDTO-allOf[1]
Type:
Show Source
object
-
customerId(optional):
string
Pattern:
[a-zA-Z0-9]{1,20}
-
customerName(optional):
string
Maximum Length:
105
-
description(optional):
string
Maximum Length:
100
-
hostCode(optional):
string
Maximum Length:
36
-
LmmTmDefaultPaymentInstructionTemplateDTO(optional):
array LmmTmDefaultPaymentInstructionTemplateDTO
Nested Schema : LmmTmDefaultPaymentInstructionTemplateDTO
Type:
Show Source
object
-
ddaEntity(optional):
string
Maximum Length:
36
-
ddaFromToAccount(optional):
string
Maximum Length:
36
-
defaultPaymentInstructionId(optional):
string
Maximum Length:
36
-
id(optional):
string
Maximum Length:
36
-
templateName(optional):
string
Maximum Length:
50
-
transferType(optional):
string
Maximum Length:
36
Response
Supported Media Types
- application/json
- application/xml
201 Response
Returns message of success or failure
Headers
-
Location: string
URL of newly created defaultPaymentInstruction
Nested Schema : ResponseResourceSupport
Type:
object
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