POST api/StripeDS/AggiornaPagamentoDefault

Aggiorna il metodo di default di un IdCustomer in Stripe

Request Information

URI Parameters

None.

Body Parameters

IdCustomer, IdAccount, IdPaymentMethod

PagamentoDefault
NameDescriptionTypeAdditional information
IdCustomer

string

None.

IdAccount

string

None.

IdPaymentMethod

string

None.

Request Formats

application/json, text/json

Sample:
{
  "IdCustomer": "sample string 1",
  "IdAccount": "sample string 2",
  "IdPaymentMethod": "sample string 3"
}

application/xml, text/xml

Sample:
<PagamentoDefault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StripeWebApi.StripeWebApi.Models">
  <IdAccount>sample string 2</IdAccount>
  <IdCustomer>sample string 1</IdCustomer>
  <IdPaymentMethod>sample string 3</IdPaymentMethod>
</PagamentoDefault>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

True

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.