payment methods

Manage the method used to pay an employee (Transfer or Cash).

Get Payment Methods

SecuritybearerAuth
Responses
200

Payment Menthod Response - Array

get/paymentMethods
Request samples
Response samples
application/vnd.api+json
{}

Create a Payment Method

Create a Payment Method

SecuritybearerAuth
Request
Request Body schema: application/vnd.api+json

Payment method to be added.

Business Rules:

  • method must be either Transfer or Cash
  • For Transfer: accountNumber and sortCode are required; paymentReference optional
  • For Cash: accountNumber, sortCode and paymentReference should be omitted or null
object
Responses
201

Payment Menthod Response

post/paymentMethods
Request samples
application/vnd.api+json
{
  • "data": {
    }
}
Response samples
application/vnd.api+json
{}

Get Payment Method by ID

Get Payment Method by ID

SecuritybearerAuth
Request
path Parameters
id
required
string <uuid>

PaymentMethod ID

Example: 906264f1-2dff-4f72-a10b-59918cf738d7
Responses
200

Payment Menthod Response

get/paymentMethods/{id}
Request samples
Response samples
application/vnd.api+json
{}