Skip to content

Commit 707bb49

Browse files
committed
Add events
1 parent 12375e0 commit 707bb49

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

openapi.yaml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1688,13 +1688,16 @@ paths:
16881688
- Account
16891689
summary: Payment Method Add
16901690
description: |
1691-
Adds a Payment Method to your Account with the option to set it as the default method. Adding a default
1692-
Payment Method removes the default status from any other Payment Method.
1691+
Adds a Payment Method to your Account with the option to set it as the default method.
16931692

1694-
An Account can have up to 6 active Payment Methods.
1693+
* Adding a default Payment Method removes the default status from any other Payment Method.
16951694

1696-
Prior to adding a Payment Method, ensure that your billing address information is up-to-date
1695+
* An Account can have up to 6 active Payment Methods.
1696+
1697+
* Prior to adding a Payment Method, ensure that your billing address information is up-to-date
16971698
with a valid `zip` by using the Account Update ([PUT /account](/docs/api/account/#account-update)) endpoint.
1699+
1700+
* A `payment_method_add` event is generated when a payment is successfully submitted.
16981701
operationId: createPaymentMethod
16991702
x-linode-cli-action: add
17001703
security:
@@ -1952,7 +1955,9 @@ paths:
19521955
description: |
19531956
Makes a Payment to your Account.
19541957

1955-
The requested amount is charged to the default Payment Method if no `payment_method_id` is specified.
1958+
* The requested amount is charged to the default Payment Method if no `payment_method_id` is specified.
1959+
1960+
* A `payment_submitted` event is generated when a payment is successfully submitted.
19561961
operationId: createPayment
19571962
x-linode-cli-action: payment-create
19581963
security:
@@ -1968,7 +1973,7 @@ paths:
19681973
$ref: '#/components/schemas/PaymentRequest'
19691974
responses:
19701975
'200':
1971-
description: Payment made.
1976+
description: Payment submitted successfully.
19721977
content:
19731978
application/json:
19741979
schema:
@@ -17016,6 +17021,7 @@ components:
1701617021
- oauth_client_secret_reset
1701717022
- oauth_client_update
1701817023
- password_reset
17024+
- payment_method_add
1701917025
- payment_submitted
1702017026
- profile_update
1702117027
- stackscript_create

0 commit comments

Comments
 (0)