POST v1/admin/company/{id}/ShoppingCarts/Checkout/ACHTokenizer

Completes the admin shopping experience using a ACH for admin payment.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

adminACHTokenizerCheckoutInput
NameDescriptionTypeAdditional information
accountNumber

string

Required

accountName

string

Required

bank

string

Required

aba

string

None.

saveForFutureUse

boolean

None.

Request Formats

application/json, text/json

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

text/html

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

application/xml, text/xml

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

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 'adminACHTokenizerCheckoutInput'.

Response Information

Resource Description

AdminCartCheckoutOutput
NameDescriptionTypeAdditional information
id

The ID of created order

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1
}

text/html

Sample:
{"id":1}

application/xml, text/xml

Sample:
<v1_Admin_adminCarts_adminShoppingCartEndpointController.AdminCartCheckoutOutput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_Admin_adminCarts_adminShoppingCartEndpoint">
  <id>1</id>
</v1_Admin_adminCarts_adminShoppingCartEndpointController.AdminCartCheckoutOutput>