Repository navigation
feat(payments): payment orders and checkout - #44
Merged
Merged
Conversation
…heckout a2d8be8d0 (payment orders, Montonio) Refreshed in update mode (x dart) 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
api.payments (new PaymentsResource on NorbixApi), written in the generated
resource style (the generator is no longer in the repo):
- POST /{version}/payments/orders → { id } (ord_…; same body + same
idempotencyKey → same id)
- GET /{version}/payments/orders/{id} → { item }
- GET /{version}/payments/orders (buyerUserId, merchantReference, status) → { list }
- POST /{version}/payments/orders/{id}/checkout → { checkout, reused, order }
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…efunded, reversed, expired
The payload is the order event (PaymentOrderEventDto map: orderEventId, event,
from, to, reason, order, payment). integrationId and the provider ids are
lifted from data.payment onto metadata, and the new metadata.order carries
{ id, orderEventId, status }; orderEventId is the de-duplication key.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
🎉 This PR is included in version 2.23.0 🎉 The release is available on:
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).NorbixApi.payments:createPaymentOrder,getPaymentOrder,getPaymentOrders,startPaymentCheckout.payments.order.paid/.partially_refunded/.refunded/.reversed/.expiredin the catalog andNorbixWebhookEvents;metadata.order(id, orderEventId — the de-duplication key — and status); payment ids lifted fromdata.payment.PaymentOrderEventDto, Montonio).Checks
dart analyzeno issues ·dart test448 passed (8 new)🤖 Generated with Claude Code