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. Checkout Preferences

Get a Checkout Preference

Get a Checkout Preference by ID

GET /v1/checkout_preferences/<checkout_preference_id>

Headers

Name
Value

x-api-key

<your api key>

x-api-secret

<your api secret>

Response

{
    "id": "qwDsh9aMoywPOiUx0O",
    "amount": 4000,
    "created_at": "2025-02-25T14:11:29Z",
    "currency": "USD",
    "custom_urls": {
        "error_payment_redirect": null,
        "success_payment_redirect": null,
        "status_changes_webhook": "https://webhook.site/afe9ac39-fe74-48b1-84a5-f7c26b098e3a"
    },
    "expiration_date": "2025-02-26T15:02:50Z",
    "origin": "API",
    "origin_id": null,
    "external_id": "299",
    "title": "Curso de intro a la Blockchain",
    "user_id": "014",
    "payer": {
        "email": "juan@test.com",
        "first_name": "Juan",
        "last_name": "Robler",
        "phone_number": null
    },
    "checkout_url": "https://stg.oneinfinite.la/checkout/qwDsh9aMoywPOiUx0O",
    "type": "PAYMENT"
}
{
    "messages": [
        "error message"
    ],
    "code": "error code"
}
PreviousCreate a SubscriptionNextPayment Orders

Last updated 3 months ago