@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api BIN Lookup API
@base https://api.bintable.com/v1
@version 1.0.0-oas3
@auth ApiKey api_key in query
@endpoints 2
@toc {bin}(1), balance(1)

@group {bin}
@endpoint GET /{bin}
@required {bin: str, api_key: str}
@returns(200)
@errors {401, 403, 422}

@endgroup

@group balance
@endpoint GET /balance
@required {api_key: str}
@returns(200)
@errors {401, 403, 422}

@endgroup

@end
