Repository navigation
feat(payments): payment orders and checkout - #42
Merged
Merged
Conversation
…heckout a2d8be8d0 (payment orders, Montonio) Refreshed in update mode (x swift / x typescript) against a private gateway stack on the campaign head; header BaseUrl put back to the usual localhost value. - payment orders + checkout: CreatePaymentOrderRequest, GetPaymentOrderRequest, GetPaymentOrdersRequest, StartPaymentCheckoutRequest and their DTOs - PaymentOrderEventDto / PaymentEventDto (payments.order.* webhooks) - MontonioPaymentIntegrationRequest / Dto - other gateway additions (notification inbox, trigger definition, user import) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tOrder, getPaymentOrder, getPaymentOrders, startPaymentCheckout
client.payments (new NorbixApi PaymentsModule, typed like FilesModule):
- POST /{version}/payments/orders → the order id (ord_…; same body + same
idempotencyKey → same id)
- GET /{version}/payments/orders/{Id} → PaymentOrder
- GET /{version}/payments/orders (buyerUserId, merchantReference, status,
pageSize, startingAfter) → PaymentOrderPage
- POST /{version}/payments/orders/{Id}/checkout → PaymentCheckoutStart
(checkout, reused, order)
Models: PaymentOrderLineInput, PaymentOrder, PaymentOrderLine,
PaymentOrderCheckout. Tests: verb, path, path param, body / query and the
decoded answer through the mock executor. docs/api/payments.md.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
🎉 This PR is included in version 1.21.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Payment orders and checkout (gateway campaign
audit/payments-checkout, item sdk-all; same surface as @norbix.ai/ts v4.29.0).NorbixApiClient.payments: typedcreatePaymentOrder(returns theord_…id),getPaymentOrder(id:),getPaymentOrders(…)(page),startPaymentCheckout(…), with modelsPaymentOrder,PaymentOrderLine,PaymentOrderCheckout,PaymentOrderPage,PaymentCheckoutStart.NorbixApiClientTypegainspayments(as earlier modules did). A custom conformer must add it; the major version is frozen, so this ships as a minor.Checks
swift build·swift test402 passed (7 new)🤖 Generated with Claude Code