> This is Payabli documentation. For a complete page index, fetch https://docs.payabli.com/llms.txt — append .md to any page URL for lightweight markdown. For section-level indexes, query parameters, and other AI-optimized access methods, see https://docs.payabli.com/ai-agents.md

# Create an application

POST https://api-sandbox.payabli.com/api/v2/requests
Content-Type: application/json

Creates a boarding application for a business. The business must
already have a paypoint. New applications start in `draft`.


Reference: https://docs.payabli.com/developers/api-reference/applications/create-an-application

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Servers

- `https://api-sandbox.payabli.com/api` (Sandbox, default)
- `https://api.payabli.com/api` (Production)

## Request

### Body (application/json)

This endpoint expects a CreateApplicationRequest.

- `businessReference` (string, required) — The reference of the business to board. The business must have a paypoint.
- `paypointReference` (string, optional) — The reference of the paypoint to board. Defaults to the business's paypoint when omitted.
- `externalId` (string, optional) — An optional identifier from your own system.
- `entityType` (string, optional) — The type of entity being boarded.
- `requestTemplate` (string, optional) — The reference of the boarding template to apply. Send one on every application. Payabli assigns the underwriting policy from the template, so a submitted application without one fails in review.
- `tags` (list of string, optional) — Optional labels for the application.
- `representatives` (list of RepresentativeInput, optional) — The sales or service representatives assigned to the application.
- `configurations` (CreateApplicationRequestConfigurations, optional, nullable) — Opaque application-level configuration. Null when not supplied.
- `services` (RequestedServices, optional) — The services to request on the application.

## Response

### 201

The application was created.

- `success` (boolean, required) — Whether the request succeeded.
- `message` (string, required, nullable) — A human-readable result message.
- `traceId` (string, required, nullable) — The trace identifier for the request, useful for support.
- `data` (Application, required, nullable) — The application.

## Errors

### 400 Bad Request Error

Bad request / invalid data.

- `isSuccess` (boolean, required) — Always `false` for error responses.
- `responseText` (string, required) — Error text describing what went wrong.
- `responseCode` (integer, optional) — Code for the response. Learn more in [API Response Codes](/developers/api-reference/api-responses).
- `responseData` (PayabliErrorBodyResponseData, optional) — Object with detailed error context.

### 401 Unauthorized Error

Unauthorized request.

- `isSuccess` (boolean, required) — Always `false` for error responses.
- `responseText` (string, required) — Error text describing what went wrong.
- `responseCode` (integer, optional) — Code for the response. Learn more in [API Response Codes](/developers/api-reference/api-responses).
- `responseData` (PayabliErrorBodyResponseData, optional) — Object with detailed error context.

### 404 Not Found Error

The requested resource wasn't found.

- `isSuccess` (boolean, required) — Always `false` for error responses.
- `responseText` (string, required) — Error text describing what went wrong.
- `responseCode` (integer, optional) — Code for the response. Learn more in [API Response Codes](/developers/api-reference/api-responses).
- `responseData` (PayabliErrorBodyResponseData, optional) — Object with detailed error context.

### 500 Internal Server Error

Internal server error.

- `isSuccess` (boolean, required) — Always `false` for error responses.
- `responseText` (string, required) — Error text describing what went wrong.
- `responseCode` (integer, optional) — Code for the response. Learn more in [API Response Codes](/developers/api-reference/api-responses).
- `responseData` (PayabliErrorBodyResponseData, optional) — Object with detailed error context.

## Types

### RepresentativeInput

A sales or service representative assigned to the application.

- `userId` (string, optional) — The representative's user identifier.
- `repCode` (integer, optional) — The representative's code.
- `firstName` (string, optional) — The representative's first name.
- `lastName` (string, optional) — The representative's last name.
- `location` (string, optional) — The representative's location.
- `team` (string, optional) — The representative's team.

### CreateApplicationRequestConfigurations

