Skip to content

Lists pricing templates

Request

GET {{baseURL}}/v2/pricing-templates

This endpoint lists the pricing templates for the partner account.

Each entry returns the template's id, name, displayName, and isDefault values. It does not return the fee values. Pricing is managed in the partner dashboard.

Use the id values in pricingTemplateIds when creating a merchant application. One identifier places the merchant directly on that template. Several identifiers let the merchant choose one of them. Templates marked isDefault are offered when an application is created without pricingTemplateIds.

All templates are returned in one response. The list is not paginated.

This endpoint requires a partner API token. A merchant API token will result in a permissions error including possibly a 403 response.

Security
Bearer
GET /v2/pricing-templates HTTP/1.1
Host: sandbox.api.flute.com
Authorization: Bearer <YOUR_JWT_HERE>
Accept: application/json

Responses

OK

Bodyapplication/json
itemsArray of objects

Indicates an object list of the partner's pricing templates.

All templates are returned in one response. The list is not paginated. The list is empty if the partner has no pricing templates.

Response

Shows every response field.

{ "items": [ { "id": "e0b5c0d3-7f4d-4b0a-8e5c-4d5e6f708192", "name": "Flat Rate", "displayName": "Flat Rate: fees paid by the merchant", "isDefault": true } ] }