POST v1/paymentMethods/setPaymentMethodSharing?id={id}&saveAll={saveAll}&sharing={sharing}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
|
saveAll | boolean |
Default value is True |
|
sharing | boolean |
None. |
Body Parameters
Common.Dto.Post.PaymentMethodSharingName | Description | Type | Additional information |
---|---|---|---|
descendantOverrides | Collection of Common.Dto.Post.PaymentMethodSharingDescendant |
None. |
Request Formats
application/json, text/json
Sample:
{ "descendantOverrides": [ { "customerId": 1, "sharing": true, "paymentMethodSharingId": 1 }, { "customerId": 1, "sharing": true, "paymentMethodSharingId": 1 } ] }
Response Information
Resource Description
Common.Dto.Get.PaymentMethodName | Description | Type | Additional information |
---|---|---|---|
customerId | integer |
None. |
|
firstName | string |
None. |
|
lastName | string |
None. |
|
address1 | string |
None. |
|
address2 | string |
None. |
|
countryId | integer |
None. |
|
country | string |
None. |
|
stateId | integer |
None. |
|
state | string |
None. |
|
city | string |
None. |
|
postalZip | string |
None. |
|
isDefault | boolean |
None. |
|
isParent | boolean |
None. |
|
externalCustomerId | string |
None. |
|
externalCardId | string |
None. |
|
storedInFusebillVault | boolean |
None. |
|
string |
None. |
||
modifiedDate | date |
None. |
|
originalPaymentMethodId | integer |
None. |
|
isUsedForBillingPeriodOverride | boolean |
None. |
|
businessTaxId | string |
None. |
|
storedInStax | boolean |
None. |
|
paymentMethodType | string |
None. |
|
sharing | boolean |
None. |
|
descendantOverrides | Collection of Common.Dto.Get.PaymentMethodSharing |
None. |
|
status | string |
None. |
|
repeatFailureCount | integer |
None. |
|
hasMadePayment | boolean |
None. |
|
storedGateways | Collection of string |
None. |
|
paymentMethodStatusDisabledType | string |
None. |
|
id | integer |
None. |
|
uri | string |
None. |
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.