Oneinfinite v1
  • API Integration
    • Getting started
      • Environments
      • Security
    • API reference
      • Payment Methods
      • Checkout Preferences
        • Create a one-time payment
        • Create a Subscription
        • Get a Checkout Preference
      • Payment Orders
        • Get a Payment Order
      • Recurrent Payments
        • Get a Recurrent Payment
    • Webhooks
      • Configure
      • Notifications
    • Supported entities
      • Currencies
  • WooCommerce
    • WooCommerce Plugin
Powered by GitBook
On this page
  1. API Integration
  2. API reference
  3. Payment Orders

Get a Payment Order

Get a Payment Order by ID

GET /v1/payment_orders/<payment_order_id>

Headers

Name
Value

x-api-key

<your api key>

x-api-secret

<your api secret>

Response

{
    "id": "gRV8xTZHPv9lNxSLPw",
    "amount": 16.9,
    "currency": "USD",
    "created_at": "2024-06-12T15:26:47Z",
    "expired_at": "2024-06-12T15:56:47Z",
    "status": "CLOSED",
    "title": "Test product",
    "user_id": "014",
    "updated_at": "2024-06-12T15:31:28Z",
    "origin": "PAYMENT_LINK",
    "external_id": "1234",
    "payment_method_type": "CARD",
    "payer": {
        "email": "payer@gmail.com",
        "first_name": "Joan",
        "last_name": "Kohler",
        "phone_number": "+542614215688"
    }
}
{
    "messages": [
        "error message"
    ],
    "code": "error code"
}
PreviousPayment OrdersNextRecurrent Payments

Last updated 3 months ago