Skip to content

Latest commit

 

History

History
69 lines (39 loc) · 2.91 KB

PaymentsApi.md

File metadata and controls

69 lines (39 loc) · 2.91 KB

\PaymentsApi

All URIs are relative to https://https://publicapi.sbanken.no/apibeta

Method HTTP request Description
payments_list GET /api/v2/Payments/{accountId} List the payments. These payments are awaiting processing. Payments are processed on the due date.
payments_read GET /api/v2/Payments/{accountId}/{paymentId} Read a payment.

payments_list

crate::models::ListResultOfPayment payments_list(account_id, index, length) List the payments. These payments are awaiting processing. Payments are processed on the due date.

Parameters

Name Type Description Required Notes
account_id Option<String> The accountId of the account. The account must be one owned by the customer, or an account the customer has been granted access to. An account's accountId can be retrieved with the list or read operation on the Accounts service. [required]
index Option<i32> Optional. Return items with this index or greater. Minimum value is 0, which is the first item within the query time span. Default value is 0.
length Option<i32> Optional. Return a number of items items up to this value. Minimum value is 1, maximum value is 1000. The default value is 100.

Return type

crate::models::ListResultOfPayment

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

payments_read

crate::models::Payment payments_read(account_id, payment_id) Read a payment.

Parameters

Name Type Description Required Notes
account_id Option<String> The accountId of the account. The account must be one owned by the customer, or an account the customer has been granted access to. An account's accountId can be retrieved with the list or read operation on the Accounts service. [required]
payment_id Option<String> The paymentId of the payment. The paymentId can be retrieved with the list operation on this service. [required]

Return type

crate::models::Payment

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]