Raw
1 delete:
2 operationId: DeletePaymentCollectionsId
3 summary: Delete a Payment Collection
4 description: Delete a payment collection.
5 x-authenticated: true
6 parameters:
7 - name: id
8 in: path
9 description: The payment collection's ID.
10 required: true
11 schema:
12 type: string
13 security:
14 - api_token: []
15 - cookie_auth: []
16 - jwt_token: []
17 x-codeSamples:
18 - lang: JavaScript
19 label: JS SDK
20 source:
21 $ref: ../code_samples/JavaScript/admin_payment-collections_{id}/delete.js
22 - lang: Shell
23 label: cURL
24 source:
25 $ref: ../code_samples/Shell/admin_payment-collections_{id}/delete.sh
26 tags:
27 - Payment Collections
28 responses:
29 '200':
30 description: OK
31 content:
32 application/json:
33 schema:
34 $ref: ../components/schemas/AdminDeletePaymentCollectionResponse.yaml
35 '400':
36 $ref: ../components/responses/400_error.yaml
37 '401':
38 $ref: ../components/responses/unauthorized.yaml
39 '404':
40 $ref: ../components/responses/not_found_error.yaml
41 '409':
42 $ref: ../components/responses/invalid_state_error.yaml
43 '422':
44 $ref: ../components/responses/invalid_request_error.yaml
45 '500':
46 $ref: ../components/responses/500_error.yaml
47 x-workflow: deleteOrderPaymentCollections
48 x-events: []