PATCH v1/ProfilePersons/{id}/SavedPaymentMethods/ACH/{savedPaymentId}

Update ACH Saved Payment Method of the person

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

savedPaymentId

integer

Required

Body Parameters

UpdateSavedPaymentMethodInputACH
NameDescriptionTypeAdditional information
accountNumber

string

None.

accountName

string

Required

bank

string

Required

aba

string

None.

Request Formats

application/json, text/json

Sample:
{
  "accountNumber": "sample string 1",
  "accountName": "sample string 2",
  "bank": "sample string 3",
  "aba": "sample string 4"
}

text/html

Sample:
{"accountNumber":"sample string 1","accountName":"sample string 2","bank":"sample string 3","aba":"sample string 4"}

application/xml, text/xml

Sample:
<v1_ProfilePersons_ProfilePersonEndpointController.UpdateSavedPaymentMethodInputACH xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_ProfilePersons_ProfilePersonEndpoint">
  <aba>sample string 4</aba>
  <accountName>sample string 2</accountName>
  <accountNumber>sample string 1</accountNumber>
  <bank>sample string 3</bank>
</v1_ProfilePersons_ProfilePersonEndpointController.UpdateSavedPaymentMethodInputACH>

application/x-www-form-urlencoded

Sample:

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

Response Information

Resource Description

ACHSavedPaymentOutput
NameDescriptionTypeAdditional information
Id

Id of ACH saved payment method

integer

None.

paymentType

payment type of ACH saved payment method

string

None.

partialNumber

Partial account number of ACH saved payment method

string

None.

accountNumber

Full account number of ACH saved payment method

string

None.

accountName

AccountName of ACH saved payment method

string

None.

ABA

ABA/Routing of ACH saved payment method

string

None.

bank

Bank of ACH saved payment method

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "paymentType": "sample string 2",
  "partialNumber": "sample string 3",
  "accountNumber": "sample string 4",
  "accountName": "sample string 5",
  "ABA": "sample string 6",
  "bank": "sample string 7"
}

text/html

Sample:
{"Id":1,"paymentType":"sample string 2","partialNumber":"sample string 3","accountNumber":"sample string 4","accountName":"sample string 5","ABA":"sample string 6","bank":"sample string 7"}

application/xml, text/xml

Sample:
<v1_ProfilePersons_ProfilePersonEndpointController.ACHSavedPaymentOutput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_ProfilePersons_ProfilePersonEndpoint">
  <ABA>sample string 6</ABA>
  <Id>1</Id>
  <accountName>sample string 5</accountName>
  <accountNumber>sample string 4</accountNumber>
  <bank>sample string 7</bank>
  <partialNumber>sample string 3</partialNumber>
  <paymentType>sample string 2</paymentType>
</v1_ProfilePersons_ProfilePersonEndpointController.ACHSavedPaymentOutput>