Skip to content

Update Tax Refund Method

Update an existing tax refund method.

This endpoint updates an existing tax refund method.

Endpoint

MethodUrl
POST/v1.0/tax-refund-methods/:id

Path Parameters

id
string
required

ID of the tax refund method to update.

Request Body

delivery_method
object
required

New delivery method specification. See Tax Refund Method Resource.

Sample Request

Copied
1curl -X POST 'https://api.worklayer.com/v1.0/tax-refund-methods/550e8400-e29b-41d4-a716-446655440000' \
2-H 'Authorization: Bearer {token}' \
3-H 'Content-Type: application/json' \
4-d '{
5 "delivery_method": {
6 "check": {
7 "mailing_address": {
8 "address_line_1": "123 Main St",
9 "address_line_2": "Suite 100",
10 "city": "Coconut Grove",
11 "region": "FL",
12 "postal_code": "33133",
13 "country": "United States"
14 }
15 }
16 }
17}'

Response

id
string

Unique identifier of the updated tax refund method.

version
integer

Version number of the updated tax refund method.

Sample Response

Copied
1{
2 "id": "550e8400-e29b-41d4-a716-446655440000",
3 "version": 2
4}

Errors

  • 400: Future tax credit as a delivery method is only allowed for business refund types
  • 403: Not authorized to update this refund method
  • 404: The refund method was not found
Last updated on November 1, 2024