Sha256: 2a48022be346c6818d9ea8b95e0342607253df1299b66b6b84367ed38b63000c

Contents?: true

Size: 1.6 KB

Versions: 9

Compression:

Stored size: 1.6 KB

Contents

# Get Mollie payment methods

Returns a list of Mollie payment methods (and its issuers) which are enabled for your website profile.

## Parameters
This endpoint behaves just like very other Spree API endpoint. If your endpoints require authentication, make sure you sent the `X-Spree-Token` header.

## Example request

```bash
curl "http://localhost:3000/api/v1/mollie/methods" \
     -H 'Content-Type: application/json; charset=utf-8'
```

## Example response

```bash
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8

[
  {
    "attributes": {
      "resource": "method",
      "id": "ideal",
      "description": "iDEAL",
      "amount": {
        "minimum": "0.01",
        "maximum": "50000.00"
      },
      "image": {
        "normal": "https://www.mollie.com/images/payscreen/methods/ideal.png",
        "bigger": "https://www.mollie.com/images/payscreen/methods/ideal%402x.png"
      },
      "issuers": [
        {
          "resource": "issuer",
          "id": "ideal_TESTNL99",
          "name": "TBM Bank",
          "method": "ideal",
          "image": {
            "normal": "https://www.mollie.com/images/checkout/v2/ideal-issuer-icons/TESTNL99.png",
            "bigger": "https://www.mollie.com/images/checkout/v2/ideal-issuer-icons/TESTNL99%402x.png"
          }
        }
      ]
    },
    "id": "ideal",
    "description": "iDEAL",
    "amount": {
      "minimum": "0.01",
      "maximum": "50000.00"
    },
    "image": {
      "normal": "https://www.mollie.com/images/payscreen/methods/ideal.png",
      "bigger": "https://www.mollie.com/images/payscreen/methods/ideal%402x.png"
    }
  }
]

```

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
spree_mollie_gateway-1.0.7 docs/api/methods.md
spree_mollie_gateway-1.0.6 docs/api/methods.md
spree_mollie_gateway-1.0.5 docs/api/methods.md
spree_mollie_gateway-1.0.4 docs/api/methods.md
spree_mollie_gateway-1.0.3 docs/api/methods.md
spree_mollie_gateway-1.0.2 docs/api/methods.md
spree_mollie_gateway-1.0.0 docs/api/methods.md
spree_mollie_gateway-1.0.0.pre.beta4 docs/api/methods.md
spree_mollie_gateway-1.0.0.pre.beta3 docs/api/methods.md