EBANX Payment Page API

Hosted EBANX checkout. The merchant submits payment parameters and EBANX renders the full payment UI, validates the customer input, processes the payment, and returns the customer to the merchant via a redirect URL. Ideal for merchants who want to outsource PCI scope and per-market UI work.

EBANX Payment Page API is one of 6 APIs that EBANX publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 1 machine-runnable capability that can be deployed as REST, MCP, or Agent Skill surfaces via Naftiko.

Tagged areas include Payments, Pay-in, and Hosted Checkout. The published artifact set on APIs.io includes API documentation, an OpenAPI specification, and 1 Naftiko capability spec.

OpenAPI Specification

ebanx-payment-page-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: EBANX Payment Page API
  version: '1.0'
  description: >-
    Hosted EBANX checkout. The merchant submits payment parameters and EBANX
    renders the full payment UI, validates the customer input, processes the
    payment, and returns the customer to the merchant via a redirect URL.
  contact:
    name: EBANX Sales Engineering
    email: [email protected]
    url: https://docs.ebanx.com
servers:
  - url: https://api.ebanxpay.com
    description: Production environment
  - url: https://sandbox.ebanxpay.com
    description: Sandbox environment for testing
security:
  - integrationKey: []
paths:
  /ws/request:
    post:
      summary: Create Payment Page Request
      operationId: createPaymentPageRequest
      description: >-
        Create a hosted payment page session and return a redirect URL the
        merchant can send the customer to in order to complete the payment.
      tags: [PaymentPage]
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required: [integration_key, payment]
              properties:
                integration_key: { type: string }
                payment:
                  type: object
                  properties:
                    name: { type: string }
                    email: { type: string, format: email }
                    document: { type: string }
                    country: { type: string }
                    merchant_payment_code: { type: string }
                    currency_code: { type: string }
                    amount_total: { type: number, format: float }
                    payment_type_code: { type: string, description: 'Optional. Pre-select a payment method or _all for the full menu.' }
                    redirect_url: { type: string, format: uri }
      responses:
        '200':
          description: Payment page session created
          content:
            application/json:
              schema:
                type: object
                properties:
                  status: { type: string }
                  redirect_url: { type: string, format: uri, description: 'URL to send the customer to in order to complete payment.' }
                  payment:
                    type: object
                    properties:
                      hash: { type: string }
                      merchant_payment_code: { type: string }
components:
  securitySchemes:
    integrationKey:
      type: apiKey
      in: header
      name: x-ebanx-integration-key