Skip to content

Get Job Refund Method

Retrieve the tax refund method for a job.

These endpoints retrieve the personal or business tax refund method that has been provided to a job.

Endpoints

MethodUrl
GET/v1.0/jobs/:job_id/personal-refund-method
GET/v1.0/jobs/:job_id/business-refund-method

Path Parameters

job_id
string
required

ID of the job to get the refund method for.

Sample Request

Copied
1curl -X GET 'https://api.worklayer.com/v1.0/jobs/3b31f309-93ad-463a-ad1d-c39cac1c0a3d/personal-refund-method' \
2-H 'Authorization: Bearer {token}'

Sample Response

Copied
1{
2 "id": "550e8400-e29b-41d4-a716-446655440000",
3 "version": 1,
4 "owner_user_id": "a385a314-12f9-4ee3-a838-c8785d5db610",
5 "create_time": "2024-01-01T12:00:00Z",
6 "update_time": "2024-01-01T12:00:00Z",
7 "refund_type": "PERSONAL",
8 "delivery_method": {
9 "direct_deposit": {
10 "bank_account": {
11 "account_type": "CHECKING",
12 "routing_number": "123456789",
13 "account_number": "987654321"
14 }
15 }
16 }
17}

Errors

  • 403: Not authorized to view this refund method
  • 404: The refund method was not found
Last updated on November 1, 2024