Ativar faturamento manual
Changed onConfiguraçã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
Request
- Base URLhttps://api.pagar.me/core/v5
- URLhttps://api.pagar.me/core/v5/subscriptions/{subscription_id}/manual-billing
- AuthHTTP basic
Path parameters
subscription_idstring required
Código da assinatura.<br>Formato: sub_XXXXXXXXXXXXXXXX.
Response
200
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
}Changes
- info
endpoint added
- info