Skip to content

Conversation

@ShreyaThapa
Copy link
Contributor

  • Updated speakeasy groups and names for intuitive method name signatures in the SDK
  • Fixed circular refernce ExchangePartners.yml schema
  • Moved On Demand Auth file from transfers to fundingSources.

summary: Verify KBA Questions
description: Submits customer answers to KBA questions for identity verification. Requires four question-answer pairs with questionId and answerId values. Returns verification status indicating whether the customer passed or failed the KBA authentication.
operationId: verify
operationId: verifyKbaQuestions
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ShreyaThapa would there also need to be a x-speakeasy-group here? Similar to initiateKba

description: Reallocates funds between two labels belonging to the same Verified Customer. Moves the specified amount from the source label to the destination label, creating ledger entries for both. The reallocation only succeeds if the source label has sufficient funds.
operationId: createLabelReallocation
x-speakeasy-name-override: createReallocation
x-speakeasy-group: labelReallocations
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this one be customers.labelReallocation?

Copy link
Contributor Author

@ShreyaThapa ShreyaThapa Aug 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was debating whether this would be labels.reallocations.create given that its a sub resource of labels, but I ended up going with the what the API path looked like and was hoping you'd have some advice on it:

https://api.dwolla.com/label-reallocations

If we do the <resource>.<sub-resource>, should we consider doing labels.reallocations.create like how we do it for fundingSources.update/fundingSources/remove?

On the other hand customers.labels.reallocations.create also sounds right. This was a hard one to come up with a good naming convention for.

We could do something like what you mentioned and make sure to explicitly mention what the {id} is in the request parameter list and API path -

  • customers.labels.reallocations.create()
  • customers.labels.reallocations.get( reallocationId )
  • customers.labels.ledgerEntries.list( labelId )
  • customers.labels.ledgerEntries.get( ledgerEntryId )
  • masspayments.items.get( itemId )

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@spencerhunter, let me know what you think!

description: Create a new ledger entry to track fund adjustments on a Label by specifying a positive or negative amount value. Returns the location of the created ledger entry in the response header. Label amounts cannot go negative, so validation errors occur if the entry would result in a negative Label balance.
operationId: createLabelLedgerEntry
x-speakeasy-name-override: createLedgerEntry
x-speakeasy-group: labels.ledgerEntries
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

similar to labelReallocations, should this one be customers.labels.ledgerEntries?

@ShreyaThapa ShreyaThapa merged commit a452e1c into main Aug 13, 2025
5 checks passed
@ShreyaThapa ShreyaThapa deleted the DEV-1787 branch September 16, 2025 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants