Platform endpoints — payees
How to call the payees routes. The formal schema is the OpenAPI specification
(openapi/source/platform/payees/payees.yml); this page is the call contract.
All routes require a bearer token (B2B JWT) with CLIENT role and an ACTIVE party.
Global /v1 prefix applies.
Route summary
| Method | Path | Code | Purpose |
|---|---|---|---|
GET | /v1/payees | 200 | List all payees for the party |
GET | /v1/payees/:payeeId | 200 | Get payee details |
POST | /v1/payees | 201 | Create a payee |
DELETE | /v1/payees/:payeeId | 204 | Delete a payee |
Route details
GET /v1/payees — list payees
Returns all of the party's payees as a single list. If the platform cannot reach
one of the backing providers, the whole request fails rather than returning a
partial list. Listing (or creating) a payee makes its payeeId known to the
platform, so later GET /:payeeId and DELETE /:payeeId calls resolve directly.
GET /v1/payees/:payeeId — payee detail
Returns the payee's details. The payeeId must already be known to the platform
(from a prior list or create); an unknown id returns 404 PAE004001.
Path parameter: payeeId (string, Ark payee id).
Errors:
| HTTP | Code | When |
|---|---|---|
404 | PAE004001 | Payee not found (unknown payeeId, or not found at the provider) |
POST /v1/payees — create payee (201)
Creates a payee with the backing provider configured for the caller's party.
Body: PayeeCreationRequestPlatformApi — payee details (BSB, account
number, PayID, or BPAY); see OAS.
Errors:
| HTTP | Code | When |
|---|---|---|
400 | GEN000000 | Body fails schema validation |
400 | PAE400001 | Invalid BSB |
400 | PAE400002 | Invalid CRN |
400 | PAE400003 | Invalid PayID format |
409 | PAE009001 | Duplicate payee |
422 | PAE422001 | Missing account number |
DELETE /v1/payees/:payeeId — delete payee (204)
Deletes the payee at the backing provider that holds it.
Path parameter: payeeId (string, Ark payee id).
Errors:
| HTTP | Code | When |
|---|---|---|
404 | PAE004001 | Payee not found |
Auth
All routes: bearer token (B2B JWT) with CLIENT role; party must be ACTIVE.