Skip to content

Commit

Permalink
feat(api): updates (#301)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Jun 12, 2024
1 parent 7a1e0f5 commit f6b09d4
Show file tree
Hide file tree
Showing 11 changed files with 694 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
configured_endpoints: 110
configured_endpoints: 113
11 changes: 5 additions & 6 deletions accountholder.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,11 @@ func NewAccountHolderService(opts ...option.RequestOption) (r *AccountHolderServ
}

// Run an individual or business's information through the Customer Identification
// Program (CIP) and return an `account_token` if the status is accepted or pending
// (i.e., further action required). All calls to this endpoint will return an
// immediate response - though in some cases, the response may indicate the
// workflow is under review or further action will be needed to complete the
// account creation process. This endpoint can only be used on accounts that are
// part of the program that the calling API key manages.
// Program (CIP). All calls to this endpoint will return an immediate response -
// though in some cases, the response may indicate the enrollment is under review
// or further action will be needed to complete the account enrollment process.
// This endpoint can only be used on accounts that are part of the program that the
// calling API key manages.
//
// Note: If you choose to set a timeout for this request, we recommend 5 minutes.
func (r *AccountHolderService) New(ctx context.Context, body AccountHolderNewParams, opts ...option.RequestOption) (res *AccountHolderNewResponse, err error) {
Expand Down
12 changes: 12 additions & 0 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -450,3 +450,15 @@ Methods:

- <code title="get /digital_card_art/{digital_card_art_token}">client.DigitalCardArt.<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go#DigitalCardArtService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, digitalCardArtToken <a href="https://pkg.go.dev/builtin#string">string</a>) (<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go">lithic</a>.<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go#DigitalCardArt">DigitalCardArt</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /digital_card_art">client.DigitalCardArt.<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go#DigitalCardArtService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, query <a href="https://pkg.go.dev/github.com/lithic-com/lithic-go">lithic</a>.<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go#DigitalCardArtListParams">DigitalCardArtListParams</a>) (<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go/internal/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go/internal/pagination#CursorPage">CursorPage</a>[<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go">lithic</a>.<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go#DigitalCardArt">DigitalCardArt</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

# BookTransfers

Response Types:

- <a href="https://pkg.go.dev/github.com/lithic-com/lithic-go">lithic</a>.<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go#BookTransferResponse">BookTransferResponse</a>

Methods:

- <code title="post /book_transfers">client.BookTransfers.<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go#BookTransferService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, body <a href="https://pkg.go.dev/github.com/lithic-com/lithic-go">lithic</a>.<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go#BookTransferNewParams">BookTransferNewParams</a>) (<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go">lithic</a>.<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go#BookTransferResponse">BookTransferResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /book_transfers/{book_transfer_token}">client.BookTransfers.<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go#BookTransferService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, bookTransferToken <a href="https://pkg.go.dev/builtin#string">string</a>) (<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go">lithic</a>.<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go#BookTransferResponse">BookTransferResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /book_transfers">client.BookTransfers.<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go#BookTransferService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, query <a href="https://pkg.go.dev/github.com/lithic-com/lithic-go">lithic</a>.<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go#BookTransferListParams">BookTransferListParams</a>) (<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go/internal/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go/internal/pagination#CursorPage">CursorPage</a>[<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go">lithic</a>.<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go#BookTransferResponse">BookTransferResponse</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
Loading

0 comments on commit f6b09d4

Please sign in to comment.