Skip to main content
POST
/
label-requests
/
{id}
/
errors
Create Label Request Error
curl --request POST \
  --url https://api.loopreturns.com/api/v1/label-requests/{id}/errors \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "reason": "INSUFFICIENT_FUNDS",
  "message": "<string>"
}
'
{
  "reason": "INSUFFICIENT_FUNDS",
  "message": "<string>",
  "created_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

id
integer
required

The unique identifier for the label request, created by Loop.

Body

application/json
reason
enum<string>
required

The reason code associated with the label request error.

Available options:
INSUFFICIENT_FUNDS,
INVALID_ADDRESS,
Other
message
string

The message associated with the label request error.

Response

OK

reason
enum<string>

The reason code associated with the label request error.

Available options:
INSUFFICIENT_FUNDS,
INVALID_ADDRESS,
Other
message
string

The message associated with the label request error.

created_at
string<date-time>

The date the label was created.