GET
# Airbnb Payment Methods from URL API

Get payment methods and plans from any Airbnb URL. Simply paste the listing URL to see payment options.

## Overview

#### Easy URL Input

Copy and paste any Airbnb URL to see available payment methods and split payment plans.

This endpoint accepts any Airbnb listing URL and returns the available payment methods and payment plans.

### Endpoint URL

GET https://api.stayapi.com/v1/airbnb/listing/payment-methods-from-url 

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| url | string | Required | Full Airbnb listing URL |
| check\_in | string | Required | Check-in date in YYYY-MM-DD format |
| check\_out | string | Required | Check-out date in YYYY-MM-DD format |
| adults | integer | Optional | Number of adults (1-16, default: 1) |
| currency | string | Optional | Currency code (default: USD) |

## Response Structure

### Payment Information

- `payment_methods` - Array of available payment types
- `payment_plans` - Array of payment plan options

Request

```curl
curl -X GET "https://api.stayapi.com/v1/airbnb/listing/payment-methods-from-url?url=https://www.airbnb.com/rooms/22135033&check_in=2026-01-30&check_out=2026-02-01" \
  -H "x-api-key: YOUR_API_KEY"
```

Response

```json
{
  "success": true,
  "listing_id": "22135033",
  "source_url": "https://www.airbnb.com/rooms/22135033",
  "check_in": "2026-01-30",
  "check_out": "2026-02-01",
  "nights": 2,
  "payment_methods": {
    "payment_methods": [
      {
        "title": "Credit or debit card",
        "type": "CARD"
      },
      {
        "title": "PayPal",
        "type": "PAYPAL"
      }
    ],
    "payment_plans": [
      {
        "title": "Pay in full",
        "subtitle": "Pay the total now"
      },
      {
        "title": "Pay part now, part later",
        "subtitle": "Split your payment"
      }
    ]
  }
}
```

```json
{
  "error": "Invalid URL",
  "detail": "Could not extract listing ID from URL",
  "status_code": 400
}
```
