Organizations
Get billing payment history for settings page
GET
/
v1
/
settings
/
billing
/
payments
Get billing payment history for settings page
curl --request GET \
--url https://api.wazapin.com/v1/settings/billing/paymentsconst options = {method: 'GET'};
fetch('https://api.wazapin.com/v1/settings/billing/payments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/settings/billing/payments"
response = requests.get(url)
print(response.text){
"items": [
{
"amount": 123,
"created_at": "<string>",
"currency": "<string>",
"id": "<string>",
"invoice_id": "<string>",
"provider": "<string>",
"status": "<string>",
"invoice_number": "<string>",
"method": "<string>",
"paid_at": "<string>",
"provider_payment_session_id": "<string>",
"provider_reference_id": "<string>"
}
]
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}Response
OK
Show child attributes
Show child attributes
⌘I
Get billing payment history for settings page
curl --request GET \
--url https://api.wazapin.com/v1/settings/billing/paymentsconst options = {method: 'GET'};
fetch('https://api.wazapin.com/v1/settings/billing/payments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/settings/billing/payments"
response = requests.get(url)
print(response.text){
"items": [
{
"amount": 123,
"created_at": "<string>",
"currency": "<string>",
"id": "<string>",
"invoice_id": "<string>",
"provider": "<string>",
"status": "<string>",
"invoice_number": "<string>",
"method": "<string>",
"paid_at": "<string>",
"provider_payment_session_id": "<string>",
"provider_reference_id": "<string>"
}
]
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}