POST api/webhooks

Request Information

URI Parameters

None.

Body Parameters

SubscriptionPayWebHook
NameDescriptionTypeAdditional information
NotificationId

string

None.

EventType

string

None.

EventDate

date

None.

WebhookId

string

None.

Payload

WebHookAuthPayload

None.

Request Formats

application/json, text/json

Sample:
{
  "NotificationId": "sample string 1",
  "EventType": "sample string 2",
  "EventDate": "2024-11-24T07:28:59.2852045-05:00",
  "WebhookId": "sample string 4",
  "Payload": {
    "EntityName": "sample string 1",
    "Id": "sample string 2",
    "Name": "sample string 3",
    "Amount": 4.0,
    "Status": "sample string 5",
    "Profile": {
      "CustomerProfileId": 1,
      "CustomerPaymentProfileId": 2,
      "CustomerShippingAddressId": 3
    },
    "ResponseCode": 6,
    "MerchantReferenceId": "sample string 7",
    "AuthCode": "sample string 8",
    "AvsResponse": "sample string 9",
    "AuthAmount": 10.0
  }
}

application/xml, text/xml

Sample:
<SubscriptionPayWebHook xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AuthorizeNetWebHook.Models">
  <EventDate>2024-11-24T07:28:59.2852045-05:00</EventDate>
  <EventType>sample string 2</EventType>
  <NotificationId>sample string 1</NotificationId>
  <Payload>
    <Amount>4</Amount>
    <AuthAmount>10</AuthAmount>
    <AuthCode>sample string 8</AuthCode>
    <AvsResponse>sample string 9</AvsResponse>
    <EntityName>sample string 1</EntityName>
    <Id>sample string 2</Id>
    <MerchantReferenceId>sample string 7</MerchantReferenceId>
    <Name>sample string 3</Name>
    <Profile>
      <CustomerPaymentProfileId>2</CustomerPaymentProfileId>
      <CustomerProfileId>1</CustomerProfileId>
      <CustomerShippingAddressId>3</CustomerShippingAddressId>
    </Profile>
    <ResponseCode>6</ResponseCode>
    <Status>sample string 5</Status>
  </Payload>
  <WebhookId>sample string 4</WebhookId>
</SubscriptionPayWebHook>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.