List payment provider settings
1 min
GET
https://app.amberflo.io/payments/billing-settings/list
Responses
200
- payment.payment.AccountPaymentSetting.out[]Description
- accountIdstringDescription
- billingSystemcustomer.payment_method.BillingSystem.inDescription
- gracePeriodinteger<int32>Description
- sendPaymentAutomaticallybooleanDescription
- emailInvoiceToCustomerbooleanDescription
- paymentAccountIdstringDescription
- awsRoleArnstringDescription
- awsProductIdstringDescription
- awsProductCodestringDescription
- awsExternalIdstringDescription
- awsDimensionstringDescription
- isTestModebooleanDescription
- namestringDescription
- idstringDescription
- createTimeInMillisinteger<int64>Description
- lastUpdateTimeInMillisinteger<int64>Description
400
401
403
404
500
curl
curl --request GET \
--url https://app.amberflo.io/payments/billing-settings/list \
--header 'accept: application/json'javascript
var myHeaders = new Headers();
myHeaders.append("accept", "application/json");
myHeaders.append("content-type", "application/json");
var requestOptions = {
method: 'GET',
headers: myHeaders,
redirect: 'follow'
};
fetch("https://app.amberflo.io/payments/billing-settings/list", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));ruby
require "uri"
require "json"
require "net/http"
url = URI("https://app.amberflo.io/payments/billing-settings/list")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Get.new(url)
request["accept"] = "application/json"
request["content-type"] = "application/json"
response = https.request(request)
puts response.read_body
python
import requests
import json
url = "https://app.amberflo.io/payments/billing-settings/list"
payload = {}
headers = {
'accept': 'application/json',
'content-type': 'application/json'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
200
// Returns array of all payment provider settings configured for the account
[
{
"accountId": "",
"billingSystem": "",
"gracePeriod": "",
"sendPaymentAutomatically": false,
"emailInvoiceToCustomer": false,
"paymentAccountId": "",
"awsRoleArn": "",
"awsProductId": "",
"awsProductCode": "",
"awsExternalId": "",
"awsDimension": "",
"isTestMode": false,
"name": "",
"id": "",
"createTimeInMillis": "",
"lastUpdateTimeInMillis": ""
}
]400
// Invalid request parameters or malformed query
401
// Authentication required or invalid API key provided
403
// Insufficient permissions to access payment provider settings
404
// Account not found or no payment settings configured
500
// Internal server error occurred while retrieving payment settings