outbox for gateways
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user