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

Payment Methods

Search Payment Methods

GET /v1/payment_methods

Headers

Name
Value

x-api-key

<your api key>

x-api-secret

<your api secret>

Response


{
    {
            "id": "10JKVpceXk",
            "status": "ENABLED",
            "type": "CARD",
            "country_id": "ALL",
            "currency": "USD",
            "max_amount": 40000,
            "min_amount": 0.5,
            "network": null,
            "cash_provider": null,
            "crypto_provider": null,
            "allow_recurrent_payment": true
    },
    {
            "id": "qacV3z31cz",
            "status": "ENABLED",
            "type": "CRYPTO_ONCHAIN",
            "country_id": "ALL",
            "currency": "USDT",
            "max_amount": 100000,
            "min_amount": 0.1,
            "network": {
                "id": "TRON",
                "name": "Tron"
            },
            "cash_provider": null,
            "crypto_provider": null,
            "allow_recurrent_payment": false
    },
    {
            "id": "7tfPofN2DL",
            "status": "ENABLED",
            "type": "CRYPTO_ONCHAIN",
            "country_id": "BRA",
            "currency": "USDT",
            "max_amount": 100000,
            "min_amount": 0.1,
            "network": {
                "id": "POLYGON",
                "name": "Polygon"
            },
            "cash_provider": null,
            "crypto_provider": {
                "id": "LEMON",
                "name": "Lemon"
            },
            "allow_recurrent_payment": false
        },
        {
            "id": "vJKtkYs8Vf",
            "status": "ENABLED",
            "type": "BANK_TRANSFER",
            "country_id": "ARG",
            "currency": "ARS",
            "max_amount": 10000000,
            "min_amount": 0,
            "network": null,
            "cash_provider": null,
            "crypto_provider": null,
            "allow_recurrent_payment": false
        }
}
{
    "messages": [
        "error message"
    ],
    "code": "error code"
}

Payment method types

BANK_TRANSFER | CRYPTO_ONCHAIN | CASH | CARD | PIX

Error codes

WRONG_INPUT | NOT_FOUND | INTERNAL_SERVER_ERROR

PreviousAPI referenceNextCheckout Preferences

Last updated 6 months ago