Opaque application-level configuration. Null when not supplied.

### RequestedServices

The services the application requests, grouped by direction. Values are case-insensitive on input and returned in the casing shown.

- `moneyIn` (list of enum, optional) — The Pay In services to request.
  - Allowed values: `Ach`, `Card`, `Cloud`, `Device`, `Wallet`, `Cash`, `Check`
- `moneyOut` (list of enum, optional) — The Pay Out services to request.
  - Allowed values: `Ach`, `VCard`, `Managed`, `Check`, `Rtp`, `Wire`, `Ghost`

### Application

A boarding application (request), as returned when you create, get, or update one.

- `requestsReference` (string, required) — The application reference, used to read and manage the application.
- `businessReference` (string, required) — The reference of the business being boarded.
- `applicationStatus` (string, required) — The application's lifecycle status, as a lowercase name. For what moves an application between statuses, see [Boarding application statuses](/guides/pay-ops-boarding-application-status-reference). One of: - `draft` (1): Created and editable. The only status that accepts updates. - `submitted` (2): Submitted with the signature of record. - `verifying` (3): Automated verification is in progress. - `pendingreview` (4): Awaiting underwriting review. - `escalatedreview` (5): Escalated to a higher review tier. - `pendingdocuments` (6): Underwriting requested documents from the applicant. - `pendingresponse` (7): Underwriting asked the applicant a question. - `approved` (8): Approved and waiting for services to be enabled. - `autoapproved` (9): Approved without manual review. - `denied` (10): Denied. Terminal. - `withdrawn` (11): Withdrawn. Terminal. - `abandoned` (12): Reserved. No action moves an application to this status. - `error` (13): Processing hit an error. Payabli can recover the application from this status. - `activated` (14): The requested services are provisioned and live. Terminal. An `approved` or `autoapproved` application moves to `activated` automatically after all requested services are boarded.
- `applicationStatusCode` (integer, required) — The numeric code of the application's lifecycle status. See `applicationStatus` for the code of each status.
- `allowedActions` (list of string, required) — The lifecycle actions currently allowed on the application. The list can include actions that Payabli or its internal services perform, which you can't call through the API.
- `createdAt` (string, required) — When the application was created.
- `_links` (ApplicationLinks, required) — Hypermedia links for the application resource.
- `paypointReference` (string, required) — The reference of the paypoint the application boards.
- `paypointStatus` (string, required) — The status of the paypoint the application boards. New paypoints start in `pending`.
- `externalId` (string, optional, nullable) — An identifier from your own system.
- `parent` (string, optional, nullable) — The reference of the organization the application belongs to.
- `parentOrgName` (string, optional, nullable) — The name of the organization the application belongs to.
- `entityType` (string, optional, nullable) — The type of entity being boarded.
- `dbaName` (string, optional, nullable) — The doing-business-as name.
- `requestTemplate` (string, optional, nullable) — The reference of the boarding template applied to the application.
- `services` (RequestedServices, optional) — The services the application requests. Left out when the application doesn't request any.
- `tags` (list of string, optional, nullable) — Labels for the application.
- `representatives` (list of RepresentativeResponse, optional, nullable) — The representatives assigned to the application.
- `submittedAt` (string, optional, nullable) — When the application was submitted.

### PayabliErrorBodyResponseData

Object with detailed error context.

- `explanation` (string, optional) — Human-readable explanation of what happened.
- `todoAction` (string, optional) — Suggested resolution.

### ApplicationLinks

Hypermedia links for an application resource.

- `self` (string, optional) — Relative path to the application resource.
- `business` (string, optional) — Relative path to the business the application boards.

### RepresentativeResponse

A sales or service representative assigned to the application.

- `userId` (string, optional, nullable) — The representative's user identifier.
- `repCode` (integer, optional, nullable) — The representative's code.
- `firstName` (string, optional, nullable) — The representative's first name.
- `lastName` (string, optional, nullable) — The representative's last name.
- `location` (string, optional, nullable) — The representative's location.
- `team` (string, optional, nullable) — The representative's team.

