POST api/ActionService/LogInvoicePaymentFailed

Documentation for 'LogInvoicePaymentFailed'.

Request Information

Parameters

NameDescriptionAdditional information
request
Documentation for 'request'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Id": 1,
  "InvoiceId": "sample string 2",
  "PaymentIntentId": "sample string 3",
  "PaymentMethodId": "sample string 4",
  "AmountDue": 5,
  "StripeCustomerId": "sample string 6",
  "CustomerEmail": "sample string 7",
  "SubscriptionId": "sample string 8",
  "UserId": 9,
  "FailedTimeStamp": "2026-01-11T19:31:58.0620744+00:00",
  "AttemptCount": 11,
  "StatusId": 12,
  "ArtistName": "sample string 13",
  "PackageID": 14,
  "PackageExpiryDate": "2026-01-11T19:31:58.0620744+00:00",
  "PhoneNumber": "sample string 16",
  "ProfileUrl": "sample string 17"
}

application/xml, text/xml

Sample:
<PaymentIntentFailed xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PartyMusic.BusinessObject.Messages.Payment">
  <AmountDue>5</AmountDue>
  <ArtistName>sample string 13</ArtistName>
  <AttemptCount>11</AttemptCount>
  <CustomerEmail>sample string 7</CustomerEmail>
  <FailedTimeStamp>2026-01-11T19:31:58.0620744+00:00</FailedTimeStamp>
  <Id>1</Id>
  <InvoiceId>sample string 2</InvoiceId>
  <PackageExpiryDate>2026-01-11T19:31:58.0620744+00:00</PackageExpiryDate>
  <PackageID>14</PackageID>
  <PaymentIntentId>sample string 3</PaymentIntentId>
  <PaymentMethodId>sample string 4</PaymentMethodId>
  <PhoneNumber>sample string 16</PhoneNumber>
  <ProfileUrl>sample string 17</ProfileUrl>
  <StatusId>12</StatusId>
  <StripeCustomerId>sample string 6</StripeCustomerId>
  <SubscriptionId>sample string 8</SubscriptionId>
  <UserId>9</UserId>
</PaymentIntentFailed>

application/x-www-form-urlencoded

Sample:

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

Response Information

Response body formats

application/json, text/json

Sample:
{
  "status": "sample string 1",
  "Message": {
    "Success": true
  }
}

application/xml, text/xml

Sample:
<ResponseBaseOfExecutionStatusyiGVY2vN xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PartyMusic.BusinessObject.MessageBase">
  <Message xmlns:d2p1="http://schemas.datacontract.org/2004/07/PartyMusic.BusinessObject">
    <d2p1:Success>true</d2p1:Success>
  </Message>
  <status>sample string 1</status>
</ResponseBaseOfExecutionStatusyiGVY2vN>