Callbacks service docs updated
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
components:
|
||||
requestBodies:
|
||||
PaymentMethodBody:
|
||||
description: JSON body containing a payment method definition.
|
||||
required: true
|
||||
content:
|
||||
application/json:
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
components:
|
||||
schemas:
|
||||
PaymentMethodRequest:
|
||||
description: Request payload used to create or update a payment method.
|
||||
$ref: ../../../models/payment_method/payment_method.yaml#/components/schemas/PaymentMethod
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
components:
|
||||
schemas:
|
||||
Payment MethodsAuthData:
|
||||
description: Authenticated response payload containing payment methods.
|
||||
type: object
|
||||
additionalProperties: false
|
||||
required:
|
||||
@@ -8,8 +9,10 @@ components:
|
||||
- payment_methods
|
||||
properties:
|
||||
accessToken:
|
||||
description: Refreshed access token to be used in subsequent API calls.
|
||||
$ref: ../../../models/auth/token_data.yaml#/components/schemas/TokenData
|
||||
payment_methods:
|
||||
description: Collection of payment methods available to the authenticated account.
|
||||
type: array
|
||||
items:
|
||||
$ref: ../../../models/payment_method/payment_method.yaml#/components/schemas/PaymentMethod
|
||||
|
||||
Reference in New Issue
Block a user