---
updatedAt: 2026-05-08T15:23:50.000Z
agentTools:
  siteIndex: https://developerhub.ppro.com/llms.txt
  projectIndex: https://developerhub.ppro.com/global-api/llms.txt
---

# Enroll a payment method

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Enrollment",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://api.sandbox.eu.ppro.com",
      "description": "Production - Sandbox environment for integration testing"
    },
    {
      "url": "https://api.eu.ppro.com",
      "description": "Production endpoint for EU customers"
    }
  ],
  "tags": [
    {
      "name": "Enrollment Endpoints"
    }
  ],
  "paths": {
    "/v1/merchants/{merchant-id}/enrollments": {
      "post": {
        "tags": [
          "Enrollment Endpoints"
        ],
        "summary": "Enroll a payment method",
        "operationId": "enroll",
        "parameters": [
          {
            "name": "merchant-id",
            "in": "path",
            "description": "Unique identifier for the merchant",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "MERCHANTID456"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EnrollmentRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnrollmentResponse"
                }
              }
            }
          },
          "409": {
            "description": "When the merchant is already enrolled in the given payment method, or the merchant is not permitted to enroll.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExceptionResponseBody"
                }
              }
            }
          },
          "504": {
            "description": "Response timeout.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExceptionResponseBody"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "EnrollmentRequest": {
        "type": "object",
        "properties": {
          "paymentMethod": {
            "type": "string",
            "description": "The payment method to be enrolled.",
            "example": "WERO",
            "minLength": 1
          }
        },
        "required": [
          "paymentMethod"
        ]
      },
      "ExceptionResponseBody": {
        "type": "object",
        "properties": {
          "status": {
            "type": "integer",
            "format": "int32"
          },
          "failureMessage": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "extensions": {
            "type": "object",
            "additionalProperties": {}
          }
        }
      },
      "EnrollmentFailure": {
        "type": "object",
        "properties": {
          "failureType": {
            "type": "string",
            "description": "The failure type.",
            "enum": [
              "INTERNAL_ERROR",
              "INTERNAL_DECLINE",
              "PROVIDER_ERROR",
              "PROVIDER_DECLINE"
            ]
          },
          "failureCode": {
            "type": "string",
            "description": "The failure code."
          },
          "providerFailureCode": {
            "type": "string",
            "description": "The payment provider failure code."
          },
          "failureMessage": {
            "type": "string",
            "description": "The failure message."
          }
        }
      },
      "EnrollmentResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The enrollment identifier.",
            "example": "enrollment_XGAvKrnL8EsQjQwGj8FUc"
          },
          "status": {
            "type": "string",
            "description": "The enrollment status.",
            "enum": [
              "INITIATED",
              "PROVIDER_PENDING",
              "ACTIVE",
              "INACTIVE",
              "SUSPENDED",
              "FAILED"
            ]
          },
          "paymentMethod": {
            "type": "string",
            "description": "The enrollment payment method.",
            "example": "WERO"
          },
          "failure": {
            "$ref": "#/components/schemas/EnrollmentFailure",
            "description": "The enrollment processing failure."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "The enrollment creation timestamp in ISO 8601 format.",
            "example": "2026-04-21T11:23:47.123Z"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "The enrollment update timestamp in ISO 8601 format.",
            "example": "2026-04-21T11:23:47.123Z"
          }
        }
      }
    }
  }
}
```

# Sibling pages

* [Get enrollment](https://developerhub.ppro.com/global-api/reference/get-enrollment.md)
* [List enrollments](https://developerhub.ppro.com/global-api/reference/list-enrollments.md)