outbox for gateways

This commit is contained in:
Stephan D
2026-02-18 01:35:28 +01:00
parent 974caf286c
commit 69531cee73
221 changed files with 12172 additions and 782 deletions

View File

@@ -26,6 +26,25 @@ message GetPaymentMethodResponse {
payments.endpoint.v1.PaymentMethodRecord payment_method_record = 1;
}
message GetPaymentMethodPrivateRequest {
string organization_ref = 1;
oneof selector {
string payment_method_ref = 2;
string payee_ref = 3;
}
PrivateEndpoint endpoint = 4;
}
enum PrivateEndpoint {
PRIVATE_ENDPOINT_UNSPECIFIED = 0;
PRIVATE_ENDPOINT_SOURCE = 1;
PRIVATE_ENDPOINT_DESTINATION = 2;
}
message GetPaymentMethodPrivateResponse {
payments.endpoint.v1.PaymentMethodRecord payment_method_record = 1;
}
message UpdatePaymentMethodRequest {
string account_ref = 1;
payments.endpoint.v1.PaymentMethodRecord payment_method_record = 2;
@@ -78,4 +97,6 @@ service PaymentMethodsService {
rpc SetPaymentMethodArchived(SetPaymentMethodArchivedRequest) returns (SetPaymentMethodArchivedResponse);
// ListPaymentMethods retrieves a list of payment methods.
rpc ListPaymentMethods(ListPaymentMethodsRequest) returns (ListPaymentMethodsResponse);
// GetPaymentMethodPrivate retrieves a payment method without permission checks.
rpc GetPaymentMethodPrivate(GetPaymentMethodPrivateRequest) returns (GetPaymentMethodPrivateResponse);
}