v1

latestOpenAPI 3.1.02026-07-241040774.6 KB

Ativar faturamento manual

Configuração da assinatura que indica se o faturamento será feito de forma manual ou automática. Caso esteja ativa, as faturas não serão geradas automaticamente pelo nosso sistema, ficando a cargo do lojista realizar o faturamento pelo endpoint Criar Fatura.

post/subscriptions/{subscription_id}/manual-billing

Response

200

idstring
codestring
start_atstring
intervalstring
interval_countinteger
billing_typestring
next_billing_atstring
payment_methodstring
currencystring
installmentsinteger
statusstring
created_atstring
updated_atstring
manual_billingboolean

Example response

{
  "id": "sub_kpWeWOBcOcpqe8jg",
  "code": "PX7ECLF6Y3",
  "start_at": "2019-05-07T00:00:00Z",
  "interval": "month",
  "interval_count": 1,
  "billing_type": "postpaid",
  "next_billing_at": "2019-06-07T00:00:00Z",
  "payment_method": "credit_card",
  "currency": "BRL",
  "installments": 1,
  "status": "active",
  "created_at": "2019-05-07T21:32:28Z",
  "updated_at": "2019-05-07T21:33:22Z",
  "manual_billing": true
}