We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Allows to capture a PayPal order for minting and drisribution of a song.
URL: v1/paypal/minting-distribution/orders/{orderId}/capture
v1/paypal/minting-distribution/orders/{orderId}/capture
Method: POST
POST
Path Parameters:
Query Parameters: None
Headers:
Authorization: Bearer {accessToken}
Content-Type: application/json
Content: None
Code: 200 OK
200 OK
Headers: None
Code: 401 UNAUTHORIZED
401 UNAUTHORIZED
Condition: If {accessToken} is invalid or expired.
{accessToken}
Code: 404 NOT FOUND
404 NOT FOUND
Condition: If the underlying Song (by songId) is not found.
songId
Content example:
{ "code": 404, "description": "Not Found", "cause": "Entity SonglistEntity, id=d0907e3d-a9a7-43b1-93dc-f3b0ee929021 not found in the database" }
Code: 422 UNPROCESSABLE ENTITY
422 UNPROCESSABLE ENTITY
Condition: If the PayPal backend fails to capture the underying order or produces an unexpected response.
{ "code": 422, "description": "Unprocessable Entity", "cause": "Unexpected capture amount - expected 16.44 USD, received: 8.45 USD" }
PayPal - Create Minting & Distribution Order