PayU Order API

Order is the basic payment request for the standard integration with PayU. > If the response to the payment creation request is returned with an **HTTP 200** status and in HTML format, make sure that the tool used to communicate with PayU has automatic redirect handling disabled. Only in this case is it possible to receive the correct JSON response with an **HTTP 302** status code.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
Business capability
Payment Initiation Management BC-1340.10

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /api/v2_1/orders Create an order · Create an Order #
Ask an LLM
“How do I create a new order in PayU?”
“Can I set a validity time and a redirect URL when creating an order?”
Tell an agent
Create an order for {description} with {totalAmount} {currencyCode} from merchant {merchantPosId} at IP {customerIp}.
Create order {description} for {totalAmount} {currencyCode} from {merchantPosId} at {customerIp} with validity {validityTime} seconds.
GET /api/v2_1/orders/{orderId} Get an order's status and details · Retrieve an Order #
Ask an LLM
“What is the status of an order I created?”
“Can I look up an order by its ID?”
Tell an agent
Get order {orderId}.
Show the status and details of order {orderId}.
DELETE /api/v2_1/orders/{orderId} Cancel an order · Cancel an Order #
Ask an LLM
“How do I cancel an order that hasn't been paid yet?”
“Can I reject an order processed by PayU?”
Tell an agent destructive · confirm first
Cancel order {orderId}.
Reject order {orderId} in the PayU system.
POST /api/v2_1/orders/{orderId}/captures Capture an authorized order · Capture Authorized Order #
Ask an LLM
“How do I capture a payment that was authorized but not yet settled?”
“Can I complete an order by capturing its authorized amount?”
Tell an agent
Capture authorized order {orderId}.
Complete order {orderId} by capturing its authorized amount.
PUT /api/v2_1/orders/{orderId}/status Complete an authorized order (deprecated) · (deprecated) Capture Authorized Order #
Ask an LLM
“Is there a deprecated way to finish an authorized order by setting its status to COMPLETED?”
“Can I end an order that is still authorized?”
Tell an agent destructive · confirm first
Complete authorized order {orderId}.
Set the status of order {orderId} to {orderStatus} using the deprecated endpoint.
GET /api/v2_1/orders/{orderId}/transactions Get the transactions for an order · Retrieve a Transaction #
Ask an LLM
“Which transactions were created for a given order?”
“Can I list every transaction on an order?”
Tell an agent
List the transactions for order {orderId}.
Show each transaction on order {orderId}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/payu:payu-order-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

payu-order-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 2.1.0
  title: PayU GPO Europe REST Order API
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  x-logo:
    url: https://poland.payu.com/wp-content/themes/global-website/assets/src/images/payu-logo.svg
  description: '# Overview


    This reference is designed to assist you in effectively utilizing the PayU REST API to enhance your online payment capabilities.'
servers:
- url: https://secure.payu.com
  description: Production Server
- url: https://secure.snd.payu.com
  description: Sandbox Test Server
security:
- Bearer:
  - client_credentials
tags:


# --- truncated at 32 KB (83 KB total) ---
# Full source: https://artifacts.apis.io/payu/openapi/payu-order-api-openapi.yml