POST api/Nymcard/PinChangeWebhook

Request Information

URI Parameters

None.

Body Parameters

PinchangeWebhook
NameDescriptionTypeAdditional information
event

string

None.

user_id

string

None.

card_id

string

None.

card_status

string

None.

card_status_reason

string

None.

created

date

None.

Request Formats

application/json, text/json

Sample:
{
  "event": "sample string 1",
  "user_id": "sample string 2",
  "card_id": "sample string 3",
  "card_status": "sample string 4",
  "card_status_reason": "sample string 5",
  "created": "2024-02-03T04:22:01.265372+00:00"
}

application/xml, text/xml

Sample:
<PinchangeWebhook xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.DataLayer.Common">
  <card_id>sample string 3</card_id>
  <card_status>sample string 4</card_status>
  <card_status_reason>sample string 5</card_status_reason>
  <created>2024-02-03T04:22:01.265372+00:00</created>
  <event>sample string 1</event>
  <user_id>sample string 2</user_id>
</PinchangeWebhook>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PinchangeWebhook'.

Response Information

Resource Description

ResponseViewModel
NameDescriptionTypeAdditional information
Status

boolean

None.

StatusCode

integer

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "StatusCode": 2,
  "Message": "sample string 3",
  "Data": {}
}

application/xml, text/xml

Sample:
<ResponseViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.DataLayer.Common">
  <Data />
  <Message>sample string 3</Message>
  <Status>true</Status>
  <StatusCode>2</StatusCode>
</ResponseViewModel>