## Examples

### CreateApplication

**Request**

```json
{
  "businessReference": "019fed1a-3d6e-75d3-a81e-cba3874b0a55",
  "externalId": "APP-2025-0417",
  "tags": [
    "priority"
  ]
}
```

**Response**

```json
{
  "success": true,
  "message": "Application created successfully",
  "traceId": "0HNNNPRPLVN40:00000012",
  "data": {
    "requestsReference": "3f3caa7b-bdfe-4bf1-814b-30d54859247c",
    "businessReference": "019fed1a-3d6e-75d3-a81e-cba3874b0a55",
    "applicationStatus": "draft",
    "applicationStatusCode": 1,
    "allowedActions": [
      "submit",
      "withdraw",
      "abandon"
    ],
    "createdAt": "2026-07-01T15:00:01.734346",
    "_links": {
      "self": "/v2/requests/3f3caa7b-bdfe-4bf1-814b-30d54859247c",
      "business": "/v2/businesses/019fed1a-3d6e-75d3-a81e-cba3874b0a55"
    },
    "paypointReference": "019ff064-c690-7679-a73e-688418aadc7c",
    "paypointStatus": "pending",
    "externalId": "APP-2025-0417",
    "tags": [
      "priority"
    ]
  }
}
```

**SDK Code**

```python CreateApplication
import requests

url = "https://api-sandbox.payabli.com/api/v2/requests"

payload = {
    "businessReference": "019fed1a-3d6e-75d3-a81e-cba3874b0a55",
    "externalId": "APP-2025-0417",
    "tags": ["priority"]
}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript CreateApplication
const url = 'https://api-sandbox.payabli.com/api/v2/requests';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"businessReference":"019fed1a-3d6e-75d3-a81e-cba3874b0a55","externalId":"APP-2025-0417","tags":["priority"]}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go CreateApplication
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api-sandbox.payabli.com/api/v2/requests"

	payload := strings.NewReader("{\n  \"businessReference\": \"019fed1a-3d6e-75d3-a81e-cba3874b0a55\",\n  \"externalId\": \"APP-2025-0417\",\n  \"tags\": [\n    \"priority\"\n  ]\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby CreateApplication
require 'uri'
require 'net/http'

url = URI("https://api-sandbox.payabli.com/api/v2/requests")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"businessReference\": \"019fed1a-3d6e-75d3-a81e-cba3874b0a55\",\n  \"externalId\": \"APP-2025-0417\",\n  \"tags\": [\n    \"priority\"\n  ]\n}"

response = http.request(request)
puts response.read_body
```

```java CreateApplication
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api-sandbox.payabli.com/api/v2/requests")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"businessReference\": \"019fed1a-3d6e-75d3-a81e-cba3874b0a55\",\n  \"externalId\": \"APP-2025-0417\",\n  \"tags\": [\n    \"priority\"\n  ]\n}")
  .asString();
```

