PUT api/bt/paymentmethod/update
Request Information
URI Parameters
None.
Body Parameters
PaymentMethodName | Description | Type | Additional information |
---|---|---|---|
CustomerId | string |
None. |
|
Token | string |
None. |
|
Nonce | string |
None. |
|
BillingAddress | BillingAddress |
None. |
Request Formats
application/json, text/json
Sample:
{ "CustomerId": "sample string 1", "Token": "sample string 2", "Nonce": "sample string 3", "BillingAddress": { "UpdateExisting": true, "Company": "sample string 2", "CountryName": "sample string 3", "CountryCodeAlpha2": "sample string 4", "CountryCodeAlpha3": "sample string 5", "CountryCodeNumeric": "sample string 6", "ExtendedAddress": "sample string 7", "FirstName": "sample string 8", "LastName": "sample string 9", "Locality": "sample string 10", "Postalcode": "sample string 11", "Region": "sample string 12", "StreetAddress": "sample string 13" } }
application/xml, text/xml
Sample:
<PaymentMethod xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CificoAPI.Models"> <BillingAddress> <Company>sample string 2</Company> <CountryCodeAlpha2>sample string 4</CountryCodeAlpha2> <CountryCodeAlpha3>sample string 5</CountryCodeAlpha3> <CountryCodeNumeric>sample string 6</CountryCodeNumeric> <CountryName>sample string 3</CountryName> <ExtendedAddress>sample string 7</ExtendedAddress> <FirstName>sample string 8</FirstName> <LastName>sample string 9</LastName> <Locality>sample string 10</Locality> <Postalcode>sample string 11</Postalcode> <Region>sample string 12</Region> <StreetAddress>sample string 13</StreetAddress> <UpdateExisting>true</UpdateExisting> </BillingAddress> <CustomerId>sample string 1</CustomerId> <Nonce>sample string 3</Nonce> <Token>sample string 2</Token> </PaymentMethod>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultOfPaymentMethodName | Description | Type | Additional information |
---|---|---|---|
CreditCardVerification | CreditCardVerification |
None. |
|
Transaction | Transaction |
None. |
|
Plan | Plan |
None. |
|
Subscription | Subscription |
None. |
|
Errors | ValidationErrors |
None. |
|
Parameters | Dictionary of string [key] and string [value] |
None. |
|
Message | string |
None. |
|
Target |
None. |
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.