Refund Demands

Related to refunds

Fetch related merchant

SecuritybearerAuth
Request
path Parameters
id
required
string <uuid> (id)

the identifier of the record

query Parameters
fields
string

sparse fieldsets: fields[TYPE]=field1,field2,...

include
header Parameters
User-Agent
required
string

The name and version of the client making the request

Example: CHOAM EPT Client v10191 (Ruby Client v3)
Responses
200

OK

400

Some or all of the pieces of your request are invalid and this response details those issues.

401

The request was not authorized

406

TODO

422

Some or all of the pieces of your request are invalid and this response details those issues.

get/v2/refund_demands/{id}/relationships/merchant
Request samples
Response samples
application/vnd.api+json
{
  • "data": {
    },
  • "links": { },
  • "meta": {
    }
}

List all records

SecuritybearerAuth
Request
query Parameters
filter
string

filter[NAME]=value(s)

fields
string

sparse fieldsets: fields[TYPE]=field1,field2,...

include
sort
page[size]
integer <int32>

size of page for paginated results

page[number]
integer <int32>

page number of results

page[limit]
integer <int32>

limit for this page of paginated results

page[offset]
integer <int32>

collection items offset for paginated results

header Parameters
User-Agent
required
string

The name and version of the client making the request

Example: CHOAM EPT Client v10191 (Ruby Client v3)
Responses
200

OK

400

Some or all of the pieces of your request are invalid and this response details those issues.

401

The request was not authorized

406

TODO

422

Some or all of the pieces of your request are invalid and this response details those issues.

get/v2/refund_demands
Request samples
Response samples
application/vnd.api+json
{
  • "data": {
    },
  • "links": { },
  • "meta": {
    }
}

Create a new refund demand

SecuritybearerAuth
Request
query Parameters
fields
string

sparse fieldsets: fields[TYPE]=field1,field2,...

include
header Parameters
User-Agent
required
string

The name and version of the client making the request

Example: CHOAM EPT Client v10191 (Ruby Client v3)
Responses
201

Created. Assigned id and/or any other changes are in this response.

400

Some or all of the pieces of your request are invalid and this response details those issues.

401

The request was not authorized

406

TODO

415

TODO

422

Some or all of the pieces of your request are invalid and this response details those issues.

post/v2/refund_demands
Request samples
Response samples
application/vnd.api+json
{
  • "data": {
    },
  • "links": { },
  • "meta": {
    }
}

Fetch a singular record by its unique id

SecuritybearerAuth
Request
path Parameters
id
required
string <uuid> (id)

the identifier of the record

query Parameters
fields
string

sparse fieldsets: fields[TYPE]=field1,field2,...

include
header Parameters
User-Agent
required
string

The name and version of the client making the request

Example: CHOAM EPT Client v10191 (Ruby Client v3)
Responses
200

OK

400

Some or all of the pieces of your request are invalid and this response details those issues.

401

The request was not authorized

406

TODO

422

Some or all of the pieces of your request are invalid and this response details those issues.

get/v2/refund_demands/{id}
Request samples
Response samples
application/vnd.api+json
{
  • "data": {
    },
  • "links": { },
  • "meta": {
    }
}

Fetch related payment_demand

SecuritybearerAuth
Request
path Parameters
id
required
string <uuid> (id)

the identifier of the record

query Parameters
fields
string

sparse fieldsets: fields[TYPE]=field1,field2,...

include
header Parameters
User-Agent
required
string

The name and version of the client making the request

Example: CHOAM EPT Client v10191 (Ruby Client v3)
Responses
200

OK

400

Some or all of the pieces of your request are invalid and this response details those issues.

401

The request was not authorized

406

TODO

422

Some or all of the pieces of your request are invalid and this response details those issues.

get/v2/refund_demands/{id}/relationships/payment_demand
Request samples
Response samples
application/vnd.api+json
{
  • "data": {
    },
  • "links": { },
  • "meta": {
    }
}