```php CreateApplication
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api-sandbox.payabli.com/api/v2/requests', [
  'body' => '{
  "businessReference": "019fed1a-3d6e-75d3-a81e-cba3874b0a55",
  "externalId": "APP-2025-0417",
  "tags": [
    "priority"
  ]
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp CreateApplication
using RestSharp;

var client = new RestClient("https://api-sandbox.payabli.com/api/v2/requests");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"businessReference\": \"019fed1a-3d6e-75d3-a81e-cba3874b0a55\",\n  \"externalId\": \"APP-2025-0417\",\n  \"tags\": [\n    \"priority\"\n  ]\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift CreateApplication
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [
  "businessReference": "019fed1a-3d6e-75d3-a81e-cba3874b0a55",
  "externalId": "APP-2025-0417",
  "tags": ["priority"]
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api-sandbox.payabli.com/api/v2/requests")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### CreateApplicationWithServices

**Request**

```json
{
  "businessReference": "019fed1a-3d6e-75d3-a81e-cba3874b0a55",
  "externalId": "APP-2025-0417",
  "requestTemplate": "019ff129-d393-7761-9a31-e5afe85b4081",
  "services": {
    "moneyIn": [
      "Ach",
      "Card"
    ],
    "moneyOut": [
      "Ach",
      "Check"
    ]
  }
}
```

**Response**

```json
{
  "success": true,
  "message": "Application created successfully",
  "traceId": "0HNONVRI1TBCP:00000054",
  "data": {
    "requestsReference": "3f3caa7b-bdfe-4bf1-814b-30d54859247c",
    "businessReference": "019fed1a-3d6e-75d3-a81e-cba3874b0a55",
    "applicationStatus": "draft",
    "applicationStatusCode": 1,
    "allowedActions": [
      "submit",
      "withdraw",
      "abandon"
    ],
    "createdAt": "2026-07-01T15:00:01.734346Z",
    "_links": {
      "self": "/v2/requests/3f3caa7b-bdfe-4bf1-814b-30d54859247c",
      "business": "/v2/businesses/019fed1a-3d6e-75d3-a81e-cba3874b0a55"
    },
    "paypointReference": "019ff064-c690-7679-a73e-688418aadc7c",
    "paypointStatus": "pending",
    "externalId": "APP-2025-0417",
    "parent": "a8806f02-23b3-4f6d-bba3-42e1b94326ea",
    "parentOrgName": "PropertyManager Pro",
    "requestTemplate": "019ff129-d393-7761-9a31-e5afe85b4081",
    "services": {
      "moneyIn": [
        "Ach",
        "Card"
      ],
      "moneyOut": [
        "Ach",
        "Check"
      ]
    }
  }
}
```

**SDK Code**

```python CreateApplicationWithServices
import requests

url = "https://api-sandbox.payabli.com/api/v2/requests"

payload = {
    "businessReference": "019fed1a-3d6e-75d3-a81e-cba3874b0a55",
    "externalId": "APP-2025-0417",
    "requestTemplate": "019ff129-d393-7761-9a31-e5afe85b4081",
    "services": {
        "moneyIn": ["Ach", "Card"],
        "moneyOut": ["Ach", "Check"]
    }
}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript CreateApplicationWithServices
const url = 'https://api-sandbox.payabli.com/api/v2/requests';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"businessReference":"019fed1a-3d6e-75d3-a81e-cba3874b0a55","externalId":"APP-2025-0417","requestTemplate":"019ff129-d393-7761-9a31-e5afe85b4081","services":{"moneyIn":["Ach","Card"],"moneyOut":["Ach","Check"]}}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go CreateApplicationWithServices
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api-sandbox.payabli.com/api/v2/requests"

	payload := strings.NewReader("{\n  \"businessReference\": \"019fed1a-3d6e-75d3-a81e-cba3874b0a55\",\n  \"externalId\": \"APP-2025-0417\",\n  \"requestTemplate\": \"019ff129-d393-7761-9a31-e5afe85b4081\",\n  \"services\": {\n    \"moneyIn\": [\n      \"Ach\",\n      \"Card\"\n    ],\n    \"moneyOut\": [\n      \"Ach\",\n      \"Check\"\n    ]\n  }\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby CreateApplicationWithServices
require 'uri'
require 'net/http'

url = URI("https://api-sandbox.payabli.com/api/v2/requests")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"businessReference\": \"019fed1a-3d6e-75d3-a81e-cba3874b0a55\",\n  \"externalId\": \"APP-2025-0417\",\n  \"requestTemplate\": \"019ff129-d393-7761-9a31-e5afe85b4081\",\n  \"services\": {\n    \"moneyIn\": [\n      \"Ach\",\n      \"Card\"\n    ],\n    \"moneyOut\": [\n      \"Ach\",\n      \"Check\"\n    ]\n  }\n}"

response = http.request(request)
puts response.read_body
```

```java CreateApplicationWithServices
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api-sandbox.payabli.com/api/v2/requests")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"businessReference\": \"019fed1a-3d6e-75d3-a81e-cba3874b0a55\",\n  \"externalId\": \"APP-2025-0417\",\n  \"requestTemplate\": \"019ff129-d393-7761-9a31-e5afe85b4081\",\n  \"services\": {\n    \"moneyIn\": [\n      \"Ach\",\n      \"Card\"\n    ],\n    \"moneyOut\": [\n      \"Ach\",\n      \"Check\"\n    ]\n  }\n}")
  .asString();
