Get a void
GEThttps://app.shuttleglobal.com/c/api/instances/{instance_key}/voids/{void_id}
Retrieve details of a specific void transaction.
You can expand the following fields:
- account
- created_session
- parts
- source_transaction
- updated_session
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”/^vo_[0-9]+_[0-9a-z]+$/The void’s ID (vo_...).
Query Parameters
Section titled “Query Parameters”Fields to expand into full objects
Responses
Section titled “Responses”Void details
object
A void transaction representing the cancellation of a previously authorised payment
object
The ID of the void
/^vo_[0-9]+_[0-9a-z]+$/The account the void was for
The amount voided
When the void was created
The session that created the void
The currency in ISO format
The status message returned by the gateway
The gateway identifier for the void
The category or error message received from the gateway
Custom key-value pairs stored on the void
object
Whether this void was recorded as an offline transaction
Array of parts objects for which charge(s) the void was applied to
The original payment (AUTH) this void relates to
When the void was processed by the gateway
The customer-facing reference (format BOLT-*)
The original AUTH transaction that was voided
The status of the void
When the void was last updated
The session that last updated the void
The version of the record
Bad request - invalid parameters
Every error has a code and a message. Some add more fields alongside them, with detail about the error.
object
The error code, for example VALIDATION_ERROR, INVALID, INVALID_REQUEST, UNAUTHORIZED, FORBIDDEN or NOT_FOUND. Program against this, not the message.
What went wrong, in words, for logs and support.
Unauthorised: the API key is missing or not valid
Every error has a code and a message. Some add more fields alongside them, with detail about the error.
object
The error code, for example VALIDATION_ERROR, INVALID, INVALID_REQUEST, UNAUTHORIZED, FORBIDDEN or NOT_FOUND. Program against this, not the message.
What went wrong, in words, for logs and support.
Example
{ "code": "UNAUTHORIZED", "message": "Unauthorised"}Void not found
Every error has a code and a message. Some add more fields alongside them, with detail about the error.
object
The error code, for example VALIDATION_ERROR, INVALID, INVALID_REQUEST, UNAUTHORIZED, FORBIDDEN or NOT_FOUND. Program against this, not the message.
What went wrong, in words, for logs and support.
Was this page helpful?
What went wrong?
Thanks for telling us.