forked from stripe/stripe-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
events_resend.proto
42 lines (29 loc) · 1.1 KB
/
events_resend.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
syntax = "proto3";
package rpc;
import "common.proto";
option go_package = "github.com/stripe/stripe-cli/rpc";
message EventsResendRequest {
// The ID of the event to resend.
string event_id = 1;
// Resend the event to the given Stripe account. This is useful when testing a Connect platform.
string account = 2;
// Additional data to send with an API request. Supports setting nested values
// (e.g nested[param]=value).
repeated string data = 3;
// Response attributes to expand inline (target nested values with nested[param]=value).
repeated string expand = 4;
// Set an idempotency key for the request, preventing the same request from replaying within 24
// hours.
string idempotency = 5;
// Make a live request (by default, runs in test mode).
bool live = 6;
// Specify the Stripe account to use for this request.
string stripe_account = 7;
// Specify the Stripe API version to use for this request.
string version = 8;
// Resend the event to the given webhook endpoint ID.
string webhook_endpoint = 9;
}
message EventsResendResponse {
StripeEvent stripe_event = 1;
}