{"name":"WooCommerce Redsys Gateway","description":"Redsys payment agent for WooCommerce: lets A2A clients create payment sessions, capture pre-authorizations, refund, query status and tokenize cards over an authenticated A2A surface.","version":"31.0.7","documentationUrl":"https://plugins.joseconti.com/product/plugin-woocommerce-redsys-gateway/","provider":{"organization":"Jose Conti","url":"https://plugins.joseconti.com"},"defaultInputModes":["application/json"],"defaultOutputModes":["application/json","text/event-stream"],"capabilities":{"streaming":true,"pushNotifications":true,"stateTransitionHistory":true},"securitySchemes":{"oauth2":{"type":"oauth2","description":"OAuth 2.1 with PKCE, reusing the plugin UCP authorization server.","flows":{"authorizationCode":{"authorizationUrl":"https://macrocopy.es/wp-json/redsys-ucp/oauth/v1/authorize","tokenUrl":"https://macrocopy.es/wp-json/redsys-ucp/oauth/v1/token","refreshUrl":"https://macrocopy.es/wp-json/redsys-ucp/oauth/v1/token","scopes":{"a2a:payments:read":"Read payment status and history.","a2a:payments:create":"Create new payment sessions.","a2a:payments:capture":"Capture pre-authorized payments.","a2a:payments:refund":"Refund captured payments.","a2a:payments:tokenize":"Tokenize cards and run recurrent charges."}}}},"oauth-metadata":{"type":"http","scheme":"metadata","description":"Pointer to the RFC 8414 OAuth Authorization Server Metadata.","metadataUrl":"https://macrocopy.es/redsys-ucp/.well-known/oauth-authorization-server"}},"securityRequirements":[{"oauth2":["a2a:payments:read"]}],"supportedInterfaces":[{"url":"https://macrocopy.es/wp-json/wc-redsys-a2a/v1/rpc","transport":"JSONRPC"},{"url":"https://macrocopy.es/wp-json/wc-redsys-a2a/v1/sca/return","transport":"HTTP+GET"}],"skills":[{"id":"query_payment_status","name":"Query Payment Status","description":"Look up the current state of a payment by A2A task id or WooCommerce order id. Returns a normalised status (pending|authorized|captured|refunded|failed|canceled), amount and currency.","tags":["payment","read"],"inputModes":["application/json"],"outputModes":["application/json"],"examples":[{"wc_order_id":1234},{"payment_id":"b9b3f9a4-6e8c-4f9a-8b6e-2d0c2c3a8b27"}],"requiredScope":"a2a:payments:read"},{"id":"create_payment","name":"Create Payment","description":"Create a payment session for a given amount and currency. Returns an input-required task carrying the redirect URL where the shopper completes the payment (including SCA/3DS) on the merchant gateway.","tags":["payment","psd2","sca"],"inputModes":["application/json"],"outputModes":["application/json","text/event-stream"],"examples":[{"amount":1250,"currency":"EUR","order_reference":"ORDER-2026-001","mode":"redirect"}],"requiredScope":"a2a:payments:create"},{"id":"capture_payment","name":"Capture Payment","description":"Capture (confirm) a previously pre-authorized payment, in full or in part. Identify the payment by A2A task id or WooCommerce order id.","tags":["payment","capture"],"inputModes":["application/json"],"outputModes":["application/json"],"examples":[{"payment_id":"b9b3f9a4-6e8c-4f9a-8b6e-2d0c2c3a8b27"},{"wc_order_id":1234,"amount":500}],"requiredScope":"a2a:payments:capture"},{"id":"refund_payment","name":"Refund Payment","description":"Refund a captured payment in full or in part. Refunds above the merchant sensitive threshold require human confirmation (input-required).","tags":["payment","refund"],"inputModes":["application/json"],"outputModes":["application/json"],"examples":[{"payment_id":"b9b3f9a4-6e8c-4f9a-8b6e-2d0c2c3a8b27"},{"wc_order_id":1234,"amount":500,"reason":"Customer request"}],"requiredScope":"a2a:payments:refund"},{"id":"list_payments","name":"List Payments","description":"List your payment tasks, newest first, with cursor pagination (max 100 per page). Optional filters: state, created-at window, amount range.","tags":["payment","read","list"],"inputModes":["application/json"],"outputModes":["application/json"],"examples":[{"limit":20},{"state":"completed","min_amount":1000}],"requiredScope":"a2a:payments:read"},{"id":"tokenize_card","name":"Tokenize Card","description":"Start card tokenization. Returns an input-required task carrying the redirect URL where the cardholder completes SCA. The resulting token can later be charged with recurrent_charge.","tags":["payment","tokenize","sca"],"inputModes":["application/json"],"outputModes":["application/json","text/event-stream"],"examples":[{"order_reference":"CARD-VERIFY-001"}],"requiredScope":"a2a:payments:tokenize"},{"id":"recurrent_charge","name":"Recurrent Charge","description":"Charge a stored card token without the cardholder present. The first charge against a new token, and charges above the sensitive threshold, require human confirmation (input-required).","tags":["payment","tokenize","recurrent","mit"],"inputModes":["application/json"],"outputModes":["application/json"],"examples":[{"card_token":"tok_8842","amount":1999,"currency":"EUR","order_reference":"SUB-2026-03"}],"requiredScope":"a2a:payments:tokenize"}]}