```

```php CreateApplicationWithServices
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api-sandbox.payabli.com/api/v2/requests', [
  'body' => '{
  "businessReference": "019fed1a-3d6e-75d3-a81e-cba3874b0a55",
  "externalId": "APP-2025-0417",
  "requestTemplate": "019ff129-d393-7761-9a31-e5afe85b4081",
  "services": {
    "moneyIn": [
      "Ach",
      "Card"
    ],
    "moneyOut": [
      "Ach",
      "Check"
    ]
  }
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp CreateApplicationWithServices
using RestSharp;

var client = new RestClient("https://api-sandbox.payabli.com/api/v2/requests");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"businessReference\": \"019fed1a-3d6e-75d3-a81e-cba3874b0a55\",\n  \"externalId\": \"APP-2025-0417\",\n  \"requestTemplate\": \"019ff129-d393-7761-9a31-e5afe85b4081\",\n  \"services\": {\n    \"moneyIn\": [\n      \"Ach\",\n      \"Card\"\n    ],\n    \"moneyOut\": [\n      \"Ach\",\n      \"Check\"\n    ]\n  }\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift CreateApplicationWithServices
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [
  "businessReference": "019fed1a-3d6e-75d3-a81e-cba3874b0a55",
  "externalId": "APP-2025-0417",
  "requestTemplate": "019ff129-d393-7761-9a31-e5afe85b4081",
  "services": [
    "moneyIn": ["Ach", "Card"],
    "moneyOut": ["Ach", "Check"]
  ]
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api-sandbox.payabli.com/api/v2/requests")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### CreateApplicationForNewLocation

**Request**

```json
{
  "businessReference": "019fed1a-3d6e-75d3-a81e-cba3874b0a55",
  "paypointReference": "019ff3a8-2c41-7b0e-9d52-6e1f0c84a7b3",
  "externalId": "APP-2026-1013",
  "requestTemplate": "019ff129-d393-7761-9a31-e5afe85b4081",
  "services": {
    "moneyIn": [
      "Card"
    ]
  }
}
```

**Response**

```json
{
  "success": true,
  "message": "Application created successfully",
  "traceId": "0HNP8M4GTH3JG:00000003",
  "data": {
    "requestsReference": "b7e2c915-4f0a-4d6b-a3c8-91e5d2f7c406",
    "businessReference": "019fed1a-3d6e-75d3-a81e-cba3874b0a55",
    "applicationStatus": "draft",
    "applicationStatusCode": 1,
    "allowedActions": [
      "submit",
      "withdraw",
      "abandon"
    ],
    "createdAt": "2026-10-13T14:42:31.0326419Z",
    "_links": {
      "self": "/v2/requests/b7e2c915-4f0a-4d6b-a3c8-91e5d2f7c406",
      "business": "/v2/businesses/019fed1a-3d6e-75d3-a81e-cba3874b0a55"
    },
    "paypointReference": "019ff3a8-2c41-7b0e-9d52-6e1f0c84a7b3",
    "paypointStatus": "pending",
    "externalId": "APP-2026-1013",
    "parent": "a8806f02-23b3-4f6d-bba3-42e1b94326ea",
    "parentOrgName": "PropertyManager Pro",
    "requestTemplate": "019ff129-d393-7761-9a31-e5afe85b4081",
    "services": {
      "moneyIn": [
        "Card"
      ]
    }
  }
}
```

**SDK Code**

```python CreateApplicationForNewLocation
import requests

url = "https://api-sandbox.payabli.com/api/v2/requests"

payload = {
    "businessReference": "019fed1a-3d6e-75d3-a81e-cba3874b0a55",
    "paypointReference": "019ff3a8-2c41-7b0e-9d52-6e1f0c84a7b3",
    "externalId": "APP-2026-1013",
    "requestTemplate": "019ff129-d393-7761-9a31-e5afe85b4081",
    "services": { "moneyIn": ["Card"] }
}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript CreateApplicationForNewLocation
const url = 'https://api-sandbox.payabli.com/api/v2/requests';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"businessReference":"019fed1a-3d6e-75d3-a81e-cba3874b0a55","paypointReference":"019ff3a8-2c41-7b0e-9d52-6e1f0c84a7b3","externalId":"APP-2026-1013","requestTemplate":"019ff129-d393-7761-9a31-e5afe85b4081","services":{"moneyIn":["Card"]}}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go CreateApplicationForNewLocation
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api-sandbox.payabli.com/api/v2/requests"

	payload := strings.NewReader("{\n  \"businessReference\": \"019fed1a-3d6e-75d3-a81e-cba3874b0a55\",\n  \"paypointReference\": \"019ff3a8-2c41-7b0e-9d52-6e1f0c84a7b3\",\n  \"externalId\": \"APP-2026-1013\",\n  \"requestTemplate\": \"019ff129-d393-7761-9a31-e5afe85b4081\",\n  \"services\": {\n    \"moneyIn\": [\n      \"Card\"\n    ]\n  }\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby CreateApplicationForNewLocation
require 'uri'
require 'net/http'

url = URI("https://api-sandbox.payabli.com/api/v2/requests")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"businessReference\": \"019fed1a-3d6e-75d3-a81e-cba3874b0a55\",\n  \"paypointReference\": \"019ff3a8-2c41-7b0e-9d52-6e1f0c84a7b3\",\n  \"externalId\": \"APP-2026-1013\",\n  \"requestTemplate\": \"019ff129-d393-7761-9a31-e5afe85b4081\",\n  \"services\": {\n    \"moneyIn\": [\n      \"Card\"\n    ]\n  }\n}"

response = http.request(request)
puts response.read_body
```

```java CreateApplicationForNewLocation
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api-sandbox.payabli.com/api/v2/requests")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"businessReference\": \"019fed1a-3d6e-75d3-a81e-cba3874b0a55\",\n  \"paypointReference\": \"019ff3a8-2c41-7b0e-9d52-6e1f0c84a7b3\",\n  \"externalId\": \"APP-2026-1013\",\n  \"requestTemplate\": \"019ff129-d393-7761-9a31-e5afe85b4081\",\n  \"services\": {\n    \"moneyIn\": [\n      \"Card\"\n    ]\n  }\n}")
  .asString();
```

```php CreateApplicationForNewLocation
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api-sandbox.payabli.com/api/v2/requests', [
  'body' => '{
  "businessReference": "019fed1a-3d6e-75d3-a81e-cba3874b0a55",
  "paypointReference": "019ff3a8-2c41-7b0e-9d52-6e1f0c84a7b3",
  "externalId": "APP-2026-1013",
  "requestTemplate": "019ff129-d393-7761-9a31-e5afe85b4081",
  "services": {
    "moneyIn": [
      "Card"
    ]
  }
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp CreateApplicationForNewLocation
using RestSharp;

var client = new RestClient("https://api-sandbox.payabli.com/api/v2/requests");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"businessReference\": \"019fed1a-3d6e-75d3-a81e-cba3874b0a55\",\n  \"paypointReference\": \"019ff3a8-2c41-7b0e-9d52-6e1f0c84a7b3\",\n  \"externalId\": \"APP-2026-1013\",\n  \"requestTemplate\": \"019ff129-d393-7761-9a31-e5afe85b4081\",\n  \"services\": {\n    \"moneyIn\": [\n      \"Card\"\n    ]\n  }\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift CreateApplicationForNewLocation
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [
  "businessReference": "019fed1a-3d6e-75d3-a81e-cba3874b0a55",
  "paypointReference": "019ff3a8-2c41-7b0e-9d52-6e1f0c84a7b3",
  "externalId": "APP-2026-1013",
  "requestTemplate": "019ff129-d393-7761-9a31-e5afe85b4081",
  "services": ["moneyIn": ["Card"]]
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api-sandbox.payabli.com/api/v2/requests")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### CreateApplicationForExistingPaypoint

**Request**

```json
{
  "businessReference": "019fed1a-3d6e-75d3-a81e-cba3874b0a55",
  "paypointReference": "019ff064-c690-7679-a73e-688418aadc7c",
  "externalId": "APP-2025-0418",
  "requestTemplate": "019ff129-d393-7761-9a31-e5afe85b4081",
  "tags": [
    "add-services"
  ],
  "services": {
    "moneyOut": [
      "Ach",
      "Check"
    ]
  }
}
```

**Response**

```json
{
  "success": true,
  "message": "Application created successfully",
  "traceId": "0HNONVRI1TBG9:00000029",
  "data": {
    "requestsReference": "4463979d-6336-4298-90cb-52d446030874",
    "businessReference": "019fed1a-3d6e-75d3-a81e-cba3874b0a55",
    "applicationStatus": "draft",
    "applicationStatusCode": 1,
    "allowedActions": [
      "submit",
      "withdraw",
      "abandon"
    ],
    "createdAt": "2026-09-28T15:48:54.0628351Z",
    "_links": {
      "self": "/v2/requests/4463979d-6336-4298-90cb-52d446030874",
      "business": "/v2/businesses/019fed1a-3d6e-75d3-a81e-cba3874b0a55"
    },
    "paypointReference": "019ff064-c690-7679-a73e-688418aadc7c",
    "paypointStatus": "active",
    "externalId": "APP-2025-0418",
    "parent": "a8806f02-23b3-4f6d-bba3-42e1b94326ea",
    "parentOrgName": "PropertyManager Pro",
    "requestTemplate": "019ff129-d393-7761-9a31-e5afe85b4081",
    "services": {
      "moneyOut": [
        "Ach",
        "Check"
      ]
    },
    "tags": [
      "add-services"
    ]
  }
}
```

**SDK Code**

```python CreateApplicationForExistingPaypoint
import requests

url = "https://api-sandbox.payabli.com/api/v2/requests"

payload = {
    "businessReference": "019fed1a-3d6e-75d3-a81e-cba3874b0a55",
    "paypointReference": "019ff064-c690-7679-a73e-688418aadc7c",
    "externalId": "APP-2025-0418",
    "requestTemplate": "019ff129-d393-7761-9a31-e5afe85b4081",
    "tags": ["add-services"],
    "services": { "moneyOut": ["Ach", "Check"] }
}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript CreateApplicationForExistingPaypoint
const url = 'https://api-sandbox.payabli.com/api/v2/requests';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"businessReference":"019fed1a-3d6e-75d3-a81e-cba3874b0a55","paypointReference":"019ff064-c690-7679-a73e-688418aadc7c","externalId":"APP-2025-0418","requestTemplate":"019ff129-d393-7761-9a31-e5afe85b4081","tags":["add-services"],"services":{"moneyOut":["Ach","Check"]}}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go CreateApplicationForExistingPaypoint
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api-sandbox.payabli.com/api/v2/requests"

	payload := strings.NewReader("{\n  \"businessReference\": \"019fed1a-3d6e-75d3-a81e-cba3874b0a55\",\n  \"paypointReference\": \"019ff064-c690-7679-a73e-688418aadc7c\",\n  \"externalId\": \"APP-2025-0418\",\n  \"requestTemplate\": \"019ff129-d393-7761-9a31-e5afe85b4081\",\n  \"tags\": [\n    \"add-services\"\n  ],\n  \"services\": {\n    \"moneyOut\": [\n      \"Ach\",\n      \"Check\"\n    ]\n  }\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby CreateApplicationForExistingPaypoint
require 'uri'
require 'net/http'

url = URI("https://api-sandbox.payabli.com/api/v2/requests")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"businessReference\": \"019fed1a-3d6e-75d3-a81e-cba3874b0a55\",\n  \"paypointReference\": \"019ff064-c690-7679-a73e-688418aadc7c\",\n  \"externalId\": \"APP-2025-0418\",\n  \"requestTemplate\": \"019ff129-d393-7761-9a31-e5afe85b4081\",\n  \"tags\": [\n    \"add-services\"\n  ],\n  \"services\": {\n    \"moneyOut\": [\n      \"Ach\",\n      \"Check\"\n    ]\n  }\n}"

response = http.request(request)
puts response.read_body
```

```java CreateApplicationForExistingPaypoint
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api-sandbox.payabli.com/api/v2/requests")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"businessReference\": \"019fed1a-3d6e-75d3-a81e-cba3874b0a55\",\n  \"paypointReference\": \"019ff064-c690-7679-a73e-688418aadc7c\",\n  \"externalId\": \"APP-2025-0418\",\n  \"requestTemplate\": \"019ff129-d393-7761-9a31-e5afe85b4081\",\n  \"tags\": [\n    \"add-services\"\n  ],\n  \"services\": {\n    \"moneyOut\": [\n      \"Ach\",\n      \"Check\"\n    ]\n  }\n}")
  .asString();
