== PAYEES

The Payee resource is used to list, create, and update payee.

=== Retrieve a payee

A `GET` request will retrieve the details of a payee.

==== Response fields

include::{snippets}/payee-get-example/response-fields.adoc[]

==== Example request

include::{snippets}/payee-get-example/http-request.adoc[]

==== Example response

include::{snippets}/payee-get-example/http-response.adoc[]

=== Create a payee

A `POST` request will create a new payee.

==== Request fields

include::{snippets}/payee-create-example/request-fields.adoc[]

==== Response fields

include::{snippets}/payee-create-example/response-fields.adoc[]

==== Example request

include::{snippets}/payee-create-example/http-request.adoc[]

==== Example response

include::{snippets}/payee-create-example/http-response.adoc[]

=== Update a payee

A `PUT` request will update the details of a payee.

==== Request fields

include::{snippets}/payee-update-example/request-fields.adoc[]

==== Response fields

include::{snippets}/payee-update-example/response-fields.adoc[]

==== Example request

include::{snippets}/payee-update-example/http-request.adoc[]

==== Example response

include::{snippets}/payee-update-example/http-response.adoc[]