Skip to main content
GET
/
businesses
/
{id}
Get business registration
curl --request GET \
  --url https://api.guile.app/businesses/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "paymentProcessor": "stripe",
  "state": "approved",
  "allows": {
    "payouts": true,
    "instantPayouts": true,
    "cardPayments": true
  }
}

Path Parameters

id
string<uuid>
required

The unique, opaque system identifier for a resource. This case-sensitive ID is also used as path parameters in URLs or in other properties or parameters that reference a resource by ID rather than URL.

Response

Ok. The operation succeeded.

Representation of a registered business for payment processing and payouts.

id
string<uuid>
required

The unique, opaque system identifier for a resource. This case-sensitive ID is also used as path parameters in URLs or in other properties or parameters that reference a resource by ID rather than URL.

paymentProcessor
enum<string>
required

The name of the external service providing payment processing.

Available options:
stripe
state
enum<string>
required

The state of the business registration.

Available options:
approved,
pending,
rejected
allows
object
required

The capabilities allowed for this business.