> For the complete documentation index, see [llms.txt](https://docs.mybankone.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mybankone.com/standing-order/standing-order-api/standing-order-creation-application2.md).

# Standing Order Creation Application2

This creates a standing order application

To create a standing order application you first build the complete create standing order application endpoint by passing version to the url path and authToken to the url query params.&#x20;

Then go ahead to make a post request to the complete url by passing Name, Description, CreditAccount, DebitAccount, and some other required payload in the request body.&#x20;

{% hint style="info" %}
We have a Production URL and Staging URL you are advised to use the staging during development.&#x20;
{% endhint %}

&#x20;**Production URL**&#x20;

[***`http://api.mybankone.com/BankOneWebAPI/api/StandingOrder/StandingOrderCreationApplication2/version?authToken={{authoken}}`***](http://api.mybankone.com/BankOneWebAPI/api/StandingOrder/StandingOrderCreationApplication2/version?authToken={{authoken}})

**Staging URL**&#x20;

[***`http://staging.mybankone.com/BankOneWebAPI/api/StandingOrder/StandingOrderCreationApplication2/version?authToken={{authoken}}`***](http://staging.mybankone.com/BankOneWebAPI/api/StandingOrder/StandingOrderCreationApplication2/version?authToken={{authoken}})

Here is an example request with sample payload to the staging endpoint.&#x20;

<mark style="color:green;">`POST`</mark> `http://staging.mybankone.com/BankOneWebAPI/api/StandingOrder/StandingOrderCreationApplication2`

#### Path Parameters

| Name                                      | Type | Description         |
| ----------------------------------------- | ---- | ------------------- |
| version<mark style="color:red;">\*</mark> | Int  | Current API version |

#### Query Parameters

| Name                                        | Type   | Description                     |
| ------------------------------------------- | ------ | ------------------------------- |
| authToken<mark style="color:red;">\*</mark> | String | Authentication for this request |

#### Request Body

| Name                                                           | Type    | Description                          |
| -------------------------------------------------------------- | ------- | ------------------------------------ |
| Name<mark style="color:red;">\*</mark>                         | String  | Customer's name                      |
| Description<mark style="color:red;">\*</mark>                  | String  | Order description                    |
| CreditAccount<mark style="color:red;">\*</mark>                | String  | Account you want credited            |
| DebitAccount<mark style="color:red;">\*</mark>                 | String  | Account you want debited             |
| AmountToTransfer<mark style="color:red;">\*</mark>             | Int     | Amount to transfer                   |
| AllowForceDebit<mark style="color:red;">\*</mark>              | Boolean | Checks if account allows force debit |
| IsPercentage<mark style="color:red;">\*</mark>                 | Boolean | Checks if it has a percentage        |
| StandingOrderFrequency<mark style="color:red;">\*</mark>       | Int     | standing order frequency             |
| StartDate<mark style="color:red;">\*</mark>                    | Date    | Start date of standing order         |
| EndDate<mark style="color:red;">\*</mark>                      | Date    | End date of standing order           |
| StandingOrderChargeFeeID<mark style="color:red;">\*</mark>     | Int     | Standing order charge fee Id         |
| StandingOrderChargeFeeAmount<mark style="color:red;">\*</mark> | Int     | Standing order charge fee            |

{% tabs %}
{% tab title="200: OK " %}

```javascript
{
    // Response
}
```

{% endtab %}
{% endtabs %}
