curl --location --request PUT 'https://stg-gateway.invora.app/api/billing/v2/wallets/' \
--header 'Content-Type: application/json' \
--data '{
"id": "string",
"appliesTo": {
"billableMetricIds": [
"string"
],
"feeTypes": [
"FEE_TYPES_UNSPECIFIED"
]
},
"code": "string",
"expirationAt": "2019-08-24T14:15:22.123Z",
"invoiceCustomSection": {
"invoiceCustomSectionIds": [
"string"
],
"skipInvoiceCustomSections": true
},
"invoiceRequiresSuccessfulPayment": true,
"metadata": [
{
"key": "string",
"value": "string"
}
],
"name": "string",
"paidTopUpMaxAmountCents": "string",
"paidTopUpMinAmountCents": "string",
"paymentMethod": {
"paymentMethodId": "string",
"paymentMethodType": "PAYMENT_METHOD_TYPE_UNSPECIFIED"
},
"priority": 0,
"recurringTransactionRules": [
{
"expirationAt": "2019-08-24T14:15:22.123Z",
"grantedCredits": "string",
"ignorePaidTopUpLimits": true,
"interval": "RECURRING_TRANSACTION_INTERVAL_UNSPECIFIED",
"invoiceCustomSection": {
"invoiceCustomSectionIds": [
"string"
],
"skipInvoiceCustomSections": true
},
"invoiceRequiresSuccessfulPayment": true,
"billingProviderId": "string",
"method": "RECURRING_TRANSACTION_METHOD_UNSPECIFIED",
"paidCredits": "string",
"paymentMethod": {
"paymentMethodId": "string",
"paymentMethodType": "PAYMENT_METHOD_TYPE_UNSPECIFIED"
},
"startedAt": "2019-08-24T14:15:22.123Z",
"targetOngoingBalance": "string",
"thresholdCredits": "string",
"transactionMetadata": [
{
"key": "string",
"value": "string"
}
],
"transactionName": "string",
"trigger": "RECURRING_TRANSACTION_TRIGGER_UNSPECIFIED"
}
],
"updateMask": "string"
}'