Skip to main content
POST
Create Spend Remedy Task

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Authorization
string
header
required

This API uses OAuth2 with the Client Credential flow. Client Credentials must be sent in the BODY, not the headers. For an example of how to implement this, refer to the c1TokenSource.Token() function.

Body

application/json

TaskServiceCreateSpendRemedyRequest requests a scoped change through the configured policy. Beneficiary, operation and authority are derived from the caller's verified refusal.

This message contains a oneof named requested_change. Only a single field of the following list may be set at a time:

  • personalExtension
  • sharedIncrease
  • resume
appId
string

Narrows delivered audience proof. An APP-scoped refusal may supply this context; other scopes require it. The verified receipt determines the app.

blockId
string

The blockId field.

personalExtension
Spend Remedy Personal Extension Request · object | null

A proposed personal replacement total and absolute expiration.

predecessorTaskId
string

Explicit reconsideration names the current closed request.

reason
string

The reason field.

resume
Spend Remedy Resume Request · object | null

Resume carries no monetary terms or expiration.

sharedIncrease
Spend Remedy Shared Increase Request · object | null

A proposed shared replacement total, never an additive credit.

Response

200 - application/json

Successful response

The TaskServiceCreateSpendRemedyResponse message.

task
Task Ref · object | null

This object references a task by ID.