Cancel a Payout Group

Facades: payout

Response

Name Type
cancelled
An array of payout objects that were successfully cancelled. A description of all payout fields is available in the [resource](#rest-api-resources-payouts-resource) section.
array
failed
An array of objects representing the payouts that failed to cancel.
array
errMessage
The error message or reason the payout cancellation may have failed.
string
payoutId
The id of the payout that failed.
string
Path Params
string
required

The the groupId of the collection of payouts you want to cancel.

Query Params
string
required

Approved payout facade token.

Headers
string
required
Defaults to application/json

Must be set to application/json for requests to the BitPay API

string
required
Defaults to 2.0.0

Must be set to 2.0.0 for requests to the BitPay API

string
required

The hexadecimal public key generated from the client private key. This header is optional for this endpoint when using the public facade, and required when using a merchant facade token.

string
required

The ECDSA signature of the full request URL concatenated with the request body, signed with your private key. This header is optional for this endpoint when using the public facade, and required when using a merchant facade token.

Response

Language
Choose an example:
application/json