ResourcesCharges

Retrieve a charge

Retrieves the details of an existing charge by its ID. Refer to the charge model section for details on the returned object structure.

Retrieves the details of an existing charge by its ID. Refer to the charge model section for details on the returned object structure.

GET
/v2/charges/{charge}

Authorization

bearerAuth storeAuth
AuthorizationBearer <token>

Provide your SellApp API key as a bearer token.

In: header

X-STORE<token>

Select the SellApp store for this API request.

In: header

Path Parameters

charge*integer

The charge path parameter.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://sell.app/api/v2/charges/0"
{
  "data": {
    "id": 1,
    "url": "https://sell.app/store/charges/select/1?signature=...",
    "status": "PENDING"
  }
}
{
  "message": "Unauthenticated."
}
{
  "message": "This action is unauthorized."
}
{
  "message": "Rule not found."
}
{
  "message": "The given data was invalid.",
  "errors": {
    "data": [
      "The data field is required."
    ]
  }
}