POST api/v1/payments

Request Information

URI Parameters

None.

Body Parameters

PaymentCreateDto
NameDescriptionTypeAdditional information
PanditId

globally unique identifier

Required

Amount

decimal number

Required

Status

string

Required

Max length: 50

TransactionReference

string

Max length: 255

Request Formats

application/json, text/json

Sample:
{
  "PanditId": "9c84f449-9624-4cb0-a385-ea78d53041a1",
  "Amount": 2.0,
  "Status": "sample string 3",
  "TransactionReference": "sample string 4"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.