# PaymentMethod

## Retrieves the collection of PaymentMethod resources.

> Retrieves the collection of PaymentMethod resources.

```json
{"openapi":"3.0.0","info":{"title":"Converia API","version":"3.5.0"},"servers":[{"url":"/","description":""}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}},"schemas":{"PaymentMethod.PaymentMethodDTO.jsonld-payment-method.read_translation":{"type":"object","description":"PaymentMethod","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http://www.w3.org/ns/hydra/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"type":"integer"},"internalKey":{"$ref":"#/components/schemas/PaymentKeys","type":"string"},"internalName":{"type":"string"},"startTime":{"description":"The starting date of this payment","type":"string","format":"date-time","nullable":true},"endTime":{"description":"The ending date of this payment","type":"string","format":"date-time","nullable":true},"fee":{"type":"number"},"feeType":{"$ref":"#/components/schemas/FeeTypes","type":"string"},"orderIndex":{"type":"number"},"activityType":{"type":"string","format":"iri-reference","nullable":true},"frame":{"type":"string","format":"iri-reference"}}},"PaymentKeys":{"type":"string","enum":["T","CC","CT_ELV","CT_SOFORT","IS","FREE","EP","OGONE","CONCARDIS","INTERN","SPARKASSE","PAYPAL","HEIDELPAY","GS","BESR","DATATRANS","SAFERPAY","OSP_CARD","POS","POSTFINANCE","POSTFINANCE_CHECKOUT","SAFERPAY2","SWISSQRBILL","PAYPAL_REST"]},"FeeTypes":{"type":"string","enum":["STATIC","PERCENT"]},"PaymentMethod.PaymentMethodDTO-payment-method.read_translation":{"type":"object","description":"PaymentMethod","properties":{"id":{"type":"integer"},"internalKey":{"$ref":"#/components/schemas/PaymentKeys","type":"string"},"internalName":{"type":"string"},"startTime":{"description":"The starting date of this payment","type":"string","format":"date-time","nullable":true},"endTime":{"description":"The ending date of this payment","type":"string","format":"date-time","nullable":true},"fee":{"type":"number"},"feeType":{"$ref":"#/components/schemas/FeeTypes","type":"string"},"orderIndex":{"type":"number"},"activityType":{"type":"string","format":"iri-reference","nullable":true},"frame":{"type":"string","format":"iri-reference"}}}}},"paths":{"/api/payment_methods":{"get":{"operationId":"getPaymentMethodCollection","tags":["PaymentMethod"],"responses":{"200":{"description":"PaymentMethod collection","content":{"application/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#/components/schemas/PaymentMethod.PaymentMethodDTO.jsonld-payment-method.read_translation"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text/html":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PaymentMethod.PaymentMethodDTO-payment-method.read_translation"}}}}}},"summary":"Retrieves the collection of PaymentMethod resources.","description":"Retrieves the collection of PaymentMethod resources.","parameters":[{"name":"id[between]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"id[gt]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"id[gte]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"id[lt]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"id[lte]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false}],"deprecated":false}}}}
```

## Retrieves a PaymentMethod resource.

> Retrieves a PaymentMethod resource.

```json
{"openapi":"3.0.0","info":{"title":"Converia API","version":"3.5.0"},"servers":[{"url":"/","description":""}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}},"schemas":{"PaymentMethod.PaymentMethodDTO.jsonld-payment-method.read_translation":{"type":"object","description":"PaymentMethod","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http://www.w3.org/ns/hydra/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"type":"integer"},"internalKey":{"$ref":"#/components/schemas/PaymentKeys","type":"string"},"internalName":{"type":"string"},"startTime":{"description":"The starting date of this payment","type":"string","format":"date-time","nullable":true},"endTime":{"description":"The ending date of this payment","type":"string","format":"date-time","nullable":true},"fee":{"type":"number"},"feeType":{"$ref":"#/components/schemas/FeeTypes","type":"string"},"orderIndex":{"type":"number"},"activityType":{"type":"string","format":"iri-reference","nullable":true},"frame":{"type":"string","format":"iri-reference"}}},"PaymentKeys":{"type":"string","enum":["T","CC","CT_ELV","CT_SOFORT","IS","FREE","EP","OGONE","CONCARDIS","INTERN","SPARKASSE","PAYPAL","HEIDELPAY","GS","BESR","DATATRANS","SAFERPAY","OSP_CARD","POS","POSTFINANCE","POSTFINANCE_CHECKOUT","SAFERPAY2","SWISSQRBILL","PAYPAL_REST"]},"FeeTypes":{"type":"string","enum":["STATIC","PERCENT"]},"PaymentMethod.PaymentMethodDTO-payment-method.read_translation":{"type":"object","description":"PaymentMethod","properties":{"id":{"type":"integer"},"internalKey":{"$ref":"#/components/schemas/PaymentKeys","type":"string"},"internalName":{"type":"string"},"startTime":{"description":"The starting date of this payment","type":"string","format":"date-time","nullable":true},"endTime":{"description":"The ending date of this payment","type":"string","format":"date-time","nullable":true},"fee":{"type":"number"},"feeType":{"$ref":"#/components/schemas/FeeTypes","type":"string"},"orderIndex":{"type":"number"},"activityType":{"type":"string","format":"iri-reference","nullable":true},"frame":{"type":"string","format":"iri-reference"}}}}},"paths":{"/api/payment_methods/{id}":{"get":{"operationId":"getPaymentMethodItem","tags":["PaymentMethod"],"responses":{"200":{"description":"PaymentMethod resource","content":{"application/ld+json":{"schema":{"$ref":"#/components/schemas/PaymentMethod.PaymentMethodDTO.jsonld-payment-method.read_translation"}},"text/html":{"schema":{"$ref":"#/components/schemas/PaymentMethod.PaymentMethodDTO-payment-method.read_translation"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a PaymentMethod resource.","description":"Retrieves a PaymentMethod resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false}}}}
```
