PUT api/people/setpaymentdetails
Set the payment details for a person Processes this people API request. The parameter and response sections describe the data exchanged with the API.
Request Information
URI Parameters
None.
Body Parameters
The set person payment details command data contract supplied with the request.
SetPersonPaymentDetailsCommandDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountId |
The unique identifier of the related account resource. |
integer |
None. |
| AccountHolder |
The account holder value. |
string |
None. |
| AccountName |
The account name value. |
string |
None. |
| PaymentMethod |
The payment method value. |
string |
None. |
| HeldWith |
The held with value. |
integer |
None. |
| AccountNumber |
The account number value. |
string |
None. |
| SortCode |
The sort code value. |
string |
None. |
| IBAN |
The iban value. |
string |
None. |
| BIC |
The bic value. |
string |
None. |
| CountryCode |
The country code value. |
string |
None. |
| Id |
The unique identifier of this resource. |
integer |
None. |
Request Formats
application/x-www-form-urlencoded
Sample not available.
application/json, text/json
{
"AccountId": 1,
"AccountHolder": "sample string 1",
"AccountName": "sample string 2",
"PaymentMethod": "sample string 3",
"HeldWith": 1,
"AccountNumber": "sample string 4",
"SortCode": "sample string 5",
"IBAN": "sample string 6",
"BIC": "sample string 7",
"CountryCode": "sample string 8",
"Id": 9
}
Response Information
Resource Description
The response returned after the operation completes.
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version |
The version value. |
Version |
None. |
| Content |
The content value. |
HttpContent |
None. |
| StatusCode |
The status code classification. |
HttpStatusCode |
None. |
| ReasonPhrase |
The reason phrase value. |
string |
None. |
| Headers |
The collection of headers. |
Collection of Object |
None. |
| RequestMessage |
The request message value. |
HttpRequestMessage |
None. |
| IsSuccessStatusCode |
Indicates whether this item is success status code. |
boolean |
None. |