---
updatedAt: 2026-07-28T12:38:51.000Z
agentTools:
  projectIndex: https://docs.dpopay.com/dpo-pay-by-network/llms.txt
---

# Execute xPay

Execute xPay allocations. Docs: /developers/execute-xpay

**Note:** DPO Pay v6 requests are typically sent as `POST` to the base endpoint (`/API/v6/`). This path is a logical label used to keep operations distinct in the API reference.

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "DPO Pay API (v6)",
    "version": "6.0.0",
    "description": "Sanitized OpenAPI spec generated from a Postman collection for importing into ReadMe. Replace placeholders with real values."
  },
  "servers": [
    {
      "url": "https://secure.3gdirectpay.com/API/v6/",
      "description": "Sandbox"
    },
    {
      "url": "https://secure.3gdirectpay.com/API/v6/",
      "description": "Live"
    }
  ],
  "tags": [
    {
      "name": "xPay Payments",
      "description": "xPay Payments endpoints."
    }
  ],
  "paths": {
    "/xpay-payments-execute-xpay": {
      "post": {
        "tags": [
          "xPay Payments"
        ],
        "summary": "Execute xPay",
        "operationId": "xpay_payments_execute_xpay",
        "description": "Execute xPay allocations. Docs: /developers/execute-xpay\n\n**Note:** DPO Pay v6 requests are typically sent as `POST` to the base endpoint (`/API/v6/`). This path is a logical label used to keep operations distinct in the API reference.",
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": ""
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/xml": {
              "schema": {
                "type": "string"
              },
              "example": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<API3G>\r\n  <Request>executeXpay</Request>\r\n  <CompanyToken>{{companyToken}}</CompanyToken>\r\n  <ProviderToken>{{providerToken}}</ProviderToken>\r\n\r\n  <!-- Optional: reference a virtual card if your tenant uses it -->\r\n  <!-- <VirtualCardRef>123456</VirtualCardRef> -->\r\n\r\n  <Allocations>\r\n    <Allocation>\r\n      <ProviderToken>{{providerToken}}</ProviderToken>\r\n      <Amount>2</Amount>\r\n      <Currency>{{currency}}</Currency>\r\n      <Service>6264</Service>\r\n      <Description>Payment for flight</Description>\r\n    </Allocation>\r\n    <Allocation>\r\n      <ProviderToken>{{providerToken}}</ProviderToken>\r\n      <Amount>1</Amount>\r\n      <Currency>{{currency}}</Currency>\r\n      <Service>202</Service>\r\n      <Description>Payment for flight</Description>\r\n    </Allocation>\r\n  </Allocations>\r\n</API3G>"
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response."
          },
          "400": {
            "description": "Bad request."
          },
          "401": {
            "description": "Authentication error."
          }
        }
      }
    }
  },
  "x-readme": {}
}
```