Passa al contenuto principale

PrepaidCreditResponse

Successful response with one PrepaidCredit

errorintegerrequired

Always 0 in a successful response

Constant value: 0
messagestring | nullnullablerequired

Always null in a successful response

data objectrequired

Resource returned by the operation

credit_amount objectrequired

Amount in euros, without the VAT details of Amount

amountfloatrequired

Amount, in euros

currencystringrequired

Currency code: always EUR

credit_threshold objectrequired

Alert threshold: when the credit falls below it, the customer receives an email; null without a threshold

anyOf
amountfloatrequired

Amount, in euros

currencystringrequired

Currency code: always EUR

threshold_exceededboolean | nullnullablerequired

Whether the credit is below the threshold; null without a threshold

metarequired

Always null: only the paginated lists have a meta

Constant value: null
PrepaidCreditResponse
{
"error": 0,
"message": "string",
"data": {
"credit_amount": {
"amount": 0,
"currency": "string"
},
"credit_threshold": {
"amount": 0,
"currency": "string"
},
"threshold_exceeded": true
}
}