getPayments
GET /api/v1/paymentsDocumented HTTP responses
200400401
Field-level payment API reference. Public OpenAPI version 1.0.7009, checked .
This extract describes the published contract, not a production test or a guarantee that every operation is enabled for your account.
Read the publisher’s complete reference. Confirm the applicable contract version before implementation.
curl --request GET \
'https://psp-demo.viabanking.com/api/v1/payments?offset=0&limit=50' \
--header 'Authorization: Bearer <SHOP_API_KEY>' The listed payment operations use Authorization: Bearer <SHOP_API_KEY>. Obtain the key for your authorised environment; keep it on your server. No key prefix or rotation grace period is specified here.
https://psp-demo.viabanking.comhttps://psp.viabanking.comAuthorization: Bearer <SHOP_API_KEY>API paths start with /api/v1/. Specification version 1.0.7009 and the URL version are different identifiers.
GET /api/v1/paymentsDocumented HTTP responses
200400401POST /api/v1/paymentsDocumented HTTP responses
200400401GET /api/v1/payments/{id}Documented HTTP responses
200401404GET /api/v1/payments/{id}/operationsDocumented HTTP responses
200401404POST /api/v1/payment-methods/availableDocumented HTTP responses
200400401404The creation operation describes deposit, payout and refund requests. Confirm permitted payment methods and operations for your account; the path alone does not establish licensed PIS or recurring-payment availability.
idstringNot marked required in schemareferenceIdstringNot marked required in schemapaymentTypestringNot marked required in schemastateWebhookPaymentStateNot marked required in schemadescriptionstringNot marked required in schemaparentPaymentIdstringNot marked required in schemapaymentMethodPaymentMethodNot marked required in schemapaymentMethodDetailsPaymentMethodDetailsNot marked required in schemaamountnumberNot marked required in schemacurrencystringNot marked required in schemacustomerAmountnumberNot marked required in schemacustomerCurrencystringNot marked required in schemaredirectUrlstringNot marked required in schemaerrorCodestringNot marked required in schemaexternalResultCodestringNot marked required in schemaexternalRefsExternalRefsNot marked required in schemacustomerCustomerNot marked required in schemabillingAddressBillingAddressNot marked required in schematerminalNamestringNot marked required in schemareferenceIdstringNot marked required in schemaparentPaymentIdstringNot marked required in schemapaymentTypePaymentTypeRequiredpaymentMethodPaymentMethodNot marked required in schemaamountnumberRequiredcurrencystringRequireddescriptionstringNot marked required in schemacustomerCustomerNot marked required in schemabillingAddressBillingAddressNot marked required in schemareceiverReceiverNot marked required in schemareturnUrlstringNot marked required in schemapendingReturnUrlstringNot marked required in schemasuccessReturnUrlstringNot marked required in schemadeclineReturnUrlstringNot marked required in schemawebhookUrlstringNot marked required in schemawebsiteUrlstringNot marked required in schemaadditionalParametersobjectNot marked required in schematimestampstringNot marked required in schemastatusintegerNot marked required in schemahasMorebooleanNot marked required in schemaresultarrayNot marked required in schematimestampstringNot marked required in schemastatusintegerNot marked required in schemaresultResultNot marked required in schematimestampstringNot marked required in schemastatusnumberNot marked required in schemaerrorstringNot marked required in schemamessagestringNot marked required in schemaerrorsarrayNot marked required in schemapathstringNot marked required in schemaThese are top-level fields. Read nested schemas, enums and conditional requirements in the complete reference before sending a request. Do not infer that optional fields are unnecessary for every payment method.
GET /api/v1/payments uses offset (default 0) and limit (default 50, range 1–1000). The response includes hasMore. This is not cursor pagination.
GET /api/v1/payments?offset=0&limit=50Use each operation’s response definitions; the Error schema has top-level fields rather than a nested error.code envelope. An HTTP 200 alone does not establish payment completion or credited funds.
Idempotency-Key scope, retention, retry limits and conflict handling are not established by the inspected contract. After a timeout or ambiguous write, reconcile the original operation before submitting another payment. Do not change a key simply to bypass a conflict. Obtain the supported deduplication procedure before enabling automatic write retries.
The payment request includes webhookUrl and the contract defines WebhookResult with state. The inspected contract does not define a payment.settled event catalogue, HMAC header, retry window or acknowledgement deadline.
Confirm callback authentication, acknowledgement, retries, ordering and duplicate handling with the integration owner. Do not treat an unverified callback or a state name as proof of settlement finality.
The inspected paths do not document generic /accounts, /consents or /banks APIs, recurring mandates, or a C2B credit-matching contract. This does not prove these capabilities are unavailable; request their applicable specification and enabled scope before relying on them.