{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/payments:paypal-payouts/payouts-post":{"post":{"operationId":"payments_paypal_payouts_payouts_post","summary":"Create batch payout","description":"POST /v1/payments/payouts","tags":["payments"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"PayPal-Request-Id":{"type":"string","description":"The server stores keys for 30 days."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/payments:paypal-payouts/payouts-get":{"get":{"operationId":"payments_paypal_payouts_payouts_get","summary":"Show payout batch details","description":"GET /v1/payments/payouts/{id}","tags":["payments"],"parameters":[{"name":"id","in":"query","required":true,"description":"The ID of the payout for which to show details.","schema":{"type":"string","description":"The ID of the payout for which to show details."}},{"name":"fields","in":"query","required":false,"description":"Shows details for only the specified fields.","schema":{"type":"string","description":"Shows details for only the specified fields."}},{"name":"page","in":"query","required":false,"description":"A non-zero integer representing the page of the results.","schema":{"type":"integer","default":1,"description":"A non-zero integer representing the page of the results."}},{"name":"page_size","in":"query","required":false,"description":"The maximum number of results to return at one time. Value is a non-negative, non-zero integer. If the user chooses pagination, the…","schema":{"type":"integer","description":"The maximum number of results to return at one time. Value is a non-negative, non-zero integer. If the user chooses pagination, the…"}},{"name":"total_required","in":"query","required":false,"description":"Indicates whether to show the total items and total pages count in the response.","schema":{"type":"boolean","default":false,"description":"Indicates whether to show the total items and total pages count in the response."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/payments:paypal-payouts/payouts-item-get":{"get":{"operationId":"payments_paypal_payouts_payouts_item_get","summary":"Show payout item details","description":"GET /v1/payments/payouts-item/{payout_item_id}","tags":["payments"],"parameters":[{"name":"payout_item_id","in":"query","required":true,"description":"The ID of the payout item to cancel.","schema":{"type":"string","description":"The ID of the payout item to cancel."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/payments:paypal-payouts/payouts-item-cancel":{"post":{"operationId":"payments_paypal_payouts_payouts_item_cancel","summary":"Cancel unclaimed payout item","description":"POST /v1/payments/payouts-item/{payout_item_id}/cancel","tags":["payments"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["payout_item_id"],"properties":{"payout_item_id":{"type":"string","description":"The ID of the payout item to cancel."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}