{"items":[{"type":"link","label":"Sessions API","link":"/products/sessions/openapi","routeSlug":"/products/sessions/openapi","content":{"contentType":"overview","meta":{"name":"Sessions API"},"children":[{"nodeType":"container","panels":[{"title":"Download OpenAPI description","titleTranslationKey":"download.description.title","children":[{"kind":"download","label":"openapi.json","url":"/access/_bundle/products/sessions/@20250929/openapi.json?download"},{"kind":"download","label":"openapi.yaml","url":"/access/_bundle/products/sessions/@20250929/openapi.yaml?download"}]},{"title":"Overview","titleTranslationKey":"info.title","children":[]},{"title":"Languages","titleTranslationKey":"languages.title","children":[{"kind":"languages","options":[{"key":"payload","title":"Payload","lang":"Payload"},{"key":"curl","title":"curl","lang":"curl"},{"key":"python","title":"Python","lang":"Python"},{"key":"java","title":"Java","lang":"Java"},{"key":"node","title":"Node.js","lang":"Node.js"},{"key":"go","title":"Go","lang":"Go"},{"key":"php","title":"PHP","lang":"PHP"},{"key":"ruby","title":"Ruby","lang":"Ruby"},{"key":"csharp","title":"C#","lang":"C#"}]}]},{"title":"Servers","titleTranslationKey":"servers.title","children":[{"kind":"servers","servers":[{"url":"https://try.access.worldpay.com","description":"Test (Try)"},{"url":"https://access.worldpay.com","description":"Live"}],"mode":"default"}]}],"children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"header","level":1,"label":"Sessions API (2025-09-29)","showPageActions":true},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":"Delegate a payment using a provided payment method and allowance."}],"sectionId":"/products/sessions/openapi"}],"sectionId":"/products/sessions/openapi"}]}]}},{"type":"group","label":"Delegate payment","link":"/products/sessions/openapi/delegate-payment","routeSlug":"/products/sessions/openapi/delegate-payment","items":[{"label":"Create a delegated payment token","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/products/sessions/openapi/delegate-payment/delegatepayment","routeSlug":"/products/sessions/openapi/delegate-payment/delegatepayment","metadata":{"seo":{"title":"Create a delegated payment token","description":"Tokenizes a credential for controlled usage by the merchant's PSP per the Allowance constraints.Exactly one credential type is currently supported: card."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"delegatePayment","name":"Create a delegated payment token","isWebhook":false,"pointer":"/paths/~1sessions~1agentic_commerce~1delegate_payment/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create a delegated payment token","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Tokenizes a credential for controlled usage by the merchant's PSP per the "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Allowance"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" constraints."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Exactly one credential type is currently supported: "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"card"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"API Key"}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Authorization","in":"header","schemaId":"schema_432","required":true},{"name":"Content-Type","in":"header","schemaId":"schema_433","required":true},{"name":"Accept-Language","in":"header","schemaId":"schema_434"},{"name":"User-Agent","in":"header","schemaId":"schema_435"},{"name":"Idempotency-Key","in":"header","schemaId":"schema_436"},{"name":"Request-Id","in":"header","schemaId":"schema_437"},{"name":"Signature","in":"header","schemaId":"schema_438"},{"name":"Timestamp","in":"header","schemaId":"schema_439"},{"name":"API-Version","in":"header","schemaId":"schema_440","required":true}],"pointer":"/paths/~1sessions~1agentic_commerce~1delegate_payment/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/DelegatePaymentRequest","exampleIds":["paths/~1sessions~1agentic_commerce~1delegate_payment/post/requestBody/content/application~1json/examples/card_success"]}},"schemaId":"components/schemas/DelegatePaymentRequest","exampleIds":["paths/~1sessions~1agentic_commerce~1delegate_payment/post/requestBody/content/application~1json/examples/card_success"],"pointer":"/paths/~1sessions~1agentic_commerce~1delegate_payment/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/sessions/agentic_commerce/delegate_payment","servers":[{"url":"https://try.access.worldpay.com","description":"Test (Try)"},{"url":"https://access.worldpay.com","description":"Live"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"Authorization","in":"header","required":true,"example":"Bearer api_key_123","schemaId":"schema_432"},{"name":"Content-Type","in":"header","required":true,"example":"application/json","schemaId":"schema_433"},{"name":"Accept-Language","in":"header","required":false,"example":"en-us","schemaId":"schema_434"},{"name":"User-Agent","in":"header","required":false,"example":"ChatGPT/2.0","schemaId":"schema_435"},{"name":"Idempotency-Key","in":"header","required":false,"example":"idem_abc123","schemaId":"schema_436"},{"name":"Request-Id","in":"header","required":false,"example":"req_123","schemaId":"schema_437"},{"name":"Signature","in":"header","required":false,"example":"ZXltZX...","schemaId":"schema_438"},{"name":"Timestamp","in":"header","required":false,"example":"2025-09-29T10:30:00Z","schemaId":"schema_439"},{"name":"API-Version","in":"header","required":true,"example":"2025-09-29","schemaId":"schema_440"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer","bearerFormat":"API Key"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/DelegatePaymentRequest","exampleIds":["paths/~1sessions~1agentic_commerce~1delegate_payment/post/requestBody/content/application~1json/examples/card_success"]}},"responseCodes":["201","400","401","409","422","429","500","503"],"pointer":"/sessions/agentic_commerce/delegate_payment","href":"delegate-payment/delegatepayment","openApiOperationId":"delegatePayment","summary":"Create a delegated payment token"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://try.access.worldpay.com","description":"Test (Try)"},{"url":"https://access.worldpay.com","description":"Live"}],"schemaId":"components/schemas/DelegatePaymentRequest","exampleIds":["paths/~1sessions~1agentic_commerce~1delegate_payment/post/requestBody/content/application~1json/examples/card_success"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/DelegatePaymentRequest","exampleIds":["paths/~1sessions~1agentic_commerce~1delegate_payment/post/requestBody/content/application~1json/examples/card_success"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"Created","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/DelegatePaymentResponse","exampleIds":["paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/201/content/application~1json/examples/created"]}},"schemaId":"components/schemas/DelegatePaymentResponse","exampleIds":["paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/201/content/application~1json/examples/created"],"headers":{"Request-Id":{"description":"Echo of the request correlation ID","schema":{"type":"string"}}},"headerSchemaId":"schema_441"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/400/content/application~1json/examples/invalid_request_missing_field"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/400/content/application~1json/examples/invalid_request_missing_field"]},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/401/content/application~1json/examples/unauthorized"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/401/content/application~1json/examples/unauthorized"]},{"code":"409","description":"Idempotency conflict","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/409/content/application~1json/examples/idem_conflict"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/409/content/application~1json/examples/idem_conflict"]},{"code":"422","description":"Semantic validation error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/422/content/application~1json/examples/invalid_request"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/422/content/application~1json/examples/invalid_request"]},{"code":"429","description":"Rate limit exceeded","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/429/content/application~1json/examples/rate_limit_exceeded"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/429/content/application~1json/examples/rate_limit_exceeded"]},{"code":"500","description":"Processing error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/500/content/application~1json/examples/internal_server_error"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/500/content/application~1json/examples/internal_server_error"]},{"code":"503","description":"Service unavailable","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/503/content/application~1json/examples/service_unavailable"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/503/content/application~1json/examples/service_unavailable"]}],"pointer":"/paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"201","schemaId":"components/schemas/DelegatePaymentResponse","exampleIds":["paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/201/content/application~1json/examples/created"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/DelegatePaymentResponse","exampleIds":["paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/201/content/application~1json/examples/created"]}}},{"code":"400","schemaId":"components/schemas/Error","exampleIds":["paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/400/content/application~1json/examples/invalid_request_missing_field"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/400/content/application~1json/examples/invalid_request_missing_field"]}}},{"code":"401","schemaId":"components/schemas/Error","exampleIds":["paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/401/content/application~1json/examples/unauthorized"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/401/content/application~1json/examples/unauthorized"]}}},{"code":"409","schemaId":"components/schemas/Error","exampleIds":["paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/409/content/application~1json/examples/idem_conflict"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/409/content/application~1json/examples/idem_conflict"]}}},{"code":"422","schemaId":"components/schemas/Error","exampleIds":["paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/422/content/application~1json/examples/invalid_request"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/422/content/application~1json/examples/invalid_request"]}}},{"code":"429","schemaId":"components/schemas/Error","exampleIds":["paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/429/content/application~1json/examples/rate_limit_exceeded"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/429/content/application~1json/examples/rate_limit_exceeded"]}}},{"code":"500","schemaId":"components/schemas/Error","exampleIds":["paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/500/content/application~1json/examples/internal_server_error"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/500/content/application~1json/examples/internal_server_error"]}}},{"code":"503","schemaId":"components/schemas/Error","exampleIds":["paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/503/content/application~1json/examples/service_unavailable"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/503/content/application~1json/examples/service_unavailable"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/delegate-payment/delegatepayment"}],"panels":[]}]},"httpPath":"/sessions/agentic_commerce/delegate_payment"}],"content":{"contentType":"group","meta":{"name":"Delegate payment"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Delegate payment","showPageActions":true},{"nodeType":"markdoc","content":"Create delegated payment tokens"}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/sessions/agentic_commerce/delegate_payment","summary":"Create a delegated payment token","prefix":{"name":"post","color":"post"},"badges":[],"link":"/delegate-payment/delegatepayment","deprecated":false}]}]}]}]}}],"store":{"schemaStore":{"components/schemas/DelegatePaymentRequest":{"id":"components/schemas/DelegatePaymentRequest","kind":"json-schema","title":"DelegatePaymentRequest","data":{"type":"object","additionalProperties":false,"properties":{"payment_method":{"$ref":"#/components/schemas/PaymentMethodCard"},"allowance":{"$ref":"#/components/schemas/Allowance"},"billing_address":{"$ref":"#/components/schemas/Address"},"risk_signals":{"type":"array","minItems":1,"items":{"$ref":"#/components/schemas/RiskSignal"}},"metadata":{"type":"object","additionalProperties":{"type":"string"}}},"required":["payment_method","allowance","risk_signals","metadata"]}},"components/schemas/PaymentMethodCard":{"id":"components/schemas/PaymentMethodCard","kind":"json-schema","title":"PaymentMethodCard","data":{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string","enum":["card"]},"card_number_type":{"type":"string","enum":["fpan","network_token"]},"number":{"type":"string","description":"network token or fallback fpan value"},"exp_month":{"type":"string","maxLength":2},"exp_year":{"type":"string","maxLength":4},"name":{"type":"string"},"cvc":{"type":"string","maxLength":4},"cryptogram":{"type":"string"},"eci_value":{"type":"string","maxLength":2},"checks_performed":{"type":"array","items":{"type":"string","enum":["avs","cvv","ani","auth0"]}},"iin":{"type":"string","maxLength":6},"display_card_funding_type":{"type":"string","enum":["credit","debit","prepaid"]},"display_wallet_type":{"type":"string"},"display_brand":{"type":"string"},"display_last4":{"type":"string","maxLength":4},"metadata":{"type":"object","additionalProperties":{"type":"string"}}},"required":["type","card_number_type","number","display_card_funding_type","metadata"]}},"components/schemas/Address":{"id":"components/schemas/Address","kind":"json-schema","title":"Address","data":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","maxLength":256},"line_one":{"type":"string","maxLength":60},"line_two":{"type":"string","maxLength":60},"city":{"type":"string","maxLength":60},"state":{"type":"string"},"country":{"type":"string","minLength":2,"maxLength":2,"description":"ISO-3166-1 alpha-2"},"postal_code":{"type":"string","maxLength":20}},"required":["name","line_one","city","state","country","postal_code"]}},"components/schemas/Allowance":{"id":"components/schemas/Allowance","kind":"json-schema","title":"Allowance","data":{"type":"object","additionalProperties":false,"properties":{"reason":{"type":"string","enum":["one_time"]},"max_amount":{"type":"integer","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Minor units (e.g., $20 → 2000)"},"children":[]}]}]}]},"currency":{"type":"string","pattern":"^[a-z]{3}$","description":"ISO-4217 lowercase (e.g., usd)"},"checkout_session_id":{"type":"string"},"merchant_id":{"type":"string","maxLength":256},"expires_at":{"type":"string","format":"date-time"}},"required":["reason","max_amount","currency","checkout_session_id","merchant_id","expires_at"]}},"components/schemas/RiskSignal":{"id":"components/schemas/RiskSignal","kind":"json-schema","title":"RiskSignal","data":{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string","enum":["card_testing"]},"score":{"type":"integer"},"action":{"type":"string","enum":["blocked","manual_review","authorized"]}},"required":["type","score","action"]}},"components/schemas/DelegatePaymentResponse":{"id":"components/schemas/DelegatePaymentResponse","kind":"json-schema","title":"DelegatePaymentResponse","data":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Unique vault token identifier (vt_...)"},"children":[]}]}]}]},"created":{"type":"string","format":"date-time"},"metadata":{"type":"object","additionalProperties":{"type":"string"}}},"required":["id","created","metadata"]}},"components/schemas/Error":{"id":"components/schemas/Error","kind":"json-schema","title":"Error","data":{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string","enum":["invalid_request","rate_limit_exceeded","processing_error","service_unavailable"]},"code":{"type":"string","enum":["invalid_card","duplicate_request","idempotency_conflict"]},"message":{"type":"string"},"param":{"type":"string","description":"JSONPath of offending field"}},"required":["type","code","message"]}},"schema_432":{"kind":"json-schema","data":{"type":"string","example":"Bearer api_key_123"},"id":"schema_432"},"schema_433":{"kind":"json-schema","data":{"type":"string","example":"application/json"},"id":"schema_433"},"schema_434":{"kind":"json-schema","data":{"type":"string","example":"en-us"},"id":"schema_434"},"schema_435":{"kind":"json-schema","data":{"type":"string","example":"ChatGPT/2.0"},"id":"schema_435"},"schema_436":{"kind":"json-schema","data":{"type":"string","example":"idem_abc123"},"id":"schema_436"},"schema_437":{"kind":"json-schema","data":{"type":"string","example":"req_123"},"id":"schema_437"},"schema_438":{"kind":"json-schema","data":{"type":"string","example":"ZXltZX..."},"id":"schema_438"},"schema_439":{"kind":"json-schema","data":{"type":"string","format":"date-time","example":"2025-09-29T10:30:00Z"},"id":"schema_439"},"schema_440":{"kind":"json-schema","data":{"type":"string","example":"2025-09-29"},"id":"schema_440"},"schema_441":{"kind":"json-schema","data":{"type":"object","properties":{"Request-Id":{"type":"string","description":"Echo of the request correlation ID"}}},"id":"schema_441"}},"exampleStore":{"paths/~1sessions~1agentic_commerce~1delegate_payment/post/requestBody/content/application~1json/examples/card_success":{"value":{"payment_method":{"type":"card","card_number_type":"fpan","number":"4242424242424242","exp_month":"11","exp_year":"2026","name":"Jane Doe","cvc":"223","checks_performed":["avs","cvv"],"iin":"424242","display_card_funding_type":"credit","display_brand":"visa","display_last4":"4242","metadata":{"issuing_bank":"temp"}},"allowance":{"reason":"one_time","max_amount":2000,"currency":"usd","checkout_session_id":"csn_01HV3P3...","merchant_id":"acme","expires_at":"2025-10-09T07:20:50.52Z"},"billing_address":{"name":"John Doe","line_one":"123 Fake St.","line_two":"Unit 1","city":"San Francisco","state":"CA","country":"US","postal_code":"12345"},"risk_signals":[{"type":"card_testing","score":10,"action":"manual_review"}],"metadata":{"campaign":"q4"}},"key":"card_success","summary":"Card (FPAN) — success","id":"paths/~1sessions~1agentic_commerce~1delegate_payment/post/requestBody/content/application~1json/examples/card_success"},"paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/201/content/application~1json/examples/created":{"value":{"id":"vt_01J8Z3W4YZ9ABC","created":"2025-09-29T11:00:00Z","metadata":{"source":"agent_checkout","merchant_id":"acme","idempotency_key":"idem_abc123"}},"key":"created","summary":"created","id":"paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/201/content/application~1json/examples/created"},"paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/400/content/application~1json/examples/invalid_request_missing_field":{"value":{"error":{"type":"invalid_request","code":"invalid_card","message":"card field is required when payment_method.type=card","param":"payment_method.number"}},"key":"invalid_request_missing_field","summary":"invalid_request_missing_field","id":"paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/400/content/application~1json/examples/invalid_request_missing_field"},"paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/401/content/application~1json/examples/unauthorized":{"value":{"error":{"type":"unauthorized","code":"unauthorized","message":"Unauthorized"}},"key":"unauthorized","summary":"unauthorized","id":"paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/401/content/application~1json/examples/unauthorized"},"paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/409/content/application~1json/examples/idem_conflict":{"value":{"error":{"type":"invalid_request","code":"idempotency_conflict","message":"Same Idempotency-Key used with different parameters"}},"key":"idem_conflict","summary":"idem_conflict","id":"paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/409/content/application~1json/examples/idem_conflict"},"paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/422/content/application~1json/examples/invalid_request":{"value":{"error":{"type":"invalid_request","code":"invalid_card","message":"Invalid card expiration month","param":"payment_method.exp_month"}},"key":"invalid_request","summary":"invalid_request","id":"paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/422/content/application~1json/examples/invalid_request"},"paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/429/content/application~1json/examples/rate_limit_exceeded":{"value":{"error":{"type":"rate_limit_exceeded","code":"rate_limit_exceeded","message":"Rate limit exceeded"}},"key":"rate_limit_exceeded","summary":"rate_limit_exceeded","id":"paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/429/content/application~1json/examples/rate_limit_exceeded"},"paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/500/content/application~1json/examples/internal_server_error":{"value":{"error":{"type":"internal_server_error","code":"internal_server_error","message":"Internal server error"}},"key":"internal_server_error","summary":"internal_server_error","id":"paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/500/content/application~1json/examples/internal_server_error"},"paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/503/content/application~1json/examples/service_unavailable":{"value":{"error":{"type":"service_unavailable","code":"service_unavailable","message":"Service unavailable"}},"key":"service_unavailable","summary":"service_unavailable","id":"paths/~1sessions~1agentic_commerce~1delegate_payment/post/responses/503/content/application~1json/examples/service_unavailable"}},"securitySchemeStore":{"bearerAuth":{"id":"bearerAuth","type":"http","scheme":"bearer","bearerFormat":"API Key"}},"servers":[{"url":"https://try.access.worldpay.com","description":"Test (Try)"},{"url":"https://access.worldpay.com","description":"Live"}],"specType":"openapi"},"options":{"jsonSamplesExpandLevel":7,"schemasExpansionLevel":1,"hideSchemaTitles":true,"hidePropertiesPrefix":true,"hideInfoMetadata":true,"codeSamples":{"languages":[{"lang":"Payload"},{"lang":"curl"},{"lang":"Python"},{"lang":"Java"},{"lang":"Node.js"},{"lang":"Go"},{"lang":"PHP"},{"lang":"Ruby"},{"lang":"C#"}]},"feedback":{"type":"sentiment","settings":{"label":"Do you like our page?","submitText":"Thanks for your feedback","comment":{"likeLabel":"What was most helpful?","dislikeLabel":"What can we improve?"}}},"mockServer":{"off":true},"disableRouter":true,"downloadUrls":[{"url":"/access/_bundle/products/sessions/@20250929/openapi.json?download"},{"url":"/access/_bundle/products/sessions/@20250929/openapi.yaml?download"}],"excludeFromSearch":false,"replayFeatures":{"graphql":false},"specType":"openapi","markdocOptions":{"tags":{},"nodes":{},"components":{}},"metadata":{"title":"Sessions API","description":"Delegate a payment using a provided payment method and allowance.\n","category":["Tokens"],"business":["Enterprise"],"catalog-list":true,"generated":false}},"baseSlug":"/products/sessions/openapi","routesMapping":{}}