```

```php CreateApplicationForExistingPaypoint
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api-sandbox.payabli.com/api/v2/requests', [
  'body' => '{
  "businessReference": "019fed1a-3d6e-75d3-a81e-cba3874b0a55",
  "paypointReference": "019ff064-c690-7679-a73e-688418aadc7c",
  "externalId": "APP-2025-0418",
  "requestTemplate": "019ff129-d393-7761-9a31-e5afe85b4081",
  "tags": [
    "add-services"
  ],
  "services": {
    "moneyOut": [
      "Ach",
      "Check"
    ]
  }
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp CreateApplicationForExistingPaypoint
using RestSharp;

var client = new RestClient("https://api-sandbox.payabli.com/api/v2/requests");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"businessReference\": \"019fed1a-3d6e-75d3-a81e-cba3874b0a55\",\n  \"paypointReference\": \"019ff064-c690-7679-a73e-688418aadc7c\",\n  \"externalId\": \"APP-2025-0418\",\n  \"requestTemplate\": \"019ff129-d393-7761-9a31-e5afe85b4081\",\n  \"tags\": [\n    \"add-services\"\n  ],\n  \"services\": {\n    \"moneyOut\": [\n      \"Ach\",\n      \"Check\"\n    ]\n  }\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift CreateApplicationForExistingPaypoint
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [
  "businessReference": "019fed1a-3d6e-75d3-a81e-cba3874b0a55",
  "paypointReference": "019ff064-c690-7679-a73e-688418aadc7c",
  "externalId": "APP-2025-0418",
  "requestTemplate": "019ff129-d393-7761-9a31-e5afe85b4081",
  "tags": ["add-services"],
  "services": ["moneyOut": ["Ach", "Check"]]
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api-sandbox.payabli.com/api/v2/requests")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```