MENU navbar-image

Introdução

O WebPag é uma solução financeira para empresas de todos os tamanhos. Com ele, você pode gerenciar pagamentos, links de pagamento, recorrências e muito mais. Este é o ponto de partida para você começar a integrar com a nossa API. Se tiver alguma dúvida, entre em contato com o nosso suporte.

O acesso ao API é feito através de uma chave de autenticação. Para obter a sua chave, contate o nosso suporte para mais informações.

Autenticando requisições

Para autenticar as requisições, inclua um cabeçalho auth-token com o valor "{CHAVE_API}".

Todos os endpoints autenticados estão marcados com um rótulo requere autenticação na documentação abaixo.

Contate o nosso suporte para conseguir uma chave API.

Recorrência

Criar recorrência (cartão)

requires authentication

É importante armazenar o "recurrence_code" para utilizar em cancelamentos e atualizações de recorrência. Para Pix Automático, consulte o grupo PIX Automático — mesmo endpoint com type: "pix_automatic".

Exemplo de Requisição:
$client = new \GuzzleHttp\Client();
$url = 'https://api.webpag.com.br/api/payments/recurrency/register';
$response = $client->post(
    $url,
    [
        'headers' => [
            'auth-token' => '{CHAVE_API}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'json' => [
            'payer_id' => 881,
            'type' => 'card',
            'name' => '"Recorrência da Maria"',
            'amount' => 9988,
            'frequency' => 'monthly',
            'start_date' => '"2024-01-01 00:00"',
            'installments' => 2,
            'card_payer_id' => 1903,
            'notify_payer' => true,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request POST \
    "https://api.webpag.com.br/api/payments/recurrency/register" \
    --header "auth-token: {CHAVE_API}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"payer_id\": 881,
    \"type\": \"card\",
    \"name\": \"\\\"Recorrência da Maria\\\"\",
    \"amount\": 9988,
    \"frequency\": \"monthly\",
    \"start_date\": \"\\\"2024-01-01 00:00\\\"\",
    \"installments\": 2,
    \"card_payer_id\": 1903,
    \"notify_payer\": true
}"

Exemplo de Resposta (200, Recorrência criada):


{
    "recurrence_code": "198249294",
    "uuid": "a1b2c3d4e5f6g7h8i9j0k1l2m",
    "status": "Ativo",
    "type": "card",
    "payment_id": 12345,
    "payment_status": "Pago",
    "qrcode_data": null
}
 

Exemplo de Resposta (422, Regra de negócio):


{
    "error": "Pagador não pertence a esta empresa."
}
 

Requisição   

POST api/payments/recurrency/register

Cabeçalhos

auth-token      

Example: {CHAVE_API}

Content-Type      

Example: application/json

Accept      

Example: application/json

Parâmetros do Corpo

payer_id   integer   

O ID do pagador. Example: 881

type   string   

Tipo da recorrência. Informe card. Example: card

name   string   

O nome da recorrência. Example: "Recorrência da Maria"

amount   integer   

O valor a ser cobrado em centavos. Example: 9988

frequency   string   

A frequência do pagamento (monthly, quarterly, semiannual, yearly, weekly). Example: monthly

start_date   string  optional  

Opcional para cartão (padrão: agora). Formato "Y-m-d H:i". Example: "2024-01-01 00:00"

installments   integer  optional  

O número de parcelas. Caso for recorrência por período indeterminado, remova este campo ou informe null. Example: 2

card_payer_id   integer  optional  

O ID do cartão do pagador (obrigatório se card_token e card não forem informados). Example: 1903

card_token   string  optional  

Token do cartão gerado no frontend.

notify_payer   boolean  optional  

Indica se deve notificar o pagador sobre a recorrência. Example: true

Listar recorrência

requires authentication

Você poderá fornecer os filtros necessários para encontrar a recorrência desejada.

Exemplo de Requisição:
$client = new \GuzzleHttp\Client();
$url = 'https://api.webpag.com.br/api/payments/recurrency/list';
$response = $client->get(
    $url,
    [
        'headers' => [
            'auth-token' => '{CHAVE_API}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'query' => [
            'payer_id' => '881',
            'recurrence_code' => '198249294',
            'page' => '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request GET \
    --get "https://api.webpag.com.br/api/payments/recurrency/list?payer_id=881&recurrence_code=198249294&page=1" \
    --header "auth-token: {CHAVE_API}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Exemplo de Resposta (200):


{
    "data": [
        {
            "id": 663346,
            "payer_id": 241863,
            "card_id": null,
            "name": "Miss Corine Murray V",
            "amount": 569,
            "amount_refunded": 0,
            "fee_value": "91.55",
            "refunded_fee": 0,
            "installments": 3,
            "is_recurrent": false,
            "recurrence_code": 71013451,
            "frequency": null,
            "method": 10,
            "method_label": "Cartão de Crédito",
            "method_slug": "credit_card",
            "boleto": null,
            "notification_url": null,
            "installments_paid": 0,
            "spplited": false,
            "soft_descriptor": null,
            "order_id": null,
            "active": true,
            "status": 10,
            "status_label": "Aguardando",
            "start_date": "2026-05-19 09:48",
            "next_date": "2026-05-11 09:58",
            "next_recurrence_date": null,
            "created_at": "2025-12-26 04:19",
            "paid_at": "2026-05-10 04:04",
            "updated_at": "2026-04-20 11:12",
            "receipt_pdf_path": "https://api.webpag.com.br/payments/01KY2YJ5ZHTM4MDZJX2876P8YX/pdf",
            "card_flag": 10,
            "card_flag_label": "Amex"
        },
        {
            "id": 663347,
            "payer_id": 241864,
            "card_id": null,
            "name": "Anabelle Herman",
            "amount": 198,
            "amount_refunded": 0,
            "fee_value": "70.18",
            "refunded_fee": 0,
            "installments": 2,
            "is_recurrent": false,
            "recurrence_code": 66345719,
            "frequency": null,
            "method": 10,
            "method_label": "Cartão de Crédito",
            "method_slug": "credit_card",
            "boleto": null,
            "notification_url": null,
            "installments_paid": 0,
            "spplited": false,
            "soft_descriptor": null,
            "order_id": null,
            "active": true,
            "status": 10,
            "status_label": "Aguardando",
            "start_date": "2026-06-13 02:30",
            "next_date": "2026-01-13 22:57",
            "next_recurrence_date": null,
            "created_at": "2026-03-10 04:39",
            "paid_at": "2026-04-09 03:01",
            "updated_at": "2025-07-29 11:05",
            "receipt_pdf_path": "https://api.webpag.com.br/payments/01KY2YJ60HK3BA2HDTH9N8XWRZ/pdf",
            "card_flag": 10,
            "card_flag_label": "Amex"
        }
    ]
}
 

Requisição   

GET api/payments/recurrency/list

Cabeçalhos

auth-token      

Example: {CHAVE_API}

Content-Type      

Example: application/json

Accept      

Example: application/json

Parâmetros de Consulta

payer_id   integer  optional  

O ID do pagador. Example: 881

recurrence_code   string  optional  

O código da recorrência. Example: 198249294

page   string  optional  

Página da informação. Example: 1

Atualizar recorrência

requires authentication

Exemplo de Requisição:
$client = new \GuzzleHttp\Client();
$url = 'https://api.webpag.com.br/api/payments/recurrency/198249294/update';
$response = $client->put(
    $url,
    [
        'headers' => [
            'auth-token' => '{CHAVE_API}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'json' => [
            'name' => 'Plano Mensal',
            'amount' => 5000,
            'installments' => 3,
            'frequency' => 'monthly',
            'card_payer_id' => 1234,
            'next_date' => '2024-01-01 00:00',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request PUT \
    "https://api.webpag.com.br/api/payments/recurrency/198249294/update" \
    --header "auth-token: {CHAVE_API}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"Plano Mensal\",
    \"amount\": 5000,
    \"installments\": 3,
    \"frequency\": \"monthly\",
    \"card_payer_id\": 1234,
    \"next_date\": \"2024-01-01 00:00\"
}"

Exemplo de Resposta (200):


{
    "data": {
        "id": 663348,
        "payer_id": 241865,
        "card_id": null,
        "name": "Mr. Kian Rolfson",
        "amount": 989,
        "amount_refunded": 0,
        "fee_value": "23.94",
        "refunded_fee": 0,
        "installments": 3,
        "is_recurrent": false,
        "recurrence_code": 71519865,
        "frequency": null,
        "method": 10,
        "method_label": "Cartão de Crédito",
        "method_slug": "credit_card",
        "boleto": null,
        "notification_url": null,
        "installments_paid": 0,
        "spplited": false,
        "soft_descriptor": null,
        "order_id": null,
        "active": true,
        "status": 10,
        "status_label": "Aguardando",
        "start_date": "2025-11-06 07:21",
        "next_date": "2026-06-26 17:20",
        "next_recurrence_date": null,
        "created_at": "2026-05-31 21:51",
        "paid_at": "2026-06-26 06:05",
        "updated_at": "2026-01-24 11:29",
        "receipt_pdf_path": "https://api.webpag.com.br/payments/01KY2YJ632YVTGC4HHG3Y5TW5E/pdf",
        "card_flag": 10,
        "card_flag_label": "Amex"
    }
}
 

Requisição   

PUT api/payments/recurrency/{recurrence_code}/update

Cabeçalhos

auth-token      

Example: {CHAVE_API}

Content-Type      

Example: application/json

Accept      

Example: application/json

Parâmetros de URL

recurrence_code   string  optional  

Example: 198249294

Parâmetros do Corpo

name   string  optional  

O nome da recorrência. Opcional, mínimo de 3 caracteres. Example: Plano Mensal

amount   integer  optional  

O valor a ser cobrado em centavos. Opcional. Example: 5000

installments   integer  optional  

O número de parcelas. Opcional. Example: 3

frequency   string  optional  

A frequência do pagamento. Opcional. Deve ser um dos seguintes valores: monthly, quarterly, semiannual, yearly, weekly. Example: monthly

card_payer_id   integer  optional  

O ID do cartão do pagador. Opcional. Example: 1234

next_date   string  optional  

A próxima data do pagamento no formato "Y-m-d H:i". Opcional. Example: 2024-01-01 00:00

Cancelar recorrência (cartão)

requires authentication

Para cancelamento de Pix Automático, consulte o grupo PIX Automático — mesmo endpoint.

Exemplo de Requisição:
$client = new \GuzzleHttp\Client();
$url = 'https://api.webpag.com.br/api/payments/recurrency/198249294/cancel';
$response = $client->put(
    $url,
    [
        'headers' => [
            'auth-token' => '{CHAVE_API}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request PUT \
    "https://api.webpag.com.br/api/payments/recurrency/198249294/cancel" \
    --header "auth-token: {CHAVE_API}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Exemplo de Resposta (200, Recorrência cancelada):


{
    "recurrence_code": "198249294",
    "uuid": "a1b2c3d4e5f6g7h8i9j0k1l2m",
    "status": "Cancelado",
    "type": "card"
}
 

Exemplo de Resposta (422, Regra de negócio):


{
    "error": "Recorrência já está encerrada!"
}
 

Requisição   

PUT api/payments/recurrency/{recurrence_code}/cancel

Cabeçalhos

auth-token      

Example: {CHAVE_API}

Content-Type      

Example: application/json

Accept      

Example: application/json

Parâmetros de URL

recurrence_code   string   

Código da recorrência. Example: 198249294

PIX Automático

Recorrências via Pix Automático (Banco do Brasil). Utiliza os mesmos endpoints do grupo Recorrência com type: "pix_automatic".

O consentimento permanece Pendente até aprovação do pagador no banco. Ciclos seguintes são cobrados via CobR pelo agendador diário.

Eventos outbound (pix_automatic.approved, pix_automatic.charged, etc.) são enviados para os webhooks cadastrados no painel — não para notification_url.

Criar recorrência Pix Automático

requires authentication

Registra consentimento Pix Automático no Banco do Brasil.

Jornada 3 (charge_first: true, padrão): cob imediata + Pix copia e cola em qrcode_data.
Jornada 2 (charge_first: false): apenas consentimento; primeira cobrança pelo agendador na start_date.

qrcode_data é a string EMV copia e cola — não é imagem base64. Renderize o QR no cliente ou deixe o pagador colar no app do banco.
payment_status reflete o status da primeira cobrança (Jornada 3); use-o para saber se a cob imediata foi paga ou recusada.

Exemplo de Requisição:
$client = new \GuzzleHttp\Client();
$url = 'https://api.webpag.com.br/api/payments/recurrency/register';
$response = $client->post(
    $url,
    [
        'headers' => [
            'auth-token' => '{CHAVE_API}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'json' => [
            'type' => 'pix_automatic',
            'payer_id' => 881,
            'name' => 'Assinatura Premium',
            'amount' => 9988,
            'frequency' => 'monthly',
            'start_date' => '2026-07-01 09:00',
            'installments' => 12,
            'charge_first' => true,
            'notification_url' => 'https://example.com/webhooks/pix-automatic',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request POST \
    "https://api.webpag.com.br/api/payments/recurrency/register" \
    --header "auth-token: {CHAVE_API}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"type\": \"pix_automatic\",
    \"payer_id\": 881,
    \"name\": \"Assinatura Premium\",
    \"amount\": 9988,
    \"frequency\": \"monthly\",
    \"start_date\": \"2026-07-01 09:00\",
    \"installments\": 12,
    \"charge_first\": true,
    \"notification_url\": \"https:\\/\\/example.com\\/webhooks\\/pix-automatic\"
}"

Exemplo de Resposta (200, Jornada 3 — consentimento pendente com cob imediata e QR copia e cola.):


{
    "recurrence_code": "198249295",
    "uuid": "b2c3d4e5f6g7h8i9j0k1l2m3n",
    "status": "Pendente",
    "type": "pix_automatic",
    "payment_id": 12346,
    "payment_status": "Aguardando",
    "qrcode_data": "00020101021226760014br.gov.bcb.pix2554pix.example.com/qr/v2/cob..."
}
 

Exemplo de Resposta (200, Jornada 2 — consentimento pendente, sem cob imediata.):


{
    "recurrence_code": "198249296",
    "uuid": "c3d4e5f6g7h8i9j0k1l2m3n4o",
    "status": "Pendente",
    "type": "pix_automatic",
    "payment_id": null,
    "qrcode_data": null
}
 

Exemplo de Resposta (422, Regra de negócio violada.):


{
    "error": "Pagador não pertence a esta empresa."
}
 

Requisição   

POST api/payments/recurrency/register

Cabeçalhos

auth-token      

Example: {CHAVE_API}

Content-Type      

Example: application/json

Accept      

Example: application/json

Parâmetros do Corpo

type   string   

Discriminador da recorrência. Informe pix_automatic. Example: pix_automatic

payer_id   integer   

ID do pagador. Deve pertencer à empresa autenticada. Example: 881

name   string   

Nome ou descrição da recorrência. Example: Assinatura Premium

amount   integer   

Valor da cobrança em centavos (ex.: 9988 = R$ 99,88). Example: 9988

frequency   string   

Intervalo entre ciclos: monthly, bimonthly, quarterly, semiannual, yearly. Example: monthly

start_date   string   

Data/hora do primeiro ciclo. Formato "Y-m-d H:i". Example: 2026-07-01 09:00

installments   integer  optional  

Número total de ciclos. Omita ou envie null para recorrência sem fim. Example: 12

charge_first   boolean  optional  

Quando true (padrão), Jornada 3 — cob imediata + QR. Quando false, Jornada 2 — consentimento apenas; primeira cobrança pelo agendador. Example: true

notification_url   string  optional  

URL opcional para webhooks de status do pagamento da cob imediata (Jornada 3). Não substitui webhooks pix_automatic.* do painel. Example: https://example.com/webhooks/pix-automatic

Cancelar recorrência Pix Automático

requires authentication

Cancela o consentimento no Banco do Brasil e encerra a recorrência localmente. Mesmo endpoint do grupo Recorrência.

Exemplo de Requisição:
$client = new \GuzzleHttp\Client();
$url = 'https://api.webpag.com.br/api/payments/recurrency/198249295/cancel';
$response = $client->put(
    $url,
    [
        'headers' => [
            'auth-token' => '{CHAVE_API}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request PUT \
    "https://api.webpag.com.br/api/payments/recurrency/198249295/cancel" \
    --header "auth-token: {CHAVE_API}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Exemplo de Resposta (200, Recorrência Pix Automático cancelada.):


{
    "recurrence_code": "198249295",
    "uuid": "b2c3d4e5f6g7h8i9j0k1l2m3n",
    "status": "Cancelado",
    "type": "pix_automatic"
}
 

Exemplo de Resposta (422, Regra de negócio violada.):


{
    "error": "Recorrência já está encerrada!"
}
 

Requisição   

PUT api/payments/recurrency/{recurrence_code}/cancel

Cabeçalhos

auth-token      

Example: {CHAVE_API}

Content-Type      

Example: application/json

Accept      

Example: application/json

Parâmetros de URL

recurrence_code   string   

Código da recorrência retornado no cadastro. Example: 198249295

Crediário

Listar crediários da empresa

requires authentication

Exemplo de Requisição:
$client = new \GuzzleHttp\Client();
$url = 'https://api.webpag.com.br/api/installments';
$response = $client->get(
    $url,
    [
        'headers' => [
            'auth-token' => '{CHAVE_API}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'query' => [
            'payer_id' => '1',
            'page' => '1',
            'per_page' => '15',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request GET \
    --get "https://api.webpag.com.br/api/installments?payer_id=1&page=1&per_page=15" \
    --header "auth-token: {CHAVE_API}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Exemplo de Resposta (200):


{
    "data": [
        {
            "id": 1,
            "name": "Crediário do(a) Jefferson Souza",
            "business_id": 10,
            "payer_id": 209,
            "number_installments": 10,
            "amount_original": "1000.00",
            "first_date": "2023-08-29 00:00:00",
            "type": 10,
            "type_label": "Boleto",
            "status": 10,
            "status_label": "Ativo",
            "accept_after_due_date": null,
            "created_at": "2023-07-29 21:56:58",
            "updated_at": "2023-07-29 21:56:58",
            "payer": {
                "id": 209,
                "cpf_cnpj": "05920092700",
                "is_business": false,
                "email": "jefferson@ectechnologies.com.br",
                "first_name": "Jefferson",
                "last_name": "Souza",
                "gender": "M",
                "phone_number": "+55 (27) 99578-6767",
                "birth_date": "1988-05-11",
                "address": null,
                "use_boleto": true,
                "status": 10,
                "status_label": "Ativo",
                "created_at": "2023-07-10 21:24:48",
                "updated_at": "2023-10-20 15:23:02"
            },
            "installments": [
                {
                    "id": 1,
                    "installment_plan_id": 1,
                    "payment_id": 452,
                    "code": "64c5b55a31417",
                    "due_date": "2023-08-29 00:00:00",
                    "liquidation_date": null,
                    "payment_info": null,
                    "number": 1,
                    "amount": "100.00",
                    "status": 40,
                    "status_label": "Cancelado",
                    "payment": {
                        "id": 452,
                        "business": {
                            "id": 10,
                            "name": "Empresa deletada"
                        },
                        "payer_id": 209,
                        "card_id": null,
                        "payer": {
                            "id": 209,
                            "cpf_cnpj": "05920092700",
                            "is_business": false,
                            "email": "jefferson@ectechnologies.com.br",
                            "first_name": "Jefferson",
                            "last_name": "Souza",
                            "gender": "M",
                            "phone_number": "+55 (27) 99578-6767",
                            "birth_date": "1988-05-11",
                            "address": null,
                            "use_boleto": true,
                            "status": 10,
                            "status_label": "Ativo",
                            "created_at": "2023-07-10 21:24:48",
                            "updated_at": "2023-10-20 15:23:02"
                        },
                        "name": "1/10 - Crediário #1",
                        "amount": 10000,
                        "amount_refunded": 0,
                        "fee_value": null,
                        "refunded_fee": 0,
                        "installments": 1,
                        "is_recurrent": false,
                        "recurrence_code": null,
                        "frequency": null,
                        "method": 50,
                        "method_label": "Crediário Boleto",
                        "method_slug": null,
                        "boleto": {
                            "id": 4,
                            "linha_digitavel": "00190000090341722699499999996178194570000010000",
                            "sequencial_code": 9999999996,
                            "nosso_numero": "00034172269999999996",
                            "codigo_barras": "00191945700000100000000003417226999999999617",
                            "due_date": "2023-08-29T03:00:00.000000Z",
                            "issue_date": "2023-07-29T03:00:00.000000Z",
                            "amount": 100,
                            "interest": null,
                            "fine": null,
                            "accept_after_due_date": null,
                            "boleto_url": "https://api.webpag.com.br/r/dedf6e7b-950b"
                        },
                        "notification_url": null,
                        "pix": null,
                        "installments_paid": 0,
                        "spplited": false,
                        "soft_descriptor": null,
                        "order_id": null,
                        "active": true,
                        "status": 60,
                        "status_label": "Cancelado",
                        "start_date": null,
                        "next_date": null,
                        "next_recurrence_date": null,
                        "refunds": [],
                        "created_at": "2023-07-29 21:56",
                        "paid_at": null,
                        "updated_at": "2025-10-13 06:43",
                        "receipt_pdf_path": "https://api.webpag.com.br/payments/69fdba13f6f8a577c8ebe21d6/pdf",
                        "card_flag": null,
                        "card_flag_label": null
                    }
                },
                {
                    "id": 2,
                    "installment_plan_id": 1,
                    "payment_id": 453,
                    "code": "64c5b55a32915",
                    "due_date": "2023-09-29 00:00:00",
                    "liquidation_date": null,
                    "payment_info": null,
                    "number": 2,
                    "amount": "100.00",
                    "status": 40,
                    "status_label": "Cancelado",
                    "payment": {
                        "id": 453,
                        "business": {
                            "id": 10,
                            "name": "Empresa deletada"
                        },
                        "payer_id": 209,
                        "card_id": null,
                        "payer": {
                            "id": 209,
                            "cpf_cnpj": "05920092700",
                            "is_business": false,
                            "email": "jefferson@ectechnologies.com.br",
                            "first_name": "Jefferson",
                            "last_name": "Souza",
                            "gender": "M",
                            "phone_number": "+55 (27) 99578-6767",
                            "birth_date": "1988-05-11",
                            "address": null,
                            "use_boleto": true,
                            "status": 10,
                            "status_label": "Ativo",
                            "created_at": "2023-07-10 21:24:48",
                            "updated_at": "2023-10-20 15:23:02"
                        },
                        "name": "2/10 - Crediário #1",
                        "amount": 10000,
                        "amount_refunded": 0,
                        "fee_value": null,
                        "refunded_fee": 0,
                        "installments": 1,
                        "is_recurrent": false,
                        "recurrence_code": null,
                        "frequency": null,
                        "method": 50,
                        "method_label": "Crediário Boleto",
                        "method_slug": null,
                        "boleto": {
                            "id": 5,
                            "linha_digitavel": "00190000090341722699499999995170294880000010000",
                            "sequencial_code": 9999999995,
                            "nosso_numero": "00034172269999999995",
                            "codigo_barras": "00192948800000100000000003417226999999999517",
                            "due_date": "2023-09-29T03:00:00.000000Z",
                            "issue_date": "2023-07-29T03:00:00.000000Z",
                            "amount": 100,
                            "interest": null,
                            "fine": null,
                            "accept_after_due_date": null,
                            "boleto_url": "https://api.webpag.com.br/r/97489a4a-73b9"
                        },
                        "notification_url": null,
                        "pix": null,
                        "installments_paid": 0,
                        "spplited": false,
                        "soft_descriptor": null,
                        "order_id": null,
                        "active": true,
                        "status": 60,
                        "status_label": "Cancelado",
                        "start_date": null,
                        "next_date": null,
                        "next_recurrence_date": null,
                        "refunds": [],
                        "created_at": "2023-07-29 21:57",
                        "paid_at": null,
                        "updated_at": "2025-10-13 06:43",
                        "receipt_pdf_path": "https://api.webpag.com.br/payments/a53782e2d80f8b5c982716d1f/pdf",
                        "card_flag": null,
                        "card_flag_label": null
                    }
                },
                {
                    "id": 3,
                    "installment_plan_id": 1,
                    "payment_id": 454,
                    "code": "64c5b55a33b18",
                    "due_date": "2023-10-29 00:00:00",
                    "liquidation_date": null,
                    "payment_info": null,
                    "number": 3,
                    "amount": "100.00",
                    "status": 40,
                    "status_label": "Cancelado",
                    "payment": {
                        "id": 454,
                        "business": {
                            "id": 10,
                            "name": "Empresa deletada"
                        },
                        "payer_id": 209,
                        "card_id": null,
                        "payer": {
                            "id": 209,
                            "cpf_cnpj": "05920092700",
                            "is_business": false,
                            "email": "jefferson@ectechnologies.com.br",
                            "first_name": "Jefferson",
                            "last_name": "Souza",
                            "gender": "M",
                            "phone_number": "+55 (27) 99578-6767",
                            "birth_date": "1988-05-11",
                            "address": null,
                            "use_boleto": true,
                            "status": 10,
                            "status_label": "Ativo",
                            "created_at": "2023-07-10 21:24:48",
                            "updated_at": "2023-10-20 15:23:02"
                        },
                        "name": "3/10 - Crediário #1",
                        "amount": 10000,
                        "amount_refunded": 0,
                        "fee_value": null,
                        "refunded_fee": 0,
                        "installments": 1,
                        "is_recurrent": false,
                        "recurrence_code": null,
                        "frequency": null,
                        "method": 50,
                        "method_label": "Crediário Boleto",
                        "method_slug": null,
                        "boleto": {
                            "id": 6,
                            "linha_digitavel": "00190000090341722699499999994173895180000010000",
                            "sequencial_code": 9999999994,
                            "nosso_numero": "00034172269999999994",
                            "codigo_barras": "00198951800000100000000003417226999999999417",
                            "due_date": "2023-10-29T03:00:00.000000Z",
                            "issue_date": "2023-07-29T03:00:00.000000Z",
                            "amount": 100,
                            "interest": null,
                            "fine": null,
                            "accept_after_due_date": null,
                            "boleto_url": "https://api.webpag.com.br/r/704f4ca5-f096"
                        },
                        "notification_url": null,
                        "pix": null,
                        "installments_paid": 0,
                        "spplited": false,
                        "soft_descriptor": null,
                        "order_id": null,
                        "active": true,
                        "status": 60,
                        "status_label": "Cancelado",
                        "start_date": null,
                        "next_date": null,
                        "next_recurrence_date": null,
                        "refunds": [],
                        "created_at": "2023-07-29 21:57",
                        "paid_at": null,
                        "updated_at": "2025-10-13 06:43",
                        "receipt_pdf_path": "https://api.webpag.com.br/payments/39887ec8745459963897afa7f/pdf",
                        "card_flag": null,
                        "card_flag_label": null
                    }
                },
                {
                    "id": 4,
                    "installment_plan_id": 1,
                    "payment_id": 455,
                    "code": "64c5b55a353e4",
                    "due_date": "2023-11-29 00:00:00",
                    "liquidation_date": null,
                    "payment_info": null,
                    "number": 4,
                    "amount": "100.00",
                    "status": 40,
                    "status_label": "Cancelado",
                    "payment": {
                        "id": 455,
                        "business": {
                            "id": 10,
                            "name": "Empresa deletada"
                        },
                        "payer_id": 209,
                        "card_id": null,
                        "payer": {
                            "id": 209,
                            "cpf_cnpj": "05920092700",
                            "is_business": false,
                            "email": "jefferson@ectechnologies.com.br",
                            "first_name": "Jefferson",
                            "last_name": "Souza",
                            "gender": "M",
                            "phone_number": "+55 (27) 99578-6767",
                            "birth_date": "1988-05-11",
                            "address": null,
                            "use_boleto": true,
                            "status": 10,
                            "status_label": "Ativo",
                            "created_at": "2023-07-10 21:24:48",
                            "updated_at": "2023-10-20 15:23:02"
                        },
                        "name": "4/10 - Crediário #1",
                        "amount": 10000,
                        "amount_refunded": 0,
                        "fee_value": null,
                        "refunded_fee": 0,
                        "installments": 1,
                        "is_recurrent": false,
                        "recurrence_code": null,
                        "frequency": null,
                        "method": 50,
                        "method_label": "Crediário Boleto",
                        "method_slug": null,
                        "boleto": {
                            "id": 7,
                            "linha_digitavel": "00190000090341722699499999993175195490000010000",
                            "sequencial_code": 9999999993,
                            "nosso_numero": "00034172269999999993",
                            "codigo_barras": "00191954900000100000000003417226999999999317",
                            "due_date": "2023-11-29T03:00:00.000000Z",
                            "issue_date": "2023-07-29T03:00:00.000000Z",
                            "amount": 100,
                            "interest": null,
                            "fine": null,
                            "accept_after_due_date": null,
                            "boleto_url": "https://api.webpag.com.br/r/bf3bea52-9d28"
                        },
                        "notification_url": null,
                        "pix": null,
                        "installments_paid": 0,
                        "spplited": false,
                        "soft_descriptor": null,
                        "order_id": null,
                        "active": true,
                        "status": 60,
                        "status_label": "Cancelado",
                        "start_date": null,
                        "next_date": null,
                        "next_recurrence_date": null,
                        "refunds": [],
                        "created_at": "2023-07-29 21:57",
                        "paid_at": null,
                        "updated_at": "2025-10-13 06:43",
                        "receipt_pdf_path": "https://api.webpag.com.br/payments/6eeb21929f81c90f23da423b9/pdf",
                        "card_flag": null,
                        "card_flag_label": null
                    }
                },
                {
                    "id": 5,
                    "installment_plan_id": 1,
                    "payment_id": 456,
                    "code": "64c5b55a36320",
                    "due_date": "2023-12-29 00:00:00",
                    "liquidation_date": null,
                    "payment_info": null,
                    "number": 5,
                    "amount": "100.00",
                    "status": 40,
                    "status_label": "Cancelado",
                    "payment": {
                        "id": 456,
                        "business": {
                            "id": 10,
                            "name": "Empresa deletada"
                        },
                        "payer_id": 209,
                        "card_id": null,
                        "payer": {
                            "id": 209,
                            "cpf_cnpj": "05920092700",
                            "is_business": false,
                            "email": "jefferson@ectechnologies.com.br",
                            "first_name": "Jefferson",
                            "last_name": "Souza",
                            "gender": "M",
                            "phone_number": "+55 (27) 99578-6767",
                            "birth_date": "1988-05-11",
                            "address": null,
                            "use_boleto": true,
                            "status": 10,
                            "status_label": "Ativo",
                            "created_at": "2023-07-10 21:24:48",
                            "updated_at": "2023-10-20 15:23:02"
                        },
                        "name": "5/10 - Crediário #1",
                        "amount": 10000,
                        "amount_refunded": 0,
                        "fee_value": null,
                        "refunded_fee": 0,
                        "installments": 1,
                        "is_recurrent": false,
                        "recurrence_code": null,
                        "frequency": null,
                        "method": 50,
                        "method_label": "Crediário Boleto",
                        "method_slug": null,
                        "boleto": {
                            "id": 8,
                            "linha_digitavel": "00190000090341722699499999992177895790000010000",
                            "sequencial_code": 9999999992,
                            "nosso_numero": "00034172269999999992",
                            "codigo_barras": "00198957900000100000000003417226999999999217",
                            "due_date": "2023-12-29T03:00:00.000000Z",
                            "issue_date": "2023-07-29T03:00:00.000000Z",
                            "amount": 100,
                            "interest": null,
                            "fine": null,
                            "accept_after_due_date": null,
                            "boleto_url": "https://api.webpag.com.br/r/69e845ec-39f4"
                        },
                        "notification_url": null,
                        "pix": null,
                        "installments_paid": 0,
                        "spplited": false,
                        "soft_descriptor": null,
                        "order_id": null,
                        "active": true,
                        "status": 60,
                        "status_label": "Cancelado",
                        "start_date": null,
                        "next_date": null,
                        "next_recurrence_date": null,
                        "refunds": [],
                        "created_at": "2023-07-29 21:57",
                        "paid_at": null,
                        "updated_at": "2025-10-13 06:43",
                        "receipt_pdf_path": "https://api.webpag.com.br/payments/6633ac8ea9615b48e5336f0c9/pdf",
                        "card_flag": null,
                        "card_flag_label": null
                    }
                },
                {
                    "id": 6,
                    "installment_plan_id": 1,
                    "payment_id": 457,
                    "code": "64c5b55a3733f",
                    "due_date": "2024-01-29 00:00:00",
                    "liquidation_date": null,
                    "payment_info": null,
                    "number": 6,
                    "amount": "100.00",
                    "status": 40,
                    "status_label": "Cancelado",
                    "payment": {
                        "id": 457,
                        "business": {
                            "id": 10,
                            "name": "Empresa deletada"
                        },
                        "payer_id": 209,
                        "card_id": null,
                        "payer": {
                            "id": 209,
                            "cpf_cnpj": "05920092700",
                            "is_business": false,
                            "email": "jefferson@ectechnologies.com.br",
                            "first_name": "Jefferson",
                            "last_name": "Souza",
                            "gender": "M",
                            "phone_number": "+55 (27) 99578-6767",
                            "birth_date": "1988-05-11",
                            "address": null,
                            "use_boleto": true,
                            "status": 10,
                            "status_label": "Ativo",
                            "created_at": "2023-07-10 21:24:48",
                            "updated_at": "2023-10-20 15:23:02"
                        },
                        "name": "6/10 - Crediário #1",
                        "amount": 10000,
                        "amount_refunded": 0,
                        "fee_value": null,
                        "refunded_fee": 0,
                        "installments": 1,
                        "is_recurrent": false,
                        "recurrence_code": null,
                        "frequency": null,
                        "method": 50,
                        "method_label": "Crediário Boleto",
                        "method_slug": null,
                        "boleto": {
                            "id": 9,
                            "linha_digitavel": "00190000090341722699499999991179996100000010000",
                            "sequencial_code": 9999999991,
                            "nosso_numero": "00034172269999999991",
                            "codigo_barras": "00199961000000100000000003417226999999999117",
                            "due_date": "2024-01-29T03:00:00.000000Z",
                            "issue_date": "2023-07-29T03:00:00.000000Z",
                            "amount": 100,
                            "interest": null,
                            "fine": null,
                            "accept_after_due_date": null,
                            "boleto_url": "https://api.webpag.com.br/r/9501ed28-17df"
                        },
                        "notification_url": null,
                        "pix": null,
                        "installments_paid": 0,
                        "spplited": false,
                        "soft_descriptor": null,
                        "order_id": null,
                        "active": true,
                        "status": 60,
                        "status_label": "Cancelado",
                        "start_date": null,
                        "next_date": null,
                        "next_recurrence_date": null,
                        "refunds": [],
                        "created_at": "2023-07-29 21:57",
                        "paid_at": null,
                        "updated_at": "2025-10-13 06:43",
                        "receipt_pdf_path": "https://api.webpag.com.br/payments/b058cab9327727c397921a743/pdf",
                        "card_flag": null,
                        "card_flag_label": null
                    }
                },
                {
                    "id": 7,
                    "installment_plan_id": 1,
                    "payment_id": 458,
                    "code": "64c5b55a3a029",
                    "due_date": "2024-02-29 00:00:00",
                    "liquidation_date": null,
                    "payment_info": null,
                    "number": 7,
                    "amount": "100.00",
                    "status": 40,
                    "status_label": "Cancelado",
                    "payment": {
                        "id": 458,
                        "business": {
                            "id": 10,
                            "name": "Empresa deletada"
                        },
                        "payer_id": 209,
                        "card_id": null,
                        "payer": {
                            "id": 209,
                            "cpf_cnpj": "05920092700",
                            "is_business": false,
                            "email": "jefferson@ectechnologies.com.br",
                            "first_name": "Jefferson",
                            "last_name": "Souza",
                            "gender": "M",
                            "phone_number": "+55 (27) 99578-6767",
                            "birth_date": "1988-05-11",
                            "address": null,
                            "use_boleto": true,
                            "status": 10,
                            "status_label": "Ativo",
                            "created_at": "2023-07-10 21:24:48",
                            "updated_at": "2023-10-20 15:23:02"
                        },
                        "name": "7/10 - Crediário #1",
                        "amount": 10000,
                        "amount_refunded": 0,
                        "fee_value": null,
                        "refunded_fee": 0,
                        "installments": 1,
                        "is_recurrent": false,
                        "recurrence_code": null,
                        "frequency": null,
                        "method": 50,
                        "method_label": "Crediário Boleto",
                        "method_slug": null,
                        "boleto": {
                            "id": 10,
                            "linha_digitavel": "00190000090341722699499999990171196410000010000",
                            "sequencial_code": 9999999990,
                            "nosso_numero": "00034172269999999990",
                            "codigo_barras": "00191964100000100000000003417226999999999017",
                            "due_date": "2024-02-29T03:00:00.000000Z",
                            "issue_date": "2023-07-29T03:00:00.000000Z",
                            "amount": 100,
                            "interest": null,
                            "fine": null,
                            "accept_after_due_date": null,
                            "boleto_url": "https://api.webpag.com.br/r/97915983-5822"
                        },
                        "notification_url": null,
                        "pix": null,
                        "installments_paid": 0,
                        "spplited": false,
                        "soft_descriptor": null,
                        "order_id": null,
                        "active": true,
                        "status": 60,
                        "status_label": "Cancelado",
                        "start_date": null,
                        "next_date": null,
                        "next_recurrence_date": null,
                        "refunds": [],
                        "created_at": "2023-07-29 21:57",
                        "paid_at": null,
                        "updated_at": "2025-10-13 06:43",
                        "receipt_pdf_path": "https://api.webpag.com.br/payments/7fa920445ed2a3846c06af665/pdf",
                        "card_flag": null,
                        "card_flag_label": null
                    }
                },
                {
                    "id": 8,
                    "installment_plan_id": 1,
                    "payment_id": 459,
                    "code": "64c5b55a3b2b9",
                    "due_date": "2024-03-29 00:00:00",
                    "liquidation_date": null,
                    "payment_info": null,
                    "number": 8,
                    "amount": "100.00",
                    "status": 40,
                    "status_label": "Cancelado",
                    "payment": {
                        "id": 459,
                        "business": {
                            "id": 10,
                            "name": "Empresa deletada"
                        },
                        "payer_id": 209,
                        "card_id": null,
                        "payer": {
                            "id": 209,
                            "cpf_cnpj": "05920092700",
                            "is_business": false,
                            "email": "jefferson@ectechnologies.com.br",
                            "first_name": "Jefferson",
                            "last_name": "Souza",
                            "gender": "M",
                            "phone_number": "+55 (27) 99578-6767",
                            "birth_date": "1988-05-11",
                            "address": null,
                            "use_boleto": true,
                            "status": 10,
                            "status_label": "Ativo",
                            "created_at": "2023-07-10 21:24:48",
                            "updated_at": "2023-10-20 15:23:02"
                        },
                        "name": "8/10 - Crediário #1",
                        "amount": 10000,
                        "amount_refunded": 0,
                        "fee_value": null,
                        "refunded_fee": 0,
                        "installments": 1,
                        "is_recurrent": false,
                        "recurrence_code": null,
                        "frequency": null,
                        "method": 50,
                        "method_label": "Crediário Boleto",
                        "method_slug": null,
                        "boleto": {
                            "id": 11,
                            "linha_digitavel": "00190000090341722699499999989173196700000010000",
                            "sequencial_code": 9999999989,
                            "nosso_numero": "00034172269999999989",
                            "codigo_barras": "00191967000000100000000003417226999999998917",
                            "due_date": "2024-03-29T03:00:00.000000Z",
                            "issue_date": "2023-07-29T03:00:00.000000Z",
                            "amount": 100,
                            "interest": null,
                            "fine": null,
                            "accept_after_due_date": null,
                            "boleto_url": "https://api.webpag.com.br/r/42b79469-f29a"
                        },
                        "notification_url": null,
                        "pix": null,
                        "installments_paid": 0,
                        "spplited": false,
                        "soft_descriptor": null,
                        "order_id": null,
                        "active": true,
                        "status": 60,
                        "status_label": "Cancelado",
                        "start_date": null,
                        "next_date": null,
                        "next_recurrence_date": null,
                        "refunds": [],
                        "created_at": "2023-07-29 21:57",
                        "paid_at": null,
                        "updated_at": "2025-10-13 06:43",
                        "receipt_pdf_path": "https://api.webpag.com.br/payments/56fca9d74f377a6f148db3dcf/pdf",
                        "card_flag": null,
                        "card_flag_label": null
                    }
                },
                {
                    "id": 9,
                    "installment_plan_id": 1,
                    "payment_id": 460,
                    "code": "64c5b55a3c463",
                    "due_date": "2024-04-29 00:00:00",
                    "liquidation_date": null,
                    "payment_info": null,
                    "number": 9,
                    "amount": "100.00",
                    "status": 40,
                    "status_label": "Cancelado",
                    "payment": {
                        "id": 460,
                        "business": {
                            "id": 10,
                            "name": "Empresa deletada"
                        },
                        "payer_id": 209,
                        "card_id": null,
                        "payer": {
                            "id": 209,
                            "cpf_cnpj": "05920092700",
                            "is_business": false,
                            "email": "jefferson@ectechnologies.com.br",
                            "first_name": "Jefferson",
                            "last_name": "Souza",
                            "gender": "M",
                            "phone_number": "+55 (27) 99578-6767",
                            "birth_date": "1988-05-11",
                            "address": null,
                            "use_boleto": true,
                            "status": 10,
                            "status_label": "Ativo",
                            "created_at": "2023-07-10 21:24:48",
                            "updated_at": "2023-10-20 15:23:02"
                        },
                        "name": "9/10 - Crediário #1",
                        "amount": 10000,
                        "amount_refunded": 0,
                        "fee_value": null,
                        "refunded_fee": 0,
                        "installments": 1,
                        "is_recurrent": false,
                        "recurrence_code": null,
                        "frequency": null,
                        "method": 50,
                        "method_label": "Crediário Boleto",
                        "method_slug": null,
                        "boleto": {
                            "id": 12,
                            "linha_digitavel": "00190000090341722699499999988175297010000010000",
                            "sequencial_code": 9999999988,
                            "nosso_numero": "00034172269999999988",
                            "codigo_barras": "00192970100000100000000003417226999999998817",
                            "due_date": "2024-04-29T03:00:00.000000Z",
                            "issue_date": "2023-07-29T03:00:00.000000Z",
                            "amount": 100,
                            "interest": null,
                            "fine": null,
                            "accept_after_due_date": null,
                            "boleto_url": "https://api.webpag.com.br/r/2046481d-165f"
                        },
                        "notification_url": null,
                        "pix": null,
                        "installments_paid": 0,
                        "spplited": false,
                        "soft_descriptor": null,
                        "order_id": null,
                        "active": true,
                        "status": 60,
                        "status_label": "Cancelado",
                        "start_date": null,
                        "next_date": null,
                        "next_recurrence_date": null,
                        "refunds": [],
                        "created_at": "2023-07-29 21:57",
                        "paid_at": null,
                        "updated_at": "2025-10-13 06:43",
                        "receipt_pdf_path": "https://api.webpag.com.br/payments/0577bbc9ae8d32f9280e3f4d3/pdf",
                        "card_flag": null,
                        "card_flag_label": null
                    }
                },
                {
                    "id": 10,
                    "installment_plan_id": 1,
                    "payment_id": 461,
                    "code": "64c5b55a3d787",
                    "due_date": "2024-05-29 00:00:00",
                    "liquidation_date": null,
                    "payment_info": null,
                    "number": 10,
                    "amount": "100.00",
                    "status": 40,
                    "status_label": "Cancelado",
                    "payment": {
                        "id": 461,
                        "business": {
                            "id": 10,
                            "name": "Empresa deletada"
                        },
                        "payer_id": 209,
                        "card_id": null,
                        "payer": {
                            "id": 209,
                            "cpf_cnpj": "05920092700",
                            "is_business": false,
                            "email": "jefferson@ectechnologies.com.br",
                            "first_name": "Jefferson",
                            "last_name": "Souza",
                            "gender": "M",
                            "phone_number": "+55 (27) 99578-6767",
                            "birth_date": "1988-05-11",
                            "address": null,
                            "use_boleto": true,
                            "status": 10,
                            "status_label": "Ativo",
                            "created_at": "2023-07-10 21:24:48",
                            "updated_at": "2023-10-20 15:23:02"
                        },
                        "name": "10/10 - Crediário #1",
                        "amount": 10000,
                        "amount_refunded": 0,
                        "fee_value": null,
                        "refunded_fee": 0,
                        "installments": 1,
                        "is_recurrent": false,
                        "recurrence_code": null,
                        "frequency": null,
                        "method": 50,
                        "method_label": "Crediário Boleto",
                        "method_slug": null,
                        "boleto": {
                            "id": 13,
                            "linha_digitavel": "00190000090341722699499999987177197310000010000",
                            "sequencial_code": 9999999987,
                            "nosso_numero": "00034172269999999987",
                            "codigo_barras": "00191973100000100000000003417226999999998717",
                            "due_date": "2024-05-29T03:00:00.000000Z",
                            "issue_date": "2023-07-29T03:00:00.000000Z",
                            "amount": 100,
                            "interest": null,
                            "fine": null,
                            "accept_after_due_date": null,
                            "boleto_url": "https://api.webpag.com.br/r/c2f602fe-4a15"
                        },
                        "notification_url": null,
                        "pix": null,
                        "installments_paid": 0,
                        "spplited": false,
                        "soft_descriptor": null,
                        "order_id": null,
                        "active": true,
                        "status": 60,
                        "status_label": "Cancelado",
                        "start_date": null,
                        "next_date": null,
                        "next_recurrence_date": null,
                        "refunds": [],
                        "created_at": "2023-07-29 21:57",
                        "paid_at": null,
                        "updated_at": "2025-10-13 06:43",
                        "receipt_pdf_path": "https://api.webpag.com.br/payments/4dd4462d29799375f740c06e5/pdf",
                        "card_flag": null,
                        "card_flag_label": null
                    }
                }
            ]
        },
        {
            "id": 1,
            "name": "Crediário do(a) Jefferson Souza",
            "business_id": 10,
            "payer_id": 209,
            "number_installments": 10,
            "amount_original": "1000.00",
            "first_date": "2023-08-29 00:00:00",
            "type": 10,
            "type_label": "Boleto",
            "status": 10,
            "status_label": "Ativo",
            "accept_after_due_date": null,
            "created_at": "2023-07-29 21:56:58",
            "updated_at": "2023-07-29 21:56:58",
            "payer": {
                "id": 209,
                "cpf_cnpj": "05920092700",
                "is_business": false,
                "email": "jefferson@ectechnologies.com.br",
                "first_name": "Jefferson",
                "last_name": "Souza",
                "gender": "M",
                "phone_number": "+55 (27) 99578-6767",
                "birth_date": "1988-05-11",
                "address": null,
                "use_boleto": true,
                "status": 10,
                "status_label": "Ativo",
                "created_at": "2023-07-10 21:24:48",
                "updated_at": "2023-10-20 15:23:02"
            },
            "installments": [
                {
                    "id": 1,
                    "installment_plan_id": 1,
                    "payment_id": 452,
                    "code": "64c5b55a31417",
                    "due_date": "2023-08-29 00:00:00",
                    "liquidation_date": null,
                    "payment_info": null,
                    "number": 1,
                    "amount": "100.00",
                    "status": 40,
                    "status_label": "Cancelado",
                    "payment": {
                        "id": 452,
                        "business": {
                            "id": 10,
                            "name": "Empresa deletada"
                        },
                        "payer_id": 209,
                        "card_id": null,
                        "payer": {
                            "id": 209,
                            "cpf_cnpj": "05920092700",
                            "is_business": false,
                            "email": "jefferson@ectechnologies.com.br",
                            "first_name": "Jefferson",
                            "last_name": "Souza",
                            "gender": "M",
                            "phone_number": "+55 (27) 99578-6767",
                            "birth_date": "1988-05-11",
                            "address": null,
                            "use_boleto": true,
                            "status": 10,
                            "status_label": "Ativo",
                            "created_at": "2023-07-10 21:24:48",
                            "updated_at": "2023-10-20 15:23:02"
                        },
                        "name": "1/10 - Crediário #1",
                        "amount": 10000,
                        "amount_refunded": 0,
                        "fee_value": null,
                        "refunded_fee": 0,
                        "installments": 1,
                        "is_recurrent": false,
                        "recurrence_code": null,
                        "frequency": null,
                        "method": 50,
                        "method_label": "Crediário Boleto",
                        "method_slug": null,
                        "boleto": {
                            "id": 4,
                            "linha_digitavel": "00190000090341722699499999996178194570000010000",
                            "sequencial_code": 9999999996,
                            "nosso_numero": "00034172269999999996",
                            "codigo_barras": "00191945700000100000000003417226999999999617",
                            "due_date": "2023-08-29T03:00:00.000000Z",
                            "issue_date": "2023-07-29T03:00:00.000000Z",
                            "amount": 100,
                            "interest": null,
                            "fine": null,
                            "accept_after_due_date": null,
                            "boleto_url": "https://api.webpag.com.br/r/dedf6e7b-950b"
                        },
                        "notification_url": null,
                        "pix": null,
                        "installments_paid": 0,
                        "spplited": false,
                        "soft_descriptor": null,
                        "order_id": null,
                        "active": true,
                        "status": 60,
                        "status_label": "Cancelado",
                        "start_date": null,
                        "next_date": null,
                        "next_recurrence_date": null,
                        "refunds": [],
                        "created_at": "2023-07-29 21:56",
                        "paid_at": null,
                        "updated_at": "2025-10-13 06:43",
                        "receipt_pdf_path": "https://api.webpag.com.br/payments/69fdba13f6f8a577c8ebe21d6/pdf",
                        "card_flag": null,
                        "card_flag_label": null
                    }
                },
                {
                    "id": 2,
                    "installment_plan_id": 1,
                    "payment_id": 453,
                    "code": "64c5b55a32915",
                    "due_date": "2023-09-29 00:00:00",
                    "liquidation_date": null,
                    "payment_info": null,
                    "number": 2,
                    "amount": "100.00",
                    "status": 40,
                    "status_label": "Cancelado",
                    "payment": {
                        "id": 453,
                        "business": {
                            "id": 10,
                            "name": "Empresa deletada"
                        },
                        "payer_id": 209,
                        "card_id": null,
                        "payer": {
                            "id": 209,
                            "cpf_cnpj": "05920092700",
                            "is_business": false,
                            "email": "jefferson@ectechnologies.com.br",
                            "first_name": "Jefferson",
                            "last_name": "Souza",
                            "gender": "M",
                            "phone_number": "+55 (27) 99578-6767",
                            "birth_date": "1988-05-11",
                            "address": null,
                            "use_boleto": true,
                            "status": 10,
                            "status_label": "Ativo",
                            "created_at": "2023-07-10 21:24:48",
                            "updated_at": "2023-10-20 15:23:02"
                        },
                        "name": "2/10 - Crediário #1",
                        "amount": 10000,
                        "amount_refunded": 0,
                        "fee_value": null,
                        "refunded_fee": 0,
                        "installments": 1,
                        "is_recurrent": false,
                        "recurrence_code": null,
                        "frequency": null,
                        "method": 50,
                        "method_label": "Crediário Boleto",
                        "method_slug": null,
                        "boleto": {
                            "id": 5,
                            "linha_digitavel": "00190000090341722699499999995170294880000010000",
                            "sequencial_code": 9999999995,
                            "nosso_numero": "00034172269999999995",
                            "codigo_barras": "00192948800000100000000003417226999999999517",
                            "due_date": "2023-09-29T03:00:00.000000Z",
                            "issue_date": "2023-07-29T03:00:00.000000Z",
                            "amount": 100,
                            "interest": null,
                            "fine": null,
                            "accept_after_due_date": null,
                            "boleto_url": "https://api.webpag.com.br/r/97489a4a-73b9"
                        },
                        "notification_url": null,
                        "pix": null,
                        "installments_paid": 0,
                        "spplited": false,
                        "soft_descriptor": null,
                        "order_id": null,
                        "active": true,
                        "status": 60,
                        "status_label": "Cancelado",
                        "start_date": null,
                        "next_date": null,
                        "next_recurrence_date": null,
                        "refunds": [],
                        "created_at": "2023-07-29 21:57",
                        "paid_at": null,
                        "updated_at": "2025-10-13 06:43",
                        "receipt_pdf_path": "https://api.webpag.com.br/payments/a53782e2d80f8b5c982716d1f/pdf",
                        "card_flag": null,
                        "card_flag_label": null
                    }
                },
                {
                    "id": 3,
                    "installment_plan_id": 1,
                    "payment_id": 454,
                    "code": "64c5b55a33b18",
                    "due_date": "2023-10-29 00:00:00",
                    "liquidation_date": null,
                    "payment_info": null,
                    "number": 3,
                    "amount": "100.00",
                    "status": 40,
                    "status_label": "Cancelado",
                    "payment": {
                        "id": 454,
                        "business": {
                            "id": 10,
                            "name": "Empresa deletada"
                        },
                        "payer_id": 209,
                        "card_id": null,
                        "payer": {
                            "id": 209,
                            "cpf_cnpj": "05920092700",
                            "is_business": false,
                            "email": "jefferson@ectechnologies.com.br",
                            "first_name": "Jefferson",
                            "last_name": "Souza",
                            "gender": "M",
                            "phone_number": "+55 (27) 99578-6767",
                            "birth_date": "1988-05-11",
                            "address": null,
                            "use_boleto": true,
                            "status": 10,
                            "status_label": "Ativo",
                            "created_at": "2023-07-10 21:24:48",
                            "updated_at": "2023-10-20 15:23:02"
                        },
                        "name": "3/10 - Crediário #1",
                        "amount": 10000,
                        "amount_refunded": 0,
                        "fee_value": null,
                        "refunded_fee": 0,
                        "installments": 1,
                        "is_recurrent": false,
                        "recurrence_code": null,
                        "frequency": null,
                        "method": 50,
                        "method_label": "Crediário Boleto",
                        "method_slug": null,
                        "boleto": {
                            "id": 6,
                            "linha_digitavel": "00190000090341722699499999994173895180000010000",
                            "sequencial_code": 9999999994,
                            "nosso_numero": "00034172269999999994",
                            "codigo_barras": "00198951800000100000000003417226999999999417",
                            "due_date": "2023-10-29T03:00:00.000000Z",
                            "issue_date": "2023-07-29T03:00:00.000000Z",
                            "amount": 100,
                            "interest": null,
                            "fine": null,
                            "accept_after_due_date": null,
                            "boleto_url": "https://api.webpag.com.br/r/704f4ca5-f096"
                        },
                        "notification_url": null,
                        "pix": null,
                        "installments_paid": 0,
                        "spplited": false,
                        "soft_descriptor": null,
                        "order_id": null,
                        "active": true,
                        "status": 60,
                        "status_label": "Cancelado",
                        "start_date": null,
                        "next_date": null,
                        "next_recurrence_date": null,
                        "refunds": [],
                        "created_at": "2023-07-29 21:57",
                        "paid_at": null,
                        "updated_at": "2025-10-13 06:43",
                        "receipt_pdf_path": "https://api.webpag.com.br/payments/39887ec8745459963897afa7f/pdf",
                        "card_flag": null,
                        "card_flag_label": null
                    }
                },
                {
                    "id": 4,
                    "installment_plan_id": 1,
                    "payment_id": 455,
                    "code": "64c5b55a353e4",
                    "due_date": "2023-11-29 00:00:00",
                    "liquidation_date": null,
                    "payment_info": null,
                    "number": 4,
                    "amount": "100.00",
                    "status": 40,
                    "status_label": "Cancelado",
                    "payment": {
                        "id": 455,
                        "business": {
                            "id": 10,
                            "name": "Empresa deletada"
                        },
                        "payer_id": 209,
                        "card_id": null,
                        "payer": {
                            "id": 209,
                            "cpf_cnpj": "05920092700",
                            "is_business": false,
                            "email": "jefferson@ectechnologies.com.br",
                            "first_name": "Jefferson",
                            "last_name": "Souza",
                            "gender": "M",
                            "phone_number": "+55 (27) 99578-6767",
                            "birth_date": "1988-05-11",
                            "address": null,
                            "use_boleto": true,
                            "status": 10,
                            "status_label": "Ativo",
                            "created_at": "2023-07-10 21:24:48",
                            "updated_at": "2023-10-20 15:23:02"
                        },
                        "name": "4/10 - Crediário #1",
                        "amount": 10000,
                        "amount_refunded": 0,
                        "fee_value": null,
                        "refunded_fee": 0,
                        "installments": 1,
                        "is_recurrent": false,
                        "recurrence_code": null,
                        "frequency": null,
                        "method": 50,
                        "method_label": "Crediário Boleto",
                        "method_slug": null,
                        "boleto": {
                            "id": 7,
                            "linha_digitavel": "00190000090341722699499999993175195490000010000",
                            "sequencial_code": 9999999993,
                            "nosso_numero": "00034172269999999993",
                            "codigo_barras": "00191954900000100000000003417226999999999317",
                            "due_date": "2023-11-29T03:00:00.000000Z",
                            "issue_date": "2023-07-29T03:00:00.000000Z",
                            "amount": 100,
                            "interest": null,
                            "fine": null,
                            "accept_after_due_date": null,
                            "boleto_url": "https://api.webpag.com.br/r/bf3bea52-9d28"
                        },
                        "notification_url": null,
                        "pix": null,
                        "installments_paid": 0,
                        "spplited": false,
                        "soft_descriptor": null,
                        "order_id": null,
                        "active": true,
                        "status": 60,
                        "status_label": "Cancelado",
                        "start_date": null,
                        "next_date": null,
                        "next_recurrence_date": null,
                        "refunds": [],
                        "created_at": "2023-07-29 21:57",
                        "paid_at": null,
                        "updated_at": "2025-10-13 06:43",
                        "receipt_pdf_path": "https://api.webpag.com.br/payments/6eeb21929f81c90f23da423b9/pdf",
                        "card_flag": null,
                        "card_flag_label": null
                    }
                },
                {
                    "id": 5,
                    "installment_plan_id": 1,
                    "payment_id": 456,
                    "code": "64c5b55a36320",
                    "due_date": "2023-12-29 00:00:00",
                    "liquidation_date": null,
                    "payment_info": null,
                    "number": 5,
                    "amount": "100.00",
                    "status": 40,
                    "status_label": "Cancelado",
                    "payment": {
                        "id": 456,
                        "business": {
                            "id": 10,
                            "name": "Empresa deletada"
                        },
                        "payer_id": 209,
                        "card_id": null,
                        "payer": {
                            "id": 209,
                            "cpf_cnpj": "05920092700",
                            "is_business": false,
                            "email": "jefferson@ectechnologies.com.br",
                            "first_name": "Jefferson",
                            "last_name": "Souza",
                            "gender": "M",
                            "phone_number": "+55 (27) 99578-6767",
                            "birth_date": "1988-05-11",
                            "address": null,
                            "use_boleto": true,
                            "status": 10,
                            "status_label": "Ativo",
                            "created_at": "2023-07-10 21:24:48",
                            "updated_at": "2023-10-20 15:23:02"
                        },
                        "name": "5/10 - Crediário #1",
                        "amount": 10000,
                        "amount_refunded": 0,
                        "fee_value": null,
                        "refunded_fee": 0,
                        "installments": 1,
                        "is_recurrent": false,
                        "recurrence_code": null,
                        "frequency": null,
                        "method": 50,
                        "method_label": "Crediário Boleto",
                        "method_slug": null,
                        "boleto": {
                            "id": 8,
                            "linha_digitavel": "00190000090341722699499999992177895790000010000",
                            "sequencial_code": 9999999992,
                            "nosso_numero": "00034172269999999992",
                            "codigo_barras": "00198957900000100000000003417226999999999217",
                            "due_date": "2023-12-29T03:00:00.000000Z",
                            "issue_date": "2023-07-29T03:00:00.000000Z",
                            "amount": 100,
                            "interest": null,
                            "fine": null,
                            "accept_after_due_date": null,
                            "boleto_url": "https://api.webpag.com.br/r/69e845ec-39f4"
                        },
                        "notification_url": null,
                        "pix": null,
                        "installments_paid": 0,
                        "spplited": false,
                        "soft_descriptor": null,
                        "order_id": null,
                        "active": true,
                        "status": 60,
                        "status_label": "Cancelado",
                        "start_date": null,
                        "next_date": null,
                        "next_recurrence_date": null,
                        "refunds": [],
                        "created_at": "2023-07-29 21:57",
                        "paid_at": null,
                        "updated_at": "2025-10-13 06:43",
                        "receipt_pdf_path": "https://api.webpag.com.br/payments/6633ac8ea9615b48e5336f0c9/pdf",
                        "card_flag": null,
                        "card_flag_label": null
                    }
                },
                {
                    "id": 6,
                    "installment_plan_id": 1,
                    "payment_id": 457,
                    "code": "64c5b55a3733f",
                    "due_date": "2024-01-29 00:00:00",
                    "liquidation_date": null,
                    "payment_info": null,
                    "number": 6,
                    "amount": "100.00",
                    "status": 40,
                    "status_label": "Cancelado",
                    "payment": {
                        "id": 457,
                        "business": {
                            "id": 10,
                            "name": "Empresa deletada"
                        },
                        "payer_id": 209,
                        "card_id": null,
                        "payer": {
                            "id": 209,
                            "cpf_cnpj": "05920092700",
                            "is_business": false,
                            "email": "jefferson@ectechnologies.com.br",
                            "first_name": "Jefferson",
                            "last_name": "Souza",
                            "gender": "M",
                            "phone_number": "+55 (27) 99578-6767",
                            "birth_date": "1988-05-11",
                            "address": null,
                            "use_boleto": true,
                            "status": 10,
                            "status_label": "Ativo",
                            "created_at": "2023-07-10 21:24:48",
                            "updated_at": "2023-10-20 15:23:02"
                        },
                        "name": "6/10 - Crediário #1",
                        "amount": 10000,
                        "amount_refunded": 0,
                        "fee_value": null,
                        "refunded_fee": 0,
                        "installments": 1,
                        "is_recurrent": false,
                        "recurrence_code": null,
                        "frequency": null,
                        "method": 50,
                        "method_label": "Crediário Boleto",
                        "method_slug": null,
                        "boleto": {
                            "id": 9,
                            "linha_digitavel": "00190000090341722699499999991179996100000010000",
                            "sequencial_code": 9999999991,
                            "nosso_numero": "00034172269999999991",
                            "codigo_barras": "00199961000000100000000003417226999999999117",
                            "due_date": "2024-01-29T03:00:00.000000Z",
                            "issue_date": "2023-07-29T03:00:00.000000Z",
                            "amount": 100,
                            "interest": null,
                            "fine": null,
                            "accept_after_due_date": null,
                            "boleto_url": "https://api.webpag.com.br/r/9501ed28-17df"
                        },
                        "notification_url": null,
                        "pix": null,
                        "installments_paid": 0,
                        "spplited": false,
                        "soft_descriptor": null,
                        "order_id": null,
                        "active": true,
                        "status": 60,
                        "status_label": "Cancelado",
                        "start_date": null,
                        "next_date": null,
                        "next_recurrence_date": null,
                        "refunds": [],
                        "created_at": "2023-07-29 21:57",
                        "paid_at": null,
                        "updated_at": "2025-10-13 06:43",
                        "receipt_pdf_path": "https://api.webpag.com.br/payments/b058cab9327727c397921a743/pdf",
                        "card_flag": null,
                        "card_flag_label": null
                    }
                },
                {
                    "id": 7,
                    "installment_plan_id": 1,
                    "payment_id": 458,
                    "code": "64c5b55a3a029",
                    "due_date": "2024-02-29 00:00:00",
                    "liquidation_date": null,
                    "payment_info": null,
                    "number": 7,
                    "amount": "100.00",
                    "status": 40,
                    "status_label": "Cancelado",
                    "payment": {
                        "id": 458,
                        "business": {
                            "id": 10,
                            "name": "Empresa deletada"
                        },
                        "payer_id": 209,
                        "card_id": null,
                        "payer": {
                            "id": 209,
                            "cpf_cnpj": "05920092700",
                            "is_business": false,
                            "email": "jefferson@ectechnologies.com.br",
                            "first_name": "Jefferson",
                            "last_name": "Souza",
                            "gender": "M",
                            "phone_number": "+55 (27) 99578-6767",
                            "birth_date": "1988-05-11",
                            "address": null,
                            "use_boleto": true,
                            "status": 10,
                            "status_label": "Ativo",
                            "created_at": "2023-07-10 21:24:48",
                            "updated_at": "2023-10-20 15:23:02"
                        },
                        "name": "7/10 - Crediário #1",
                        "amount": 10000,
                        "amount_refunded": 0,
                        "fee_value": null,
                        "refunded_fee": 0,
                        "installments": 1,
                        "is_recurrent": false,
                        "recurrence_code": null,
                        "frequency": null,
                        "method": 50,
                        "method_label": "Crediário Boleto",
                        "method_slug": null,
                        "boleto": {
                            "id": 10,
                            "linha_digitavel": "00190000090341722699499999990171196410000010000",
                            "sequencial_code": 9999999990,
                            "nosso_numero": "00034172269999999990",
                            "codigo_barras": "00191964100000100000000003417226999999999017",
                            "due_date": "2024-02-29T03:00:00.000000Z",
                            "issue_date": "2023-07-29T03:00:00.000000Z",
                            "amount": 100,
                            "interest": null,
                            "fine": null,
                            "accept_after_due_date": null,
                            "boleto_url": "https://api.webpag.com.br/r/97915983-5822"
                        },
                        "notification_url": null,
                        "pix": null,
                        "installments_paid": 0,
                        "spplited": false,
                        "soft_descriptor": null,
                        "order_id": null,
                        "active": true,
                        "status": 60,
                        "status_label": "Cancelado",
                        "start_date": null,
                        "next_date": null,
                        "next_recurrence_date": null,
                        "refunds": [],
                        "created_at": "2023-07-29 21:57",
                        "paid_at": null,
                        "updated_at": "2025-10-13 06:43",
                        "receipt_pdf_path": "https://api.webpag.com.br/payments/7fa920445ed2a3846c06af665/pdf",
                        "card_flag": null,
                        "card_flag_label": null
                    }
                },
                {
                    "id": 8,
                    "installment_plan_id": 1,
                    "payment_id": 459,
                    "code": "64c5b55a3b2b9",
                    "due_date": "2024-03-29 00:00:00",
                    "liquidation_date": null,
                    "payment_info": null,
                    "number": 8,
                    "amount": "100.00",
                    "status": 40,
                    "status_label": "Cancelado",
                    "payment": {
                        "id": 459,
                        "business": {
                            "id": 10,
                            "name": "Empresa deletada"
                        },
                        "payer_id": 209,
                        "card_id": null,
                        "payer": {
                            "id": 209,
                            "cpf_cnpj": "05920092700",
                            "is_business": false,
                            "email": "jefferson@ectechnologies.com.br",
                            "first_name": "Jefferson",
                            "last_name": "Souza",
                            "gender": "M",
                            "phone_number": "+55 (27) 99578-6767",
                            "birth_date": "1988-05-11",
                            "address": null,
                            "use_boleto": true,
                            "status": 10,
                            "status_label": "Ativo",
                            "created_at": "2023-07-10 21:24:48",
                            "updated_at": "2023-10-20 15:23:02"
                        },
                        "name": "8/10 - Crediário #1",
                        "amount": 10000,
                        "amount_refunded": 0,
                        "fee_value": null,
                        "refunded_fee": 0,
                        "installments": 1,
                        "is_recurrent": false,
                        "recurrence_code": null,
                        "frequency": null,
                        "method": 50,
                        "method_label": "Crediário Boleto",
                        "method_slug": null,
                        "boleto": {
                            "id": 11,
                            "linha_digitavel": "00190000090341722699499999989173196700000010000",
                            "sequencial_code": 9999999989,
                            "nosso_numero": "00034172269999999989",
                            "codigo_barras": "00191967000000100000000003417226999999998917",
                            "due_date": "2024-03-29T03:00:00.000000Z",
                            "issue_date": "2023-07-29T03:00:00.000000Z",
                            "amount": 100,
                            "interest": null,
                            "fine": null,
                            "accept_after_due_date": null,
                            "boleto_url": "https://api.webpag.com.br/r/42b79469-f29a"
                        },
                        "notification_url": null,
                        "pix": null,
                        "installments_paid": 0,
                        "spplited": false,
                        "soft_descriptor": null,
                        "order_id": null,
                        "active": true,
                        "status": 60,
                        "status_label": "Cancelado",
                        "start_date": null,
                        "next_date": null,
                        "next_recurrence_date": null,
                        "refunds": [],
                        "created_at": "2023-07-29 21:57",
                        "paid_at": null,
                        "updated_at": "2025-10-13 06:43",
                        "receipt_pdf_path": "https://api.webpag.com.br/payments/56fca9d74f377a6f148db3dcf/pdf",
                        "card_flag": null,
                        "card_flag_label": null
                    }
                },
                {
                    "id": 9,
                    "installment_plan_id": 1,
                    "payment_id": 460,
                    "code": "64c5b55a3c463",
                    "due_date": "2024-04-29 00:00:00",
                    "liquidation_date": null,
                    "payment_info": null,
                    "number": 9,
                    "amount": "100.00",
                    "status": 40,
                    "status_label": "Cancelado",
                    "payment": {
                        "id": 460,
                        "business": {
                            "id": 10,
                            "name": "Empresa deletada"
                        },
                        "payer_id": 209,
                        "card_id": null,
                        "payer": {
                            "id": 209,
                            "cpf_cnpj": "05920092700",
                            "is_business": false,
                            "email": "jefferson@ectechnologies.com.br",
                            "first_name": "Jefferson",
                            "last_name": "Souza",
                            "gender": "M",
                            "phone_number": "+55 (27) 99578-6767",
                            "birth_date": "1988-05-11",
                            "address": null,
                            "use_boleto": true,
                            "status": 10,
                            "status_label": "Ativo",
                            "created_at": "2023-07-10 21:24:48",
                            "updated_at": "2023-10-20 15:23:02"
                        },
                        "name": "9/10 - Crediário #1",
                        "amount": 10000,
                        "amount_refunded": 0,
                        "fee_value": null,
                        "refunded_fee": 0,
                        "installments": 1,
                        "is_recurrent": false,
                        "recurrence_code": null,
                        "frequency": null,
                        "method": 50,
                        "method_label": "Crediário Boleto",
                        "method_slug": null,
                        "boleto": {
                            "id": 12,
                            "linha_digitavel": "00190000090341722699499999988175297010000010000",
                            "sequencial_code": 9999999988,
                            "nosso_numero": "00034172269999999988",
                            "codigo_barras": "00192970100000100000000003417226999999998817",
                            "due_date": "2024-04-29T03:00:00.000000Z",
                            "issue_date": "2023-07-29T03:00:00.000000Z",
                            "amount": 100,
                            "interest": null,
                            "fine": null,
                            "accept_after_due_date": null,
                            "boleto_url": "https://api.webpag.com.br/r/2046481d-165f"
                        },
                        "notification_url": null,
                        "pix": null,
                        "installments_paid": 0,
                        "spplited": false,
                        "soft_descriptor": null,
                        "order_id": null,
                        "active": true,
                        "status": 60,
                        "status_label": "Cancelado",
                        "start_date": null,
                        "next_date": null,
                        "next_recurrence_date": null,
                        "refunds": [],
                        "created_at": "2023-07-29 21:57",
                        "paid_at": null,
                        "updated_at": "2025-10-13 06:43",
                        "receipt_pdf_path": "https://api.webpag.com.br/payments/0577bbc9ae8d32f9280e3f4d3/pdf",
                        "card_flag": null,
                        "card_flag_label": null
                    }
                },
                {
                    "id": 10,
                    "installment_plan_id": 1,
                    "payment_id": 461,
                    "code": "64c5b55a3d787",
                    "due_date": "2024-05-29 00:00:00",
                    "liquidation_date": null,
                    "payment_info": null,
                    "number": 10,
                    "amount": "100.00",
                    "status": 40,
                    "status_label": "Cancelado",
                    "payment": {
                        "id": 461,
                        "business": {
                            "id": 10,
                            "name": "Empresa deletada"
                        },
                        "payer_id": 209,
                        "card_id": null,
                        "payer": {
                            "id": 209,
                            "cpf_cnpj": "05920092700",
                            "is_business": false,
                            "email": "jefferson@ectechnologies.com.br",
                            "first_name": "Jefferson",
                            "last_name": "Souza",
                            "gender": "M",
                            "phone_number": "+55 (27) 99578-6767",
                            "birth_date": "1988-05-11",
                            "address": null,
                            "use_boleto": true,
                            "status": 10,
                            "status_label": "Ativo",
                            "created_at": "2023-07-10 21:24:48",
                            "updated_at": "2023-10-20 15:23:02"
                        },
                        "name": "10/10 - Crediário #1",
                        "amount": 10000,
                        "amount_refunded": 0,
                        "fee_value": null,
                        "refunded_fee": 0,
                        "installments": 1,
                        "is_recurrent": false,
                        "recurrence_code": null,
                        "frequency": null,
                        "method": 50,
                        "method_label": "Crediário Boleto",
                        "method_slug": null,
                        "boleto": {
                            "id": 13,
                            "linha_digitavel": "00190000090341722699499999987177197310000010000",
                            "sequencial_code": 9999999987,
                            "nosso_numero": "00034172269999999987",
                            "codigo_barras": "00191973100000100000000003417226999999998717",
                            "due_date": "2024-05-29T03:00:00.000000Z",
                            "issue_date": "2023-07-29T03:00:00.000000Z",
                            "amount": 100,
                            "interest": null,
                            "fine": null,
                            "accept_after_due_date": null,
                            "boleto_url": "https://api.webpag.com.br/r/c2f602fe-4a15"
                        },
                        "notification_url": null,
                        "pix": null,
                        "installments_paid": 0,
                        "spplited": false,
                        "soft_descriptor": null,
                        "order_id": null,
                        "active": true,
                        "status": 60,
                        "status_label": "Cancelado",
                        "start_date": null,
                        "next_date": null,
                        "next_recurrence_date": null,
                        "refunds": [],
                        "created_at": "2023-07-29 21:57",
                        "paid_at": null,
                        "updated_at": "2025-10-13 06:43",
                        "receipt_pdf_path": "https://api.webpag.com.br/payments/4dd4462d29799375f740c06e5/pdf",
                        "card_flag": null,
                        "card_flag_label": null
                    }
                }
            ]
        }
    ]
}
 

Requisição   

GET api/installments

Cabeçalhos

auth-token      

Example: {CHAVE_API}

Content-Type      

Example: application/json

Accept      

Example: application/json

Parâmetros de Consulta

payer_id   integer  optional  

O ID do pagador. Example: 1

page   integer  optional  

O número da página. Example: 1

per_page   integer  optional  

Itens por página. Example: 15

Criar um novo crediário

requires authentication

Exemplo de Requisição:
$client = new \GuzzleHttp\Client();
$url = 'https://api.webpag.com.br/api/installments/register';
$response = $client->post(
    $url,
    [
        'headers' => [
            'auth-token' => '{CHAVE_API}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'json' => [
            'amount' => 2500,
            'first_date' => '2024-01-01',
            'number_installments' => 2,
            'payer' => 881,
            'accept_after_due_date' => true,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request POST \
    "https://api.webpag.com.br/api/installments/register" \
    --header "auth-token: {CHAVE_API}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"amount\": 2500,
    \"first_date\": \"2024-01-01\",
    \"number_installments\": 2,
    \"payer\": 881,
    \"accept_after_due_date\": true
}"

Exemplo de Resposta (200):


{
    "data": {
        "id": 1,
        "name": "Crediário do(a) Jefferson Souza",
        "business_id": 10,
        "payer_id": 209,
        "number_installments": 10,
        "amount_original": "1000.00",
        "first_date": "2023-08-29 00:00:00",
        "type": 10,
        "type_label": "Boleto",
        "status": 10,
        "status_label": "Ativo",
        "accept_after_due_date": null,
        "created_at": "2023-07-29 21:56:58",
        "updated_at": "2023-07-29 21:56:58",
        "payer": {
            "id": 209,
            "cpf_cnpj": "05920092700",
            "is_business": false,
            "email": "jefferson@ectechnologies.com.br",
            "first_name": "Jefferson",
            "last_name": "Souza",
            "gender": "M",
            "phone_number": "+55 (27) 99578-6767",
            "birth_date": "1988-05-11",
            "address": null,
            "use_boleto": true,
            "status": 10,
            "status_label": "Ativo",
            "created_at": "2023-07-10 21:24:48",
            "updated_at": "2023-10-20 15:23:02"
        },
        "installments": [
            {
                "id": 1,
                "installment_plan_id": 1,
                "payment_id": 452,
                "code": "64c5b55a31417",
                "due_date": "2023-08-29 00:00:00",
                "liquidation_date": null,
                "payment_info": null,
                "number": 1,
                "amount": "100.00",
                "status": 40,
                "status_label": "Cancelado",
                "payment": {
                    "id": 452,
                    "business": {
                        "id": 10,
                        "name": "Empresa deletada"
                    },
                    "payer_id": 209,
                    "card_id": null,
                    "payer": {
                        "id": 209,
                        "cpf_cnpj": "05920092700",
                        "is_business": false,
                        "email": "jefferson@ectechnologies.com.br",
                        "first_name": "Jefferson",
                        "last_name": "Souza",
                        "gender": "M",
                        "phone_number": "+55 (27) 99578-6767",
                        "birth_date": "1988-05-11",
                        "address": null,
                        "use_boleto": true,
                        "status": 10,
                        "status_label": "Ativo",
                        "created_at": "2023-07-10 21:24:48",
                        "updated_at": "2023-10-20 15:23:02"
                    },
                    "name": "1/10 - Crediário #1",
                    "amount": 10000,
                    "amount_refunded": 0,
                    "fee_value": null,
                    "refunded_fee": 0,
                    "installments": 1,
                    "is_recurrent": false,
                    "recurrence_code": null,
                    "frequency": null,
                    "method": 50,
                    "method_label": "Crediário Boleto",
                    "method_slug": null,
                    "boleto": {
                        "id": 4,
                        "linha_digitavel": "00190000090341722699499999996178194570000010000",
                        "sequencial_code": 9999999996,
                        "nosso_numero": "00034172269999999996",
                        "codigo_barras": "00191945700000100000000003417226999999999617",
                        "due_date": "2023-08-29T03:00:00.000000Z",
                        "issue_date": "2023-07-29T03:00:00.000000Z",
                        "amount": 100,
                        "interest": null,
                        "fine": null,
                        "accept_after_due_date": null,
                        "boleto_url": "https://api.webpag.com.br/r/dedf6e7b-950b"
                    },
                    "notification_url": null,
                    "pix": null,
                    "installments_paid": 0,
                    "spplited": false,
                    "soft_descriptor": null,
                    "order_id": null,
                    "active": true,
                    "status": 60,
                    "status_label": "Cancelado",
                    "start_date": null,
                    "next_date": null,
                    "next_recurrence_date": null,
                    "refunds": [],
                    "created_at": "2023-07-29 21:56",
                    "paid_at": null,
                    "updated_at": "2025-10-13 06:43",
                    "receipt_pdf_path": "https://api.webpag.com.br/payments/69fdba13f6f8a577c8ebe21d6/pdf",
                    "card_flag": null,
                    "card_flag_label": null
                }
            },
            {
                "id": 2,
                "installment_plan_id": 1,
                "payment_id": 453,
                "code": "64c5b55a32915",
                "due_date": "2023-09-29 00:00:00",
                "liquidation_date": null,
                "payment_info": null,
                "number": 2,
                "amount": "100.00",
                "status": 40,
                "status_label": "Cancelado",
                "payment": {
                    "id": 453,
                    "business": {
                        "id": 10,
                        "name": "Empresa deletada"
                    },
                    "payer_id": 209,
                    "card_id": null,
                    "payer": {
                        "id": 209,
                        "cpf_cnpj": "05920092700",
                        "is_business": false,
                        "email": "jefferson@ectechnologies.com.br",
                        "first_name": "Jefferson",
                        "last_name": "Souza",
                        "gender": "M",
                        "phone_number": "+55 (27) 99578-6767",
                        "birth_date": "1988-05-11",
                        "address": null,
                        "use_boleto": true,
                        "status": 10,
                        "status_label": "Ativo",
                        "created_at": "2023-07-10 21:24:48",
                        "updated_at": "2023-10-20 15:23:02"
                    },
                    "name": "2/10 - Crediário #1",
                    "amount": 10000,
                    "amount_refunded": 0,
                    "fee_value": null,
                    "refunded_fee": 0,
                    "installments": 1,
                    "is_recurrent": false,
                    "recurrence_code": null,
                    "frequency": null,
                    "method": 50,
                    "method_label": "Crediário Boleto",
                    "method_slug": null,
                    "boleto": {
                        "id": 5,
                        "linha_digitavel": "00190000090341722699499999995170294880000010000",
                        "sequencial_code": 9999999995,
                        "nosso_numero": "00034172269999999995",
                        "codigo_barras": "00192948800000100000000003417226999999999517",
                        "due_date": "2023-09-29T03:00:00.000000Z",
                        "issue_date": "2023-07-29T03:00:00.000000Z",
                        "amount": 100,
                        "interest": null,
                        "fine": null,
                        "accept_after_due_date": null,
                        "boleto_url": "https://api.webpag.com.br/r/97489a4a-73b9"
                    },
                    "notification_url": null,
                    "pix": null,
                    "installments_paid": 0,
                    "spplited": false,
                    "soft_descriptor": null,
                    "order_id": null,
                    "active": true,
                    "status": 60,
                    "status_label": "Cancelado",
                    "start_date": null,
                    "next_date": null,
                    "next_recurrence_date": null,
                    "refunds": [],
                    "created_at": "2023-07-29 21:57",
                    "paid_at": null,
                    "updated_at": "2025-10-13 06:43",
                    "receipt_pdf_path": "https://api.webpag.com.br/payments/a53782e2d80f8b5c982716d1f/pdf",
                    "card_flag": null,
                    "card_flag_label": null
                }
            },
            {
                "id": 3,
                "installment_plan_id": 1,
                "payment_id": 454,
                "code": "64c5b55a33b18",
                "due_date": "2023-10-29 00:00:00",
                "liquidation_date": null,
                "payment_info": null,
                "number": 3,
                "amount": "100.00",
                "status": 40,
                "status_label": "Cancelado",
                "payment": {
                    "id": 454,
                    "business": {
                        "id": 10,
                        "name": "Empresa deletada"
                    },
                    "payer_id": 209,
                    "card_id": null,
                    "payer": {
                        "id": 209,
                        "cpf_cnpj": "05920092700",
                        "is_business": false,
                        "email": "jefferson@ectechnologies.com.br",
                        "first_name": "Jefferson",
                        "last_name": "Souza",
                        "gender": "M",
                        "phone_number": "+55 (27) 99578-6767",
                        "birth_date": "1988-05-11",
                        "address": null,
                        "use_boleto": true,
                        "status": 10,
                        "status_label": "Ativo",
                        "created_at": "2023-07-10 21:24:48",
                        "updated_at": "2023-10-20 15:23:02"
                    },
                    "name": "3/10 - Crediário #1",
                    "amount": 10000,
                    "amount_refunded": 0,
                    "fee_value": null,
                    "refunded_fee": 0,
                    "installments": 1,
                    "is_recurrent": false,
                    "recurrence_code": null,
                    "frequency": null,
                    "method": 50,
                    "method_label": "Crediário Boleto",
                    "method_slug": null,
                    "boleto": {
                        "id": 6,
                        "linha_digitavel": "00190000090341722699499999994173895180000010000",
                        "sequencial_code": 9999999994,
                        "nosso_numero": "00034172269999999994",
                        "codigo_barras": "00198951800000100000000003417226999999999417",
                        "due_date": "2023-10-29T03:00:00.000000Z",
                        "issue_date": "2023-07-29T03:00:00.000000Z",
                        "amount": 100,
                        "interest": null,
                        "fine": null,
                        "accept_after_due_date": null,
                        "boleto_url": "https://api.webpag.com.br/r/704f4ca5-f096"
                    },
                    "notification_url": null,
                    "pix": null,
                    "installments_paid": 0,
                    "spplited": false,
                    "soft_descriptor": null,
                    "order_id": null,
                    "active": true,
                    "status": 60,
                    "status_label": "Cancelado",
                    "start_date": null,
                    "next_date": null,
                    "next_recurrence_date": null,
                    "refunds": [],
                    "created_at": "2023-07-29 21:57",
                    "paid_at": null,
                    "updated_at": "2025-10-13 06:43",
                    "receipt_pdf_path": "https://api.webpag.com.br/payments/39887ec8745459963897afa7f/pdf",
                    "card_flag": null,
                    "card_flag_label": null
                }
            },
            {
                "id": 4,
                "installment_plan_id": 1,
                "payment_id": 455,
                "code": "64c5b55a353e4",
                "due_date": "2023-11-29 00:00:00",
                "liquidation_date": null,
                "payment_info": null,
                "number": 4,
                "amount": "100.00",
                "status": 40,
                "status_label": "Cancelado",
                "payment": {
                    "id": 455,
                    "business": {
                        "id": 10,
                        "name": "Empresa deletada"
                    },
                    "payer_id": 209,
                    "card_id": null,
                    "payer": {
                        "id": 209,
                        "cpf_cnpj": "05920092700",
                        "is_business": false,
                        "email": "jefferson@ectechnologies.com.br",
                        "first_name": "Jefferson",
                        "last_name": "Souza",
                        "gender": "M",
                        "phone_number": "+55 (27) 99578-6767",
                        "birth_date": "1988-05-11",
                        "address": null,
                        "use_boleto": true,
                        "status": 10,
                        "status_label": "Ativo",
                        "created_at": "2023-07-10 21:24:48",
                        "updated_at": "2023-10-20 15:23:02"
                    },
                    "name": "4/10 - Crediário #1",
                    "amount": 10000,
                    "amount_refunded": 0,
                    "fee_value": null,
                    "refunded_fee": 0,
                    "installments": 1,
                    "is_recurrent": false,
                    "recurrence_code": null,
                    "frequency": null,
                    "method": 50,
                    "method_label": "Crediário Boleto",
                    "method_slug": null,
                    "boleto": {
                        "id": 7,
                        "linha_digitavel": "00190000090341722699499999993175195490000010000",
                        "sequencial_code": 9999999993,
                        "nosso_numero": "00034172269999999993",
                        "codigo_barras": "00191954900000100000000003417226999999999317",
                        "due_date": "2023-11-29T03:00:00.000000Z",
                        "issue_date": "2023-07-29T03:00:00.000000Z",
                        "amount": 100,
                        "interest": null,
                        "fine": null,
                        "accept_after_due_date": null,
                        "boleto_url": "https://api.webpag.com.br/r/bf3bea52-9d28"
                    },
                    "notification_url": null,
                    "pix": null,
                    "installments_paid": 0,
                    "spplited": false,
                    "soft_descriptor": null,
                    "order_id": null,
                    "active": true,
                    "status": 60,
                    "status_label": "Cancelado",
                    "start_date": null,
                    "next_date": null,
                    "next_recurrence_date": null,
                    "refunds": [],
                    "created_at": "2023-07-29 21:57",
                    "paid_at": null,
                    "updated_at": "2025-10-13 06:43",
                    "receipt_pdf_path": "https://api.webpag.com.br/payments/6eeb21929f81c90f23da423b9/pdf",
                    "card_flag": null,
                    "card_flag_label": null
                }
            },
            {
                "id": 5,
                "installment_plan_id": 1,
                "payment_id": 456,
                "code": "64c5b55a36320",
                "due_date": "2023-12-29 00:00:00",
                "liquidation_date": null,
                "payment_info": null,
                "number": 5,
                "amount": "100.00",
                "status": 40,
                "status_label": "Cancelado",
                "payment": {
                    "id": 456,
                    "business": {
                        "id": 10,
                        "name": "Empresa deletada"
                    },
                    "payer_id": 209,
                    "card_id": null,
                    "payer": {
                        "id": 209,
                        "cpf_cnpj": "05920092700",
                        "is_business": false,
                        "email": "jefferson@ectechnologies.com.br",
                        "first_name": "Jefferson",
                        "last_name": "Souza",
                        "gender": "M",
                        "phone_number": "+55 (27) 99578-6767",
                        "birth_date": "1988-05-11",
                        "address": null,
                        "use_boleto": true,
                        "status": 10,
                        "status_label": "Ativo",
                        "created_at": "2023-07-10 21:24:48",
                        "updated_at": "2023-10-20 15:23:02"
                    },
                    "name": "5/10 - Crediário #1",
                    "amount": 10000,
                    "amount_refunded": 0,
                    "fee_value": null,
                    "refunded_fee": 0,
                    "installments": 1,
                    "is_recurrent": false,
                    "recurrence_code": null,
                    "frequency": null,
                    "method": 50,
                    "method_label": "Crediário Boleto",
                    "method_slug": null,
                    "boleto": {
                        "id": 8,
                        "linha_digitavel": "00190000090341722699499999992177895790000010000",
                        "sequencial_code": 9999999992,
                        "nosso_numero": "00034172269999999992",
                        "codigo_barras": "00198957900000100000000003417226999999999217",
                        "due_date": "2023-12-29T03:00:00.000000Z",
                        "issue_date": "2023-07-29T03:00:00.000000Z",
                        "amount": 100,
                        "interest": null,
                        "fine": null,
                        "accept_after_due_date": null,
                        "boleto_url": "https://api.webpag.com.br/r/69e845ec-39f4"
                    },
                    "notification_url": null,
                    "pix": null,
                    "installments_paid": 0,
                    "spplited": false,
                    "soft_descriptor": null,
                    "order_id": null,
                    "active": true,
                    "status": 60,
                    "status_label": "Cancelado",
                    "start_date": null,
                    "next_date": null,
                    "next_recurrence_date": null,
                    "refunds": [],
                    "created_at": "2023-07-29 21:57",
                    "paid_at": null,
                    "updated_at": "2025-10-13 06:43",
                    "receipt_pdf_path": "https://api.webpag.com.br/payments/6633ac8ea9615b48e5336f0c9/pdf",
                    "card_flag": null,
                    "card_flag_label": null
                }
            },
            {
                "id": 6,
                "installment_plan_id": 1,
                "payment_id": 457,
                "code": "64c5b55a3733f",
                "due_date": "2024-01-29 00:00:00",
                "liquidation_date": null,
                "payment_info": null,
                "number": 6,
                "amount": "100.00",
                "status": 40,
                "status_label": "Cancelado",
                "payment": {
                    "id": 457,
                    "business": {
                        "id": 10,
                        "name": "Empresa deletada"
                    },
                    "payer_id": 209,
                    "card_id": null,
                    "payer": {
                        "id": 209,
                        "cpf_cnpj": "05920092700",
                        "is_business": false,
                        "email": "jefferson@ectechnologies.com.br",
                        "first_name": "Jefferson",
                        "last_name": "Souza",
                        "gender": "M",
                        "phone_number": "+55 (27) 99578-6767",
                        "birth_date": "1988-05-11",
                        "address": null,
                        "use_boleto": true,
                        "status": 10,
                        "status_label": "Ativo",
                        "created_at": "2023-07-10 21:24:48",
                        "updated_at": "2023-10-20 15:23:02"
                    },
                    "name": "6/10 - Crediário #1",
                    "amount": 10000,
                    "amount_refunded": 0,
                    "fee_value": null,
                    "refunded_fee": 0,
                    "installments": 1,
                    "is_recurrent": false,
                    "recurrence_code": null,
                    "frequency": null,
                    "method": 50,
                    "method_label": "Crediário Boleto",
                    "method_slug": null,
                    "boleto": {
                        "id": 9,
                        "linha_digitavel": "00190000090341722699499999991179996100000010000",
                        "sequencial_code": 9999999991,
                        "nosso_numero": "00034172269999999991",
                        "codigo_barras": "00199961000000100000000003417226999999999117",
                        "due_date": "2024-01-29T03:00:00.000000Z",
                        "issue_date": "2023-07-29T03:00:00.000000Z",
                        "amount": 100,
                        "interest": null,
                        "fine": null,
                        "accept_after_due_date": null,
                        "boleto_url": "https://api.webpag.com.br/r/9501ed28-17df"
                    },
                    "notification_url": null,
                    "pix": null,
                    "installments_paid": 0,
                    "spplited": false,
                    "soft_descriptor": null,
                    "order_id": null,
                    "active": true,
                    "status": 60,
                    "status_label": "Cancelado",
                    "start_date": null,
                    "next_date": null,
                    "next_recurrence_date": null,
                    "refunds": [],
                    "created_at": "2023-07-29 21:57",
                    "paid_at": null,
                    "updated_at": "2025-10-13 06:43",
                    "receipt_pdf_path": "https://api.webpag.com.br/payments/b058cab9327727c397921a743/pdf",
                    "card_flag": null,
                    "card_flag_label": null
                }
            },
            {
                "id": 7,
                "installment_plan_id": 1,
                "payment_id": 458,
                "code": "64c5b55a3a029",
                "due_date": "2024-02-29 00:00:00",
                "liquidation_date": null,
                "payment_info": null,
                "number": 7,
                "amount": "100.00",
                "status": 40,
                "status_label": "Cancelado",
                "payment": {
                    "id": 458,
                    "business": {
                        "id": 10,
                        "name": "Empresa deletada"
                    },
                    "payer_id": 209,
                    "card_id": null,
                    "payer": {
                        "id": 209,
                        "cpf_cnpj": "05920092700",
                        "is_business": false,
                        "email": "jefferson@ectechnologies.com.br",
                        "first_name": "Jefferson",
                        "last_name": "Souza",
                        "gender": "M",
                        "phone_number": "+55 (27) 99578-6767",
                        "birth_date": "1988-05-11",
                        "address": null,
                        "use_boleto": true,
                        "status": 10,
                        "status_label": "Ativo",
                        "created_at": "2023-07-10 21:24:48",
                        "updated_at": "2023-10-20 15:23:02"
                    },
                    "name": "7/10 - Crediário #1",
                    "amount": 10000,
                    "amount_refunded": 0,
                    "fee_value": null,
                    "refunded_fee": 0,
                    "installments": 1,
                    "is_recurrent": false,
                    "recurrence_code": null,
                    "frequency": null,
                    "method": 50,
                    "method_label": "Crediário Boleto",
                    "method_slug": null,
                    "boleto": {
                        "id": 10,
                        "linha_digitavel": "00190000090341722699499999990171196410000010000",
                        "sequencial_code": 9999999990,
                        "nosso_numero": "00034172269999999990",
                        "codigo_barras": "00191964100000100000000003417226999999999017",
                        "due_date": "2024-02-29T03:00:00.000000Z",
                        "issue_date": "2023-07-29T03:00:00.000000Z",
                        "amount": 100,
                        "interest": null,
                        "fine": null,
                        "accept_after_due_date": null,
                        "boleto_url": "https://api.webpag.com.br/r/97915983-5822"
                    },
                    "notification_url": null,
                    "pix": null,
                    "installments_paid": 0,
                    "spplited": false,
                    "soft_descriptor": null,
                    "order_id": null,
                    "active": true,
                    "status": 60,
                    "status_label": "Cancelado",
                    "start_date": null,
                    "next_date": null,
                    "next_recurrence_date": null,
                    "refunds": [],
                    "created_at": "2023-07-29 21:57",
                    "paid_at": null,
                    "updated_at": "2025-10-13 06:43",
                    "receipt_pdf_path": "https://api.webpag.com.br/payments/7fa920445ed2a3846c06af665/pdf",
                    "card_flag": null,
                    "card_flag_label": null
                }
            },
            {
                "id": 8,
                "installment_plan_id": 1,
                "payment_id": 459,
                "code": "64c5b55a3b2b9",
                "due_date": "2024-03-29 00:00:00",
                "liquidation_date": null,
                "payment_info": null,
                "number": 8,
                "amount": "100.00",
                "status": 40,
                "status_label": "Cancelado",
                "payment": {
                    "id": 459,
                    "business": {
                        "id": 10,
                        "name": "Empresa deletada"
                    },
                    "payer_id": 209,
                    "card_id": null,
                    "payer": {
                        "id": 209,
                        "cpf_cnpj": "05920092700",
                        "is_business": false,
                        "email": "jefferson@ectechnologies.com.br",
                        "first_name": "Jefferson",
                        "last_name": "Souza",
                        "gender": "M",
                        "phone_number": "+55 (27) 99578-6767",
                        "birth_date": "1988-05-11",
                        "address": null,
                        "use_boleto": true,
                        "status": 10,
                        "status_label": "Ativo",
                        "created_at": "2023-07-10 21:24:48",
                        "updated_at": "2023-10-20 15:23:02"
                    },
                    "name": "8/10 - Crediário #1",
                    "amount": 10000,
                    "amount_refunded": 0,
                    "fee_value": null,
                    "refunded_fee": 0,
                    "installments": 1,
                    "is_recurrent": false,
                    "recurrence_code": null,
                    "frequency": null,
                    "method": 50,
                    "method_label": "Crediário Boleto",
                    "method_slug": null,
                    "boleto": {
                        "id": 11,
                        "linha_digitavel": "00190000090341722699499999989173196700000010000",
                        "sequencial_code": 9999999989,
                        "nosso_numero": "00034172269999999989",
                        "codigo_barras": "00191967000000100000000003417226999999998917",
                        "due_date": "2024-03-29T03:00:00.000000Z",
                        "issue_date": "2023-07-29T03:00:00.000000Z",
                        "amount": 100,
                        "interest": null,
                        "fine": null,
                        "accept_after_due_date": null,
                        "boleto_url": "https://api.webpag.com.br/r/42b79469-f29a"
                    },
                    "notification_url": null,
                    "pix": null,
                    "installments_paid": 0,
                    "spplited": false,
                    "soft_descriptor": null,
                    "order_id": null,
                    "active": true,
                    "status": 60,
                    "status_label": "Cancelado",
                    "start_date": null,
                    "next_date": null,
                    "next_recurrence_date": null,
                    "refunds": [],
                    "created_at": "2023-07-29 21:57",
                    "paid_at": null,
                    "updated_at": "2025-10-13 06:43",
                    "receipt_pdf_path": "https://api.webpag.com.br/payments/56fca9d74f377a6f148db3dcf/pdf",
                    "card_flag": null,
                    "card_flag_label": null
                }
            },
            {
                "id": 9,
                "installment_plan_id": 1,
                "payment_id": 460,
                "code": "64c5b55a3c463",
                "due_date": "2024-04-29 00:00:00",
                "liquidation_date": null,
                "payment_info": null,
                "number": 9,
                "amount": "100.00",
                "status": 40,
                "status_label": "Cancelado",
                "payment": {
                    "id": 460,
                    "business": {
                        "id": 10,
                        "name": "Empresa deletada"
                    },
                    "payer_id": 209,
                    "card_id": null,
                    "payer": {
                        "id": 209,
                        "cpf_cnpj": "05920092700",
                        "is_business": false,
                        "email": "jefferson@ectechnologies.com.br",
                        "first_name": "Jefferson",
                        "last_name": "Souza",
                        "gender": "M",
                        "phone_number": "+55 (27) 99578-6767",
                        "birth_date": "1988-05-11",
                        "address": null,
                        "use_boleto": true,
                        "status": 10,
                        "status_label": "Ativo",
                        "created_at": "2023-07-10 21:24:48",
                        "updated_at": "2023-10-20 15:23:02"
                    },
                    "name": "9/10 - Crediário #1",
                    "amount": 10000,
                    "amount_refunded": 0,
                    "fee_value": null,
                    "refunded_fee": 0,
                    "installments": 1,
                    "is_recurrent": false,
                    "recurrence_code": null,
                    "frequency": null,
                    "method": 50,
                    "method_label": "Crediário Boleto",
                    "method_slug": null,
                    "boleto": {
                        "id": 12,
                        "linha_digitavel": "00190000090341722699499999988175297010000010000",
                        "sequencial_code": 9999999988,
                        "nosso_numero": "00034172269999999988",
                        "codigo_barras": "00192970100000100000000003417226999999998817",
                        "due_date": "2024-04-29T03:00:00.000000Z",
                        "issue_date": "2023-07-29T03:00:00.000000Z",
                        "amount": 100,
                        "interest": null,
                        "fine": null,
                        "accept_after_due_date": null,
                        "boleto_url": "https://api.webpag.com.br/r/2046481d-165f"
                    },
                    "notification_url": null,
                    "pix": null,
                    "installments_paid": 0,
                    "spplited": false,
                    "soft_descriptor": null,
                    "order_id": null,
                    "active": true,
                    "status": 60,
                    "status_label": "Cancelado",
                    "start_date": null,
                    "next_date": null,
                    "next_recurrence_date": null,
                    "refunds": [],
                    "created_at": "2023-07-29 21:57",
                    "paid_at": null,
                    "updated_at": "2025-10-13 06:43",
                    "receipt_pdf_path": "https://api.webpag.com.br/payments/0577bbc9ae8d32f9280e3f4d3/pdf",
                    "card_flag": null,
                    "card_flag_label": null
                }
            },
            {
                "id": 10,
                "installment_plan_id": 1,
                "payment_id": 461,
                "code": "64c5b55a3d787",
                "due_date": "2024-05-29 00:00:00",
                "liquidation_date": null,
                "payment_info": null,
                "number": 10,
                "amount": "100.00",
                "status": 40,
                "status_label": "Cancelado",
                "payment": {
                    "id": 461,
                    "business": {
                        "id": 10,
                        "name": "Empresa deletada"
                    },
                    "payer_id": 209,
                    "card_id": null,
                    "payer": {
                        "id": 209,
                        "cpf_cnpj": "05920092700",
                        "is_business": false,
                        "email": "jefferson@ectechnologies.com.br",
                        "first_name": "Jefferson",
                        "last_name": "Souza",
                        "gender": "M",
                        "phone_number": "+55 (27) 99578-6767",
                        "birth_date": "1988-05-11",
                        "address": null,
                        "use_boleto": true,
                        "status": 10,
                        "status_label": "Ativo",
                        "created_at": "2023-07-10 21:24:48",
                        "updated_at": "2023-10-20 15:23:02"
                    },
                    "name": "10/10 - Crediário #1",
                    "amount": 10000,
                    "amount_refunded": 0,
                    "fee_value": null,
                    "refunded_fee": 0,
                    "installments": 1,
                    "is_recurrent": false,
                    "recurrence_code": null,
                    "frequency": null,
                    "method": 50,
                    "method_label": "Crediário Boleto",
                    "method_slug": null,
                    "boleto": {
                        "id": 13,
                        "linha_digitavel": "00190000090341722699499999987177197310000010000",
                        "sequencial_code": 9999999987,
                        "nosso_numero": "00034172269999999987",
                        "codigo_barras": "00191973100000100000000003417226999999998717",
                        "due_date": "2024-05-29T03:00:00.000000Z",
                        "issue_date": "2023-07-29T03:00:00.000000Z",
                        "amount": 100,
                        "interest": null,
                        "fine": null,
                        "accept_after_due_date": null,
                        "boleto_url": "https://api.webpag.com.br/r/c2f602fe-4a15"
                    },
                    "notification_url": null,
                    "pix": null,
                    "installments_paid": 0,
                    "spplited": false,
                    "soft_descriptor": null,
                    "order_id": null,
                    "active": true,
                    "status": 60,
                    "status_label": "Cancelado",
                    "start_date": null,
                    "next_date": null,
                    "next_recurrence_date": null,
                    "refunds": [],
                    "created_at": "2023-07-29 21:57",
                    "paid_at": null,
                    "updated_at": "2025-10-13 06:43",
                    "receipt_pdf_path": "https://api.webpag.com.br/payments/4dd4462d29799375f740c06e5/pdf",
                    "card_flag": null,
                    "card_flag_label": null
                }
            }
        ]
    }
}
 

Requisição   

POST api/installments/register

Cabeçalhos

auth-token      

Example: {CHAVE_API}

Content-Type      

Example: application/json

Accept      

Example: application/json

Parâmetros do Corpo

amount   integer   

O valor total a ser pago em centavos. Example: 2500

first_date   date   

A data do primeiro pagamento. Example: 2024-01-01

number_installments   integer   

O número de parcelas. Example: 2

payer   integer   

O ID do pagador. Example: 881

accept_after_due_date   boolean  optional  

Aceitar pagamento após o vencimento. Example: true

Cancelar um crediário

requires authentication

Exemplo de Requisição:
$client = new \GuzzleHttp\Client();
$url = 'https://api.webpag.com.br/api/installments/1/cancel';
$response = $client->post(
    $url,
    [
        'headers' => [
            'auth-token' => '{CHAVE_API}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request POST \
    "https://api.webpag.com.br/api/installments/1/cancel" \
    --header "auth-token: {CHAVE_API}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Exemplo de Resposta (200):


{
    "data": {
        "id": 1,
        "name": "Crediário do(a) Jefferson Souza",
        "business_id": 10,
        "payer_id": 209,
        "number_installments": 10,
        "amount_original": "1000.00",
        "first_date": "2023-08-29 00:00:00",
        "type": 10,
        "type_label": "Boleto",
        "status": 10,
        "status_label": "Ativo",
        "accept_after_due_date": null,
        "created_at": "2023-07-29 21:56:58",
        "updated_at": "2023-07-29 21:56:58",
        "payer": {
            "id": 209,
            "cpf_cnpj": "05920092700",
            "is_business": false,
            "email": "jefferson@ectechnologies.com.br",
            "first_name": "Jefferson",
            "last_name": "Souza",
            "gender": "M",
            "phone_number": "+55 (27) 99578-6767",
            "birth_date": "1988-05-11",
            "address": null,
            "use_boleto": true,
            "status": 10,
            "status_label": "Ativo",
            "created_at": "2023-07-10 21:24:48",
            "updated_at": "2023-10-20 15:23:02"
        },
        "installments": [
            {
                "id": 1,
                "installment_plan_id": 1,
                "payment_id": 452,
                "code": "64c5b55a31417",
                "due_date": "2023-08-29 00:00:00",
                "liquidation_date": null,
                "payment_info": null,
                "number": 1,
                "amount": "100.00",
                "status": 40,
                "status_label": "Cancelado",
                "payment": {
                    "id": 452,
                    "business": {
                        "id": 10,
                        "name": "Empresa deletada"
                    },
                    "payer_id": 209,
                    "card_id": null,
                    "payer": {
                        "id": 209,
                        "cpf_cnpj": "05920092700",
                        "is_business": false,
                        "email": "jefferson@ectechnologies.com.br",
                        "first_name": "Jefferson",
                        "last_name": "Souza",
                        "gender": "M",
                        "phone_number": "+55 (27) 99578-6767",
                        "birth_date": "1988-05-11",
                        "address": null,
                        "use_boleto": true,
                        "status": 10,
                        "status_label": "Ativo",
                        "created_at": "2023-07-10 21:24:48",
                        "updated_at": "2023-10-20 15:23:02"
                    },
                    "name": "1/10 - Crediário #1",
                    "amount": 10000,
                    "amount_refunded": 0,
                    "fee_value": null,
                    "refunded_fee": 0,
                    "installments": 1,
                    "is_recurrent": false,
                    "recurrence_code": null,
                    "frequency": null,
                    "method": 50,
                    "method_label": "Crediário Boleto",
                    "method_slug": null,
                    "boleto": {
                        "id": 4,
                        "linha_digitavel": "00190000090341722699499999996178194570000010000",
                        "sequencial_code": 9999999996,
                        "nosso_numero": "00034172269999999996",
                        "codigo_barras": "00191945700000100000000003417226999999999617",
                        "due_date": "2023-08-29T03:00:00.000000Z",
                        "issue_date": "2023-07-29T03:00:00.000000Z",
                        "amount": 100,
                        "interest": null,
                        "fine": null,
                        "accept_after_due_date": null,
                        "boleto_url": "https://api.webpag.com.br/r/dedf6e7b-950b"
                    },
                    "notification_url": null,
                    "pix": null,
                    "installments_paid": 0,
                    "spplited": false,
                    "soft_descriptor": null,
                    "order_id": null,
                    "active": true,
                    "status": 60,
                    "status_label": "Cancelado",
                    "start_date": null,
                    "next_date": null,
                    "next_recurrence_date": null,
                    "refunds": [],
                    "created_at": "2023-07-29 21:56",
                    "paid_at": null,
                    "updated_at": "2025-10-13 06:43",
                    "receipt_pdf_path": "https://api.webpag.com.br/payments/69fdba13f6f8a577c8ebe21d6/pdf",
                    "card_flag": null,
                    "card_flag_label": null
                }
            },
            {
                "id": 2,
                "installment_plan_id": 1,
                "payment_id": 453,
                "code": "64c5b55a32915",
                "due_date": "2023-09-29 00:00:00",
                "liquidation_date": null,
                "payment_info": null,
                "number": 2,
                "amount": "100.00",
                "status": 40,
                "status_label": "Cancelado",
                "payment": {
                    "id": 453,
                    "business": {
                        "id": 10,
                        "name": "Empresa deletada"
                    },
                    "payer_id": 209,
                    "card_id": null,
                    "payer": {
                        "id": 209,
                        "cpf_cnpj": "05920092700",
                        "is_business": false,
                        "email": "jefferson@ectechnologies.com.br",
                        "first_name": "Jefferson",
                        "last_name": "Souza",
                        "gender": "M",
                        "phone_number": "+55 (27) 99578-6767",
                        "birth_date": "1988-05-11",
                        "address": null,
                        "use_boleto": true,
                        "status": 10,
                        "status_label": "Ativo",
                        "created_at": "2023-07-10 21:24:48",
                        "updated_at": "2023-10-20 15:23:02"
                    },
                    "name": "2/10 - Crediário #1",
                    "amount": 10000,
                    "amount_refunded": 0,
                    "fee_value": null,
                    "refunded_fee": 0,
                    "installments": 1,
                    "is_recurrent": false,
                    "recurrence_code": null,
                    "frequency": null,
                    "method": 50,
                    "method_label": "Crediário Boleto",
                    "method_slug": null,
                    "boleto": {
                        "id": 5,
                        "linha_digitavel": "00190000090341722699499999995170294880000010000",
                        "sequencial_code": 9999999995,
                        "nosso_numero": "00034172269999999995",
                        "codigo_barras": "00192948800000100000000003417226999999999517",
                        "due_date": "2023-09-29T03:00:00.000000Z",
                        "issue_date": "2023-07-29T03:00:00.000000Z",
                        "amount": 100,
                        "interest": null,
                        "fine": null,
                        "accept_after_due_date": null,
                        "boleto_url": "https://api.webpag.com.br/r/97489a4a-73b9"
                    },
                    "notification_url": null,
                    "pix": null,
                    "installments_paid": 0,
                    "spplited": false,
                    "soft_descriptor": null,
                    "order_id": null,
                    "active": true,
                    "status": 60,
                    "status_label": "Cancelado",
                    "start_date": null,
                    "next_date": null,
                    "next_recurrence_date": null,
                    "refunds": [],
                    "created_at": "2023-07-29 21:57",
                    "paid_at": null,
                    "updated_at": "2025-10-13 06:43",
                    "receipt_pdf_path": "https://api.webpag.com.br/payments/a53782e2d80f8b5c982716d1f/pdf",
                    "card_flag": null,
                    "card_flag_label": null
                }
            },
            {
                "id": 3,
                "installment_plan_id": 1,
                "payment_id": 454,
                "code": "64c5b55a33b18",
                "due_date": "2023-10-29 00:00:00",
                "liquidation_date": null,
                "payment_info": null,
                "number": 3,
                "amount": "100.00",
                "status": 40,
                "status_label": "Cancelado",
                "payment": {
                    "id": 454,
                    "business": {
                        "id": 10,
                        "name": "Empresa deletada"
                    },
                    "payer_id": 209,
                    "card_id": null,
                    "payer": {
                        "id": 209,
                        "cpf_cnpj": "05920092700",
                        "is_business": false,
                        "email": "jefferson@ectechnologies.com.br",
                        "first_name": "Jefferson",
                        "last_name": "Souza",
                        "gender": "M",
                        "phone_number": "+55 (27) 99578-6767",
                        "birth_date": "1988-05-11",
                        "address": null,
                        "use_boleto": true,
                        "status": 10,
                        "status_label": "Ativo",
                        "created_at": "2023-07-10 21:24:48",
                        "updated_at": "2023-10-20 15:23:02"
                    },
                    "name": "3/10 - Crediário #1",
                    "amount": 10000,
                    "amount_refunded": 0,
                    "fee_value": null,
                    "refunded_fee": 0,
                    "installments": 1,
                    "is_recurrent": false,
                    "recurrence_code": null,
                    "frequency": null,
                    "method": 50,
                    "method_label": "Crediário Boleto",
                    "method_slug": null,
                    "boleto": {
                        "id": 6,
                        "linha_digitavel": "00190000090341722699499999994173895180000010000",
                        "sequencial_code": 9999999994,
                        "nosso_numero": "00034172269999999994",
                        "codigo_barras": "00198951800000100000000003417226999999999417",
                        "due_date": "2023-10-29T03:00:00.000000Z",
                        "issue_date": "2023-07-29T03:00:00.000000Z",
                        "amount": 100,
                        "interest": null,
                        "fine": null,
                        "accept_after_due_date": null,
                        "boleto_url": "https://api.webpag.com.br/r/704f4ca5-f096"
                    },
                    "notification_url": null,
                    "pix": null,
                    "installments_paid": 0,
                    "spplited": false,
                    "soft_descriptor": null,
                    "order_id": null,
                    "active": true,
                    "status": 60,
                    "status_label": "Cancelado",
                    "start_date": null,
                    "next_date": null,
                    "next_recurrence_date": null,
                    "refunds": [],
                    "created_at": "2023-07-29 21:57",
                    "paid_at": null,
                    "updated_at": "2025-10-13 06:43",
                    "receipt_pdf_path": "https://api.webpag.com.br/payments/39887ec8745459963897afa7f/pdf",
                    "card_flag": null,
                    "card_flag_label": null
                }
            },
            {
                "id": 4,
                "installment_plan_id": 1,
                "payment_id": 455,
                "code": "64c5b55a353e4",
                "due_date": "2023-11-29 00:00:00",
                "liquidation_date": null,
                "payment_info": null,
                "number": 4,
                "amount": "100.00",
                "status": 40,
                "status_label": "Cancelado",
                "payment": {
                    "id": 455,
                    "business": {
                        "id": 10,
                        "name": "Empresa deletada"
                    },
                    "payer_id": 209,
                    "card_id": null,
                    "payer": {
                        "id": 209,
                        "cpf_cnpj": "05920092700",
                        "is_business": false,
                        "email": "jefferson@ectechnologies.com.br",
                        "first_name": "Jefferson",
                        "last_name": "Souza",
                        "gender": "M",
                        "phone_number": "+55 (27) 99578-6767",
                        "birth_date": "1988-05-11",
                        "address": null,
                        "use_boleto": true,
                        "status": 10,
                        "status_label": "Ativo",
                        "created_at": "2023-07-10 21:24:48",
                        "updated_at": "2023-10-20 15:23:02"
                    },
                    "name": "4/10 - Crediário #1",
                    "amount": 10000,
                    "amount_refunded": 0,
                    "fee_value": null,
                    "refunded_fee": 0,
                    "installments": 1,
                    "is_recurrent": false,
                    "recurrence_code": null,
                    "frequency": null,
                    "method": 50,
                    "method_label": "Crediário Boleto",
                    "method_slug": null,
                    "boleto": {
                        "id": 7,
                        "linha_digitavel": "00190000090341722699499999993175195490000010000",
                        "sequencial_code": 9999999993,
                        "nosso_numero": "00034172269999999993",
                        "codigo_barras": "00191954900000100000000003417226999999999317",
                        "due_date": "2023-11-29T03:00:00.000000Z",
                        "issue_date": "2023-07-29T03:00:00.000000Z",
                        "amount": 100,
                        "interest": null,
                        "fine": null,
                        "accept_after_due_date": null,
                        "boleto_url": "https://api.webpag.com.br/r/bf3bea52-9d28"
                    },
                    "notification_url": null,
                    "pix": null,
                    "installments_paid": 0,
                    "spplited": false,
                    "soft_descriptor": null,
                    "order_id": null,
                    "active": true,
                    "status": 60,
                    "status_label": "Cancelado",
                    "start_date": null,
                    "next_date": null,
                    "next_recurrence_date": null,
                    "refunds": [],
                    "created_at": "2023-07-29 21:57",
                    "paid_at": null,
                    "updated_at": "2025-10-13 06:43",
                    "receipt_pdf_path": "https://api.webpag.com.br/payments/6eeb21929f81c90f23da423b9/pdf",
                    "card_flag": null,
                    "card_flag_label": null
                }
            },
            {
                "id": 5,
                "installment_plan_id": 1,
                "payment_id": 456,
                "code": "64c5b55a36320",
                "due_date": "2023-12-29 00:00:00",
                "liquidation_date": null,
                "payment_info": null,
                "number": 5,
                "amount": "100.00",
                "status": 40,
                "status_label": "Cancelado",
                "payment": {
                    "id": 456,
                    "business": {
                        "id": 10,
                        "name": "Empresa deletada"
                    },
                    "payer_id": 209,
                    "card_id": null,
                    "payer": {
                        "id": 209,
                        "cpf_cnpj": "05920092700",
                        "is_business": false,
                        "email": "jefferson@ectechnologies.com.br",
                        "first_name": "Jefferson",
                        "last_name": "Souza",
                        "gender": "M",
                        "phone_number": "+55 (27) 99578-6767",
                        "birth_date": "1988-05-11",
                        "address": null,
                        "use_boleto": true,
                        "status": 10,
                        "status_label": "Ativo",
                        "created_at": "2023-07-10 21:24:48",
                        "updated_at": "2023-10-20 15:23:02"
                    },
                    "name": "5/10 - Crediário #1",
                    "amount": 10000,
                    "amount_refunded": 0,
                    "fee_value": null,
                    "refunded_fee": 0,
                    "installments": 1,
                    "is_recurrent": false,
                    "recurrence_code": null,
                    "frequency": null,
                    "method": 50,
                    "method_label": "Crediário Boleto",
                    "method_slug": null,
                    "boleto": {
                        "id": 8,
                        "linha_digitavel": "00190000090341722699499999992177895790000010000",
                        "sequencial_code": 9999999992,
                        "nosso_numero": "00034172269999999992",
                        "codigo_barras": "00198957900000100000000003417226999999999217",
                        "due_date": "2023-12-29T03:00:00.000000Z",
                        "issue_date": "2023-07-29T03:00:00.000000Z",
                        "amount": 100,
                        "interest": null,
                        "fine": null,
                        "accept_after_due_date": null,
                        "boleto_url": "https://api.webpag.com.br/r/69e845ec-39f4"
                    },
                    "notification_url": null,
                    "pix": null,
                    "installments_paid": 0,
                    "spplited": false,
                    "soft_descriptor": null,
                    "order_id": null,
                    "active": true,
                    "status": 60,
                    "status_label": "Cancelado",
                    "start_date": null,
                    "next_date": null,
                    "next_recurrence_date": null,
                    "refunds": [],
                    "created_at": "2023-07-29 21:57",
                    "paid_at": null,
                    "updated_at": "2025-10-13 06:43",
                    "receipt_pdf_path": "https://api.webpag.com.br/payments/6633ac8ea9615b48e5336f0c9/pdf",
                    "card_flag": null,
                    "card_flag_label": null
                }
            },
            {
                "id": 6,
                "installment_plan_id": 1,
                "payment_id": 457,
                "code": "64c5b55a3733f",
                "due_date": "2024-01-29 00:00:00",
                "liquidation_date": null,
                "payment_info": null,
                "number": 6,
                "amount": "100.00",
                "status": 40,
                "status_label": "Cancelado",
                "payment": {
                    "id": 457,
                    "business": {
                        "id": 10,
                        "name": "Empresa deletada"
                    },
                    "payer_id": 209,
                    "card_id": null,
                    "payer": {
                        "id": 209,
                        "cpf_cnpj": "05920092700",
                        "is_business": false,
                        "email": "jefferson@ectechnologies.com.br",
                        "first_name": "Jefferson",
                        "last_name": "Souza",
                        "gender": "M",
                        "phone_number": "+55 (27) 99578-6767",
                        "birth_date": "1988-05-11",
                        "address": null,
                        "use_boleto": true,
                        "status": 10,
                        "status_label": "Ativo",
                        "created_at": "2023-07-10 21:24:48",
                        "updated_at": "2023-10-20 15:23:02"
                    },
                    "name": "6/10 - Crediário #1",
                    "amount": 10000,
                    "amount_refunded": 0,
                    "fee_value": null,
                    "refunded_fee": 0,
                    "installments": 1,
                    "is_recurrent": false,
                    "recurrence_code": null,
                    "frequency": null,
                    "method": 50,
                    "method_label": "Crediário Boleto",
                    "method_slug": null,
                    "boleto": {
                        "id": 9,
                        "linha_digitavel": "00190000090341722699499999991179996100000010000",
                        "sequencial_code": 9999999991,
                        "nosso_numero": "00034172269999999991",
                        "codigo_barras": "00199961000000100000000003417226999999999117",
                        "due_date": "2024-01-29T03:00:00.000000Z",
                        "issue_date": "2023-07-29T03:00:00.000000Z",
                        "amount": 100,
                        "interest": null,
                        "fine": null,
                        "accept_after_due_date": null,
                        "boleto_url": "https://api.webpag.com.br/r/9501ed28-17df"
                    },
                    "notification_url": null,
                    "pix": null,
                    "installments_paid": 0,
                    "spplited": false,
                    "soft_descriptor": null,
                    "order_id": null,
                    "active": true,
                    "status": 60,
                    "status_label": "Cancelado",
                    "start_date": null,
                    "next_date": null,
                    "next_recurrence_date": null,
                    "refunds": [],
                    "created_at": "2023-07-29 21:57",
                    "paid_at": null,
                    "updated_at": "2025-10-13 06:43",
                    "receipt_pdf_path": "https://api.webpag.com.br/payments/b058cab9327727c397921a743/pdf",
                    "card_flag": null,
                    "card_flag_label": null
                }
            },
            {
                "id": 7,
                "installment_plan_id": 1,
                "payment_id": 458,
                "code": "64c5b55a3a029",
                "due_date": "2024-02-29 00:00:00",
                "liquidation_date": null,
                "payment_info": null,
                "number": 7,
                "amount": "100.00",
                "status": 40,
                "status_label": "Cancelado",
                "payment": {
                    "id": 458,
                    "business": {
                        "id": 10,
                        "name": "Empresa deletada"
                    },
                    "payer_id": 209,
                    "card_id": null,
                    "payer": {
                        "id": 209,
                        "cpf_cnpj": "05920092700",
                        "is_business": false,
                        "email": "jefferson@ectechnologies.com.br",
                        "first_name": "Jefferson",
                        "last_name": "Souza",
                        "gender": "M",
                        "phone_number": "+55 (27) 99578-6767",
                        "birth_date": "1988-05-11",
                        "address": null,
                        "use_boleto": true,
                        "status": 10,
                        "status_label": "Ativo",
                        "created_at": "2023-07-10 21:24:48",
                        "updated_at": "2023-10-20 15:23:02"
                    },
                    "name": "7/10 - Crediário #1",
                    "amount": 10000,
                    "amount_refunded": 0,
                    "fee_value": null,
                    "refunded_fee": 0,
                    "installments": 1,
                    "is_recurrent": false,
                    "recurrence_code": null,
                    "frequency": null,
                    "method": 50,
                    "method_label": "Crediário Boleto",
                    "method_slug": null,
                    "boleto": {
                        "id": 10,
                        "linha_digitavel": "00190000090341722699499999990171196410000010000",
                        "sequencial_code": 9999999990,
                        "nosso_numero": "00034172269999999990",
                        "codigo_barras": "00191964100000100000000003417226999999999017",
                        "due_date": "2024-02-29T03:00:00.000000Z",
                        "issue_date": "2023-07-29T03:00:00.000000Z",
                        "amount": 100,
                        "interest": null,
                        "fine": null,
                        "accept_after_due_date": null,
                        "boleto_url": "https://api.webpag.com.br/r/97915983-5822"
                    },
                    "notification_url": null,
                    "pix": null,
                    "installments_paid": 0,
                    "spplited": false,
                    "soft_descriptor": null,
                    "order_id": null,
                    "active": true,
                    "status": 60,
                    "status_label": "Cancelado",
                    "start_date": null,
                    "next_date": null,
                    "next_recurrence_date": null,
                    "refunds": [],
                    "created_at": "2023-07-29 21:57",
                    "paid_at": null,
                    "updated_at": "2025-10-13 06:43",
                    "receipt_pdf_path": "https://api.webpag.com.br/payments/7fa920445ed2a3846c06af665/pdf",
                    "card_flag": null,
                    "card_flag_label": null
                }
            },
            {
                "id": 8,
                "installment_plan_id": 1,
                "payment_id": 459,
                "code": "64c5b55a3b2b9",
                "due_date": "2024-03-29 00:00:00",
                "liquidation_date": null,
                "payment_info": null,
                "number": 8,
                "amount": "100.00",
                "status": 40,
                "status_label": "Cancelado",
                "payment": {
                    "id": 459,
                    "business": {
                        "id": 10,
                        "name": "Empresa deletada"
                    },
                    "payer_id": 209,
                    "card_id": null,
                    "payer": {
                        "id": 209,
                        "cpf_cnpj": "05920092700",
                        "is_business": false,
                        "email": "jefferson@ectechnologies.com.br",
                        "first_name": "Jefferson",
                        "last_name": "Souza",
                        "gender": "M",
                        "phone_number": "+55 (27) 99578-6767",
                        "birth_date": "1988-05-11",
                        "address": null,
                        "use_boleto": true,
                        "status": 10,
                        "status_label": "Ativo",
                        "created_at": "2023-07-10 21:24:48",
                        "updated_at": "2023-10-20 15:23:02"
                    },
                    "name": "8/10 - Crediário #1",
                    "amount": 10000,
                    "amount_refunded": 0,
                    "fee_value": null,
                    "refunded_fee": 0,
                    "installments": 1,
                    "is_recurrent": false,
                    "recurrence_code": null,
                    "frequency": null,
                    "method": 50,
                    "method_label": "Crediário Boleto",
                    "method_slug": null,
                    "boleto": {
                        "id": 11,
                        "linha_digitavel": "00190000090341722699499999989173196700000010000",
                        "sequencial_code": 9999999989,
                        "nosso_numero": "00034172269999999989",
                        "codigo_barras": "00191967000000100000000003417226999999998917",
                        "due_date": "2024-03-29T03:00:00.000000Z",
                        "issue_date": "2023-07-29T03:00:00.000000Z",
                        "amount": 100,
                        "interest": null,
                        "fine": null,
                        "accept_after_due_date": null,
                        "boleto_url": "https://api.webpag.com.br/r/42b79469-f29a"
                    },
                    "notification_url": null,
                    "pix": null,
                    "installments_paid": 0,
                    "spplited": false,
                    "soft_descriptor": null,
                    "order_id": null,
                    "active": true,
                    "status": 60,
                    "status_label": "Cancelado",
                    "start_date": null,
                    "next_date": null,
                    "next_recurrence_date": null,
                    "refunds": [],
                    "created_at": "2023-07-29 21:57",
                    "paid_at": null,
                    "updated_at": "2025-10-13 06:43",
                    "receipt_pdf_path": "https://api.webpag.com.br/payments/56fca9d74f377a6f148db3dcf/pdf",
                    "card_flag": null,
                    "card_flag_label": null
                }
            },
            {
                "id": 9,
                "installment_plan_id": 1,
                "payment_id": 460,
                "code": "64c5b55a3c463",
                "due_date": "2024-04-29 00:00:00",
                "liquidation_date": null,
                "payment_info": null,
                "number": 9,
                "amount": "100.00",
                "status": 40,
                "status_label": "Cancelado",
                "payment": {
                    "id": 460,
                    "business": {
                        "id": 10,
                        "name": "Empresa deletada"
                    },
                    "payer_id": 209,
                    "card_id": null,
                    "payer": {
                        "id": 209,
                        "cpf_cnpj": "05920092700",
                        "is_business": false,
                        "email": "jefferson@ectechnologies.com.br",
                        "first_name": "Jefferson",
                        "last_name": "Souza",
                        "gender": "M",
                        "phone_number": "+55 (27) 99578-6767",
                        "birth_date": "1988-05-11",
                        "address": null,
                        "use_boleto": true,
                        "status": 10,
                        "status_label": "Ativo",
                        "created_at": "2023-07-10 21:24:48",
                        "updated_at": "2023-10-20 15:23:02"
                    },
                    "name": "9/10 - Crediário #1",
                    "amount": 10000,
                    "amount_refunded": 0,
                    "fee_value": null,
                    "refunded_fee": 0,
                    "installments": 1,
                    "is_recurrent": false,
                    "recurrence_code": null,
                    "frequency": null,
                    "method": 50,
                    "method_label": "Crediário Boleto",
                    "method_slug": null,
                    "boleto": {
                        "id": 12,
                        "linha_digitavel": "00190000090341722699499999988175297010000010000",
                        "sequencial_code": 9999999988,
                        "nosso_numero": "00034172269999999988",
                        "codigo_barras": "00192970100000100000000003417226999999998817",
                        "due_date": "2024-04-29T03:00:00.000000Z",
                        "issue_date": "2023-07-29T03:00:00.000000Z",
                        "amount": 100,
                        "interest": null,
                        "fine": null,
                        "accept_after_due_date": null,
                        "boleto_url": "https://api.webpag.com.br/r/2046481d-165f"
                    },
                    "notification_url": null,
                    "pix": null,
                    "installments_paid": 0,
                    "spplited": false,
                    "soft_descriptor": null,
                    "order_id": null,
                    "active": true,
                    "status": 60,
                    "status_label": "Cancelado",
                    "start_date": null,
                    "next_date": null,
                    "next_recurrence_date": null,
                    "refunds": [],
                    "created_at": "2023-07-29 21:57",
                    "paid_at": null,
                    "updated_at": "2025-10-13 06:43",
                    "receipt_pdf_path": "https://api.webpag.com.br/payments/0577bbc9ae8d32f9280e3f4d3/pdf",
                    "card_flag": null,
                    "card_flag_label": null
                }
            },
            {
                "id": 10,
                "installment_plan_id": 1,
                "payment_id": 461,
                "code": "64c5b55a3d787",
                "due_date": "2024-05-29 00:00:00",
                "liquidation_date": null,
                "payment_info": null,
                "number": 10,
                "amount": "100.00",
                "status": 40,
                "status_label": "Cancelado",
                "payment": {
                    "id": 461,
                    "business": {
                        "id": 10,
                        "name": "Empresa deletada"
                    },
                    "payer_id": 209,
                    "card_id": null,
                    "payer": {
                        "id": 209,
                        "cpf_cnpj": "05920092700",
                        "is_business": false,
                        "email": "jefferson@ectechnologies.com.br",
                        "first_name": "Jefferson",
                        "last_name": "Souza",
                        "gender": "M",
                        "phone_number": "+55 (27) 99578-6767",
                        "birth_date": "1988-05-11",
                        "address": null,
                        "use_boleto": true,
                        "status": 10,
                        "status_label": "Ativo",
                        "created_at": "2023-07-10 21:24:48",
                        "updated_at": "2023-10-20 15:23:02"
                    },
                    "name": "10/10 - Crediário #1",
                    "amount": 10000,
                    "amount_refunded": 0,
                    "fee_value": null,
                    "refunded_fee": 0,
                    "installments": 1,
                    "is_recurrent": false,
                    "recurrence_code": null,
                    "frequency": null,
                    "method": 50,
                    "method_label": "Crediário Boleto",
                    "method_slug": null,
                    "boleto": {
                        "id": 13,
                        "linha_digitavel": "00190000090341722699499999987177197310000010000",
                        "sequencial_code": 9999999987,
                        "nosso_numero": "00034172269999999987",
                        "codigo_barras": "00191973100000100000000003417226999999998717",
                        "due_date": "2024-05-29T03:00:00.000000Z",
                        "issue_date": "2023-07-29T03:00:00.000000Z",
                        "amount": 100,
                        "interest": null,
                        "fine": null,
                        "accept_after_due_date": null,
                        "boleto_url": "https://api.webpag.com.br/r/c2f602fe-4a15"
                    },
                    "notification_url": null,
                    "pix": null,
                    "installments_paid": 0,
                    "spplited": false,
                    "soft_descriptor": null,
                    "order_id": null,
                    "active": true,
                    "status": 60,
                    "status_label": "Cancelado",
                    "start_date": null,
                    "next_date": null,
                    "next_recurrence_date": null,
                    "refunds": [],
                    "created_at": "2023-07-29 21:57",
                    "paid_at": null,
                    "updated_at": "2025-10-13 06:43",
                    "receipt_pdf_path": "https://api.webpag.com.br/payments/4dd4462d29799375f740c06e5/pdf",
                    "card_flag": null,
                    "card_flag_label": null
                }
            }
        ]
    }
}
 

Requisição   

POST api/installments/{installmentPlan}/cancel

Cabeçalhos

auth-token      

Example: {CHAVE_API}

Content-Type      

Example: application/json

Accept      

Example: application/json

Parâmetros de URL

installmentPlan   integer   

O ID do crediário. Example: 1

Consultar um crediário

requires authentication

Exemplo de Requisição:
$client = new \GuzzleHttp\Client();
$url = 'https://api.webpag.com.br/api/installments/1';
$response = $client->get(
    $url,
    [
        'headers' => [
            'auth-token' => '{CHAVE_API}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request GET \
    --get "https://api.webpag.com.br/api/installments/1" \
    --header "auth-token: {CHAVE_API}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Exemplo de Resposta (200):


{
    "data": {
        "id": 1,
        "name": "Crediário do(a) Jefferson Souza",
        "business_id": 10,
        "payer_id": 209,
        "number_installments": 10,
        "amount_original": "1000.00",
        "first_date": "2023-08-29 00:00:00",
        "type": 10,
        "type_label": "Boleto",
        "status": 10,
        "status_label": "Ativo",
        "accept_after_due_date": null,
        "created_at": "2023-07-29 21:56:58",
        "updated_at": "2023-07-29 21:56:58",
        "payer": {
            "id": 209,
            "cpf_cnpj": "05920092700",
            "is_business": false,
            "email": "jefferson@ectechnologies.com.br",
            "first_name": "Jefferson",
            "last_name": "Souza",
            "gender": "M",
            "phone_number": "+55 (27) 99578-6767",
            "birth_date": "1988-05-11",
            "address": null,
            "use_boleto": true,
            "status": 10,
            "status_label": "Ativo",
            "created_at": "2023-07-10 21:24:48",
            "updated_at": "2023-10-20 15:23:02"
        },
        "installments": [
            {
                "id": 1,
                "installment_plan_id": 1,
                "payment_id": 452,
                "code": "64c5b55a31417",
                "due_date": "2023-08-29 00:00:00",
                "liquidation_date": null,
                "payment_info": null,
                "number": 1,
                "amount": "100.00",
                "status": 40,
                "status_label": "Cancelado",
                "payment": {
                    "id": 452,
                    "business": {
                        "id": 10,
                        "name": "Empresa deletada"
                    },
                    "payer_id": 209,
                    "card_id": null,
                    "payer": {
                        "id": 209,
                        "cpf_cnpj": "05920092700",
                        "is_business": false,
                        "email": "jefferson@ectechnologies.com.br",
                        "first_name": "Jefferson",
                        "last_name": "Souza",
                        "gender": "M",
                        "phone_number": "+55 (27) 99578-6767",
                        "birth_date": "1988-05-11",
                        "address": null,
                        "use_boleto": true,
                        "status": 10,
                        "status_label": "Ativo",
                        "created_at": "2023-07-10 21:24:48",
                        "updated_at": "2023-10-20 15:23:02"
                    },
                    "name": "1/10 - Crediário #1",
                    "amount": 10000,
                    "amount_refunded": 0,
                    "fee_value": null,
                    "refunded_fee": 0,
                    "installments": 1,
                    "is_recurrent": false,
                    "recurrence_code": null,
                    "frequency": null,
                    "method": 50,
                    "method_label": "Crediário Boleto",
                    "method_slug": null,
                    "boleto": {
                        "id": 4,
                        "linha_digitavel": "00190000090341722699499999996178194570000010000",
                        "sequencial_code": 9999999996,
                        "nosso_numero": "00034172269999999996",
                        "codigo_barras": "00191945700000100000000003417226999999999617",
                        "due_date": "2023-08-29T03:00:00.000000Z",
                        "issue_date": "2023-07-29T03:00:00.000000Z",
                        "amount": 100,
                        "interest": null,
                        "fine": null,
                        "accept_after_due_date": null,
                        "boleto_url": "https://api.webpag.com.br/r/dedf6e7b-950b"
                    },
                    "notification_url": null,
                    "pix": null,
                    "installments_paid": 0,
                    "spplited": false,
                    "soft_descriptor": null,
                    "order_id": null,
                    "active": true,
                    "status": 60,
                    "status_label": "Cancelado",
                    "start_date": null,
                    "next_date": null,
                    "next_recurrence_date": null,
                    "refunds": [],
                    "created_at": "2023-07-29 21:56",
                    "paid_at": null,
                    "updated_at": "2025-10-13 06:43",
                    "receipt_pdf_path": "https://api.webpag.com.br/payments/69fdba13f6f8a577c8ebe21d6/pdf",
                    "card_flag": null,
                    "card_flag_label": null
                }
            },
            {
                "id": 2,
                "installment_plan_id": 1,
                "payment_id": 453,
                "code": "64c5b55a32915",
                "due_date": "2023-09-29 00:00:00",
                "liquidation_date": null,
                "payment_info": null,
                "number": 2,
                "amount": "100.00",
                "status": 40,
                "status_label": "Cancelado",
                "payment": {
                    "id": 453,
                    "business": {
                        "id": 10,
                        "name": "Empresa deletada"
                    },
                    "payer_id": 209,
                    "card_id": null,
                    "payer": {
                        "id": 209,
                        "cpf_cnpj": "05920092700",
                        "is_business": false,
                        "email": "jefferson@ectechnologies.com.br",
                        "first_name": "Jefferson",
                        "last_name": "Souza",
                        "gender": "M",
                        "phone_number": "+55 (27) 99578-6767",
                        "birth_date": "1988-05-11",
                        "address": null,
                        "use_boleto": true,
                        "status": 10,
                        "status_label": "Ativo",
                        "created_at": "2023-07-10 21:24:48",
                        "updated_at": "2023-10-20 15:23:02"
                    },
                    "name": "2/10 - Crediário #1",
                    "amount": 10000,
                    "amount_refunded": 0,
                    "fee_value": null,
                    "refunded_fee": 0,
                    "installments": 1,
                    "is_recurrent": false,
                    "recurrence_code": null,
                    "frequency": null,
                    "method": 50,
                    "method_label": "Crediário Boleto",
                    "method_slug": null,
                    "boleto": {
                        "id": 5,
                        "linha_digitavel": "00190000090341722699499999995170294880000010000",
                        "sequencial_code": 9999999995,
                        "nosso_numero": "00034172269999999995",
                        "codigo_barras": "00192948800000100000000003417226999999999517",
                        "due_date": "2023-09-29T03:00:00.000000Z",
                        "issue_date": "2023-07-29T03:00:00.000000Z",
                        "amount": 100,
                        "interest": null,
                        "fine": null,
                        "accept_after_due_date": null,
                        "boleto_url": "https://api.webpag.com.br/r/97489a4a-73b9"
                    },
                    "notification_url": null,
                    "pix": null,
                    "installments_paid": 0,
                    "spplited": false,
                    "soft_descriptor": null,
                    "order_id": null,
                    "active": true,
                    "status": 60,
                    "status_label": "Cancelado",
                    "start_date": null,
                    "next_date": null,
                    "next_recurrence_date": null,
                    "refunds": [],
                    "created_at": "2023-07-29 21:57",
                    "paid_at": null,
                    "updated_at": "2025-10-13 06:43",
                    "receipt_pdf_path": "https://api.webpag.com.br/payments/a53782e2d80f8b5c982716d1f/pdf",
                    "card_flag": null,
                    "card_flag_label": null
                }
            },
            {
                "id": 3,
                "installment_plan_id": 1,
                "payment_id": 454,
                "code": "64c5b55a33b18",
                "due_date": "2023-10-29 00:00:00",
                "liquidation_date": null,
                "payment_info": null,
                "number": 3,
                "amount": "100.00",
                "status": 40,
                "status_label": "Cancelado",
                "payment": {
                    "id": 454,
                    "business": {
                        "id": 10,
                        "name": "Empresa deletada"
                    },
                    "payer_id": 209,
                    "card_id": null,
                    "payer": {
                        "id": 209,
                        "cpf_cnpj": "05920092700",
                        "is_business": false,
                        "email": "jefferson@ectechnologies.com.br",
                        "first_name": "Jefferson",
                        "last_name": "Souza",
                        "gender": "M",
                        "phone_number": "+55 (27) 99578-6767",
                        "birth_date": "1988-05-11",
                        "address": null,
                        "use_boleto": true,
                        "status": 10,
                        "status_label": "Ativo",
                        "created_at": "2023-07-10 21:24:48",
                        "updated_at": "2023-10-20 15:23:02"
                    },
                    "name": "3/10 - Crediário #1",
                    "amount": 10000,
                    "amount_refunded": 0,
                    "fee_value": null,
                    "refunded_fee": 0,
                    "installments": 1,
                    "is_recurrent": false,
                    "recurrence_code": null,
                    "frequency": null,
                    "method": 50,
                    "method_label": "Crediário Boleto",
                    "method_slug": null,
                    "boleto": {
                        "id": 6,
                        "linha_digitavel": "00190000090341722699499999994173895180000010000",
                        "sequencial_code": 9999999994,
                        "nosso_numero": "00034172269999999994",
                        "codigo_barras": "00198951800000100000000003417226999999999417",
                        "due_date": "2023-10-29T03:00:00.000000Z",
                        "issue_date": "2023-07-29T03:00:00.000000Z",
                        "amount": 100,
                        "interest": null,
                        "fine": null,
                        "accept_after_due_date": null,
                        "boleto_url": "https://api.webpag.com.br/r/704f4ca5-f096"
                    },
                    "notification_url": null,
                    "pix": null,
                    "installments_paid": 0,
                    "spplited": false,
                    "soft_descriptor": null,
                    "order_id": null,
                    "active": true,
                    "status": 60,
                    "status_label": "Cancelado",
                    "start_date": null,
                    "next_date": null,
                    "next_recurrence_date": null,
                    "refunds": [],
                    "created_at": "2023-07-29 21:57",
                    "paid_at": null,
                    "updated_at": "2025-10-13 06:43",
                    "receipt_pdf_path": "https://api.webpag.com.br/payments/39887ec8745459963897afa7f/pdf",
                    "card_flag": null,
                    "card_flag_label": null
                }
            },
            {
                "id": 4,
                "installment_plan_id": 1,
                "payment_id": 455,
                "code": "64c5b55a353e4",
                "due_date": "2023-11-29 00:00:00",
                "liquidation_date": null,
                "payment_info": null,
                "number": 4,
                "amount": "100.00",
                "status": 40,
                "status_label": "Cancelado",
                "payment": {
                    "id": 455,
                    "business": {
                        "id": 10,
                        "name": "Empresa deletada"
                    },
                    "payer_id": 209,
                    "card_id": null,
                    "payer": {
                        "id": 209,
                        "cpf_cnpj": "05920092700",
                        "is_business": false,
                        "email": "jefferson@ectechnologies.com.br",
                        "first_name": "Jefferson",
                        "last_name": "Souza",
                        "gender": "M",
                        "phone_number": "+55 (27) 99578-6767",
                        "birth_date": "1988-05-11",
                        "address": null,
                        "use_boleto": true,
                        "status": 10,
                        "status_label": "Ativo",
                        "created_at": "2023-07-10 21:24:48",
                        "updated_at": "2023-10-20 15:23:02"
                    },
                    "name": "4/10 - Crediário #1",
                    "amount": 10000,
                    "amount_refunded": 0,
                    "fee_value": null,
                    "refunded_fee": 0,
                    "installments": 1,
                    "is_recurrent": false,
                    "recurrence_code": null,
                    "frequency": null,
                    "method": 50,
                    "method_label": "Crediário Boleto",
                    "method_slug": null,
                    "boleto": {
                        "id": 7,
                        "linha_digitavel": "00190000090341722699499999993175195490000010000",
                        "sequencial_code": 9999999993,
                        "nosso_numero": "00034172269999999993",
                        "codigo_barras": "00191954900000100000000003417226999999999317",
                        "due_date": "2023-11-29T03:00:00.000000Z",
                        "issue_date": "2023-07-29T03:00:00.000000Z",
                        "amount": 100,
                        "interest": null,
                        "fine": null,
                        "accept_after_due_date": null,
                        "boleto_url": "https://api.webpag.com.br/r/bf3bea52-9d28"
                    },
                    "notification_url": null,
                    "pix": null,
                    "installments_paid": 0,
                    "spplited": false,
                    "soft_descriptor": null,
                    "order_id": null,
                    "active": true,
                    "status": 60,
                    "status_label": "Cancelado",
                    "start_date": null,
                    "next_date": null,
                    "next_recurrence_date": null,
                    "refunds": [],
                    "created_at": "2023-07-29 21:57",
                    "paid_at": null,
                    "updated_at": "2025-10-13 06:43",
                    "receipt_pdf_path": "https://api.webpag.com.br/payments/6eeb21929f81c90f23da423b9/pdf",
                    "card_flag": null,
                    "card_flag_label": null
                }
            },
            {
                "id": 5,
                "installment_plan_id": 1,
                "payment_id": 456,
                "code": "64c5b55a36320",
                "due_date": "2023-12-29 00:00:00",
                "liquidation_date": null,
                "payment_info": null,
                "number": 5,
                "amount": "100.00",
                "status": 40,
                "status_label": "Cancelado",
                "payment": {
                    "id": 456,
                    "business": {
                        "id": 10,
                        "name": "Empresa deletada"
                    },
                    "payer_id": 209,
                    "card_id": null,
                    "payer": {
                        "id": 209,
                        "cpf_cnpj": "05920092700",
                        "is_business": false,
                        "email": "jefferson@ectechnologies.com.br",
                        "first_name": "Jefferson",
                        "last_name": "Souza",
                        "gender": "M",
                        "phone_number": "+55 (27) 99578-6767",
                        "birth_date": "1988-05-11",
                        "address": null,
                        "use_boleto": true,
                        "status": 10,
                        "status_label": "Ativo",
                        "created_at": "2023-07-10 21:24:48",
                        "updated_at": "2023-10-20 15:23:02"
                    },
                    "name": "5/10 - Crediário #1",
                    "amount": 10000,
                    "amount_refunded": 0,
                    "fee_value": null,
                    "refunded_fee": 0,
                    "installments": 1,
                    "is_recurrent": false,
                    "recurrence_code": null,
                    "frequency": null,
                    "method": 50,
                    "method_label": "Crediário Boleto",
                    "method_slug": null,
                    "boleto": {
                        "id": 8,
                        "linha_digitavel": "00190000090341722699499999992177895790000010000",
                        "sequencial_code": 9999999992,
                        "nosso_numero": "00034172269999999992",
                        "codigo_barras": "00198957900000100000000003417226999999999217",
                        "due_date": "2023-12-29T03:00:00.000000Z",
                        "issue_date": "2023-07-29T03:00:00.000000Z",
                        "amount": 100,
                        "interest": null,
                        "fine": null,
                        "accept_after_due_date": null,
                        "boleto_url": "https://api.webpag.com.br/r/69e845ec-39f4"
                    },
                    "notification_url": null,
                    "pix": null,
                    "installments_paid": 0,
                    "spplited": false,
                    "soft_descriptor": null,
                    "order_id": null,
                    "active": true,
                    "status": 60,
                    "status_label": "Cancelado",
                    "start_date": null,
                    "next_date": null,
                    "next_recurrence_date": null,
                    "refunds": [],
                    "created_at": "2023-07-29 21:57",
                    "paid_at": null,
                    "updated_at": "2025-10-13 06:43",
                    "receipt_pdf_path": "https://api.webpag.com.br/payments/6633ac8ea9615b48e5336f0c9/pdf",
                    "card_flag": null,
                    "card_flag_label": null
                }
            },
            {
                "id": 6,
                "installment_plan_id": 1,
                "payment_id": 457,
                "code": "64c5b55a3733f",
                "due_date": "2024-01-29 00:00:00",
                "liquidation_date": null,
                "payment_info": null,
                "number": 6,
                "amount": "100.00",
                "status": 40,
                "status_label": "Cancelado",
                "payment": {
                    "id": 457,
                    "business": {
                        "id": 10,
                        "name": "Empresa deletada"
                    },
                    "payer_id": 209,
                    "card_id": null,
                    "payer": {
                        "id": 209,
                        "cpf_cnpj": "05920092700",
                        "is_business": false,
                        "email": "jefferson@ectechnologies.com.br",
                        "first_name": "Jefferson",
                        "last_name": "Souza",
                        "gender": "M",
                        "phone_number": "+55 (27) 99578-6767",
                        "birth_date": "1988-05-11",
                        "address": null,
                        "use_boleto": true,
                        "status": 10,
                        "status_label": "Ativo",
                        "created_at": "2023-07-10 21:24:48",
                        "updated_at": "2023-10-20 15:23:02"
                    },
                    "name": "6/10 - Crediário #1",
                    "amount": 10000,
                    "amount_refunded": 0,
                    "fee_value": null,
                    "refunded_fee": 0,
                    "installments": 1,
                    "is_recurrent": false,
                    "recurrence_code": null,
                    "frequency": null,
                    "method": 50,
                    "method_label": "Crediário Boleto",
                    "method_slug": null,
                    "boleto": {
                        "id": 9,
                        "linha_digitavel": "00190000090341722699499999991179996100000010000",
                        "sequencial_code": 9999999991,
                        "nosso_numero": "00034172269999999991",
                        "codigo_barras": "00199961000000100000000003417226999999999117",
                        "due_date": "2024-01-29T03:00:00.000000Z",
                        "issue_date": "2023-07-29T03:00:00.000000Z",
                        "amount": 100,
                        "interest": null,
                        "fine": null,
                        "accept_after_due_date": null,
                        "boleto_url": "https://api.webpag.com.br/r/9501ed28-17df"
                    },
                    "notification_url": null,
                    "pix": null,
                    "installments_paid": 0,
                    "spplited": false,
                    "soft_descriptor": null,
                    "order_id": null,
                    "active": true,
                    "status": 60,
                    "status_label": "Cancelado",
                    "start_date": null,
                    "next_date": null,
                    "next_recurrence_date": null,
                    "refunds": [],
                    "created_at": "2023-07-29 21:57",
                    "paid_at": null,
                    "updated_at": "2025-10-13 06:43",
                    "receipt_pdf_path": "https://api.webpag.com.br/payments/b058cab9327727c397921a743/pdf",
                    "card_flag": null,
                    "card_flag_label": null
                }
            },
            {
                "id": 7,
                "installment_plan_id": 1,
                "payment_id": 458,
                "code": "64c5b55a3a029",
                "due_date": "2024-02-29 00:00:00",
                "liquidation_date": null,
                "payment_info": null,
                "number": 7,
                "amount": "100.00",
                "status": 40,
                "status_label": "Cancelado",
                "payment": {
                    "id": 458,
                    "business": {
                        "id": 10,
                        "name": "Empresa deletada"
                    },
                    "payer_id": 209,
                    "card_id": null,
                    "payer": {
                        "id": 209,
                        "cpf_cnpj": "05920092700",
                        "is_business": false,
                        "email": "jefferson@ectechnologies.com.br",
                        "first_name": "Jefferson",
                        "last_name": "Souza",
                        "gender": "M",
                        "phone_number": "+55 (27) 99578-6767",
                        "birth_date": "1988-05-11",
                        "address": null,
                        "use_boleto": true,
                        "status": 10,
                        "status_label": "Ativo",
                        "created_at": "2023-07-10 21:24:48",
                        "updated_at": "2023-10-20 15:23:02"
                    },
                    "name": "7/10 - Crediário #1",
                    "amount": 10000,
                    "amount_refunded": 0,
                    "fee_value": null,
                    "refunded_fee": 0,
                    "installments": 1,
                    "is_recurrent": false,
                    "recurrence_code": null,
                    "frequency": null,
                    "method": 50,
                    "method_label": "Crediário Boleto",
                    "method_slug": null,
                    "boleto": {
                        "id": 10,
                        "linha_digitavel": "00190000090341722699499999990171196410000010000",
                        "sequencial_code": 9999999990,
                        "nosso_numero": "00034172269999999990",
                        "codigo_barras": "00191964100000100000000003417226999999999017",
                        "due_date": "2024-02-29T03:00:00.000000Z",
                        "issue_date": "2023-07-29T03:00:00.000000Z",
                        "amount": 100,
                        "interest": null,
                        "fine": null,
                        "accept_after_due_date": null,
                        "boleto_url": "https://api.webpag.com.br/r/97915983-5822"
                    },
                    "notification_url": null,
                    "pix": null,
                    "installments_paid": 0,
                    "spplited": false,
                    "soft_descriptor": null,
                    "order_id": null,
                    "active": true,
                    "status": 60,
                    "status_label": "Cancelado",
                    "start_date": null,
                    "next_date": null,
                    "next_recurrence_date": null,
                    "refunds": [],
                    "created_at": "2023-07-29 21:57",
                    "paid_at": null,
                    "updated_at": "2025-10-13 06:43",
                    "receipt_pdf_path": "https://api.webpag.com.br/payments/7fa920445ed2a3846c06af665/pdf",
                    "card_flag": null,
                    "card_flag_label": null
                }
            },
            {
                "id": 8,
                "installment_plan_id": 1,
                "payment_id": 459,
                "code": "64c5b55a3b2b9",
                "due_date": "2024-03-29 00:00:00",
                "liquidation_date": null,
                "payment_info": null,
                "number": 8,
                "amount": "100.00",
                "status": 40,
                "status_label": "Cancelado",
                "payment": {
                    "id": 459,
                    "business": {
                        "id": 10,
                        "name": "Empresa deletada"
                    },
                    "payer_id": 209,
                    "card_id": null,
                    "payer": {
                        "id": 209,
                        "cpf_cnpj": "05920092700",
                        "is_business": false,
                        "email": "jefferson@ectechnologies.com.br",
                        "first_name": "Jefferson",
                        "last_name": "Souza",
                        "gender": "M",
                        "phone_number": "+55 (27) 99578-6767",
                        "birth_date": "1988-05-11",
                        "address": null,
                        "use_boleto": true,
                        "status": 10,
                        "status_label": "Ativo",
                        "created_at": "2023-07-10 21:24:48",
                        "updated_at": "2023-10-20 15:23:02"
                    },
                    "name": "8/10 - Crediário #1",
                    "amount": 10000,
                    "amount_refunded": 0,
                    "fee_value": null,
                    "refunded_fee": 0,
                    "installments": 1,
                    "is_recurrent": false,
                    "recurrence_code": null,
                    "frequency": null,
                    "method": 50,
                    "method_label": "Crediário Boleto",
                    "method_slug": null,
                    "boleto": {
                        "id": 11,
                        "linha_digitavel": "00190000090341722699499999989173196700000010000",
                        "sequencial_code": 9999999989,
                        "nosso_numero": "00034172269999999989",
                        "codigo_barras": "00191967000000100000000003417226999999998917",
                        "due_date": "2024-03-29T03:00:00.000000Z",
                        "issue_date": "2023-07-29T03:00:00.000000Z",
                        "amount": 100,
                        "interest": null,
                        "fine": null,
                        "accept_after_due_date": null,
                        "boleto_url": "https://api.webpag.com.br/r/42b79469-f29a"
                    },
                    "notification_url": null,
                    "pix": null,
                    "installments_paid": 0,
                    "spplited": false,
                    "soft_descriptor": null,
                    "order_id": null,
                    "active": true,
                    "status": 60,
                    "status_label": "Cancelado",
                    "start_date": null,
                    "next_date": null,
                    "next_recurrence_date": null,
                    "refunds": [],
                    "created_at": "2023-07-29 21:57",
                    "paid_at": null,
                    "updated_at": "2025-10-13 06:43",
                    "receipt_pdf_path": "https://api.webpag.com.br/payments/56fca9d74f377a6f148db3dcf/pdf",
                    "card_flag": null,
                    "card_flag_label": null
                }
            },
            {
                "id": 9,
                "installment_plan_id": 1,
                "payment_id": 460,
                "code": "64c5b55a3c463",
                "due_date": "2024-04-29 00:00:00",
                "liquidation_date": null,
                "payment_info": null,
                "number": 9,
                "amount": "100.00",
                "status": 40,
                "status_label": "Cancelado",
                "payment": {
                    "id": 460,
                    "business": {
                        "id": 10,
                        "name": "Empresa deletada"
                    },
                    "payer_id": 209,
                    "card_id": null,
                    "payer": {
                        "id": 209,
                        "cpf_cnpj": "05920092700",
                        "is_business": false,
                        "email": "jefferson@ectechnologies.com.br",
                        "first_name": "Jefferson",
                        "last_name": "Souza",
                        "gender": "M",
                        "phone_number": "+55 (27) 99578-6767",
                        "birth_date": "1988-05-11",
                        "address": null,
                        "use_boleto": true,
                        "status": 10,
                        "status_label": "Ativo",
                        "created_at": "2023-07-10 21:24:48",
                        "updated_at": "2023-10-20 15:23:02"
                    },
                    "name": "9/10 - Crediário #1",
                    "amount": 10000,
                    "amount_refunded": 0,
                    "fee_value": null,
                    "refunded_fee": 0,
                    "installments": 1,
                    "is_recurrent": false,
                    "recurrence_code": null,
                    "frequency": null,
                    "method": 50,
                    "method_label": "Crediário Boleto",
                    "method_slug": null,
                    "boleto": {
                        "id": 12,
                        "linha_digitavel": "00190000090341722699499999988175297010000010000",
                        "sequencial_code": 9999999988,
                        "nosso_numero": "00034172269999999988",
                        "codigo_barras": "00192970100000100000000003417226999999998817",
                        "due_date": "2024-04-29T03:00:00.000000Z",
                        "issue_date": "2023-07-29T03:00:00.000000Z",
                        "amount": 100,
                        "interest": null,
                        "fine": null,
                        "accept_after_due_date": null,
                        "boleto_url": "https://api.webpag.com.br/r/2046481d-165f"
                    },
                    "notification_url": null,
                    "pix": null,
                    "installments_paid": 0,
                    "spplited": false,
                    "soft_descriptor": null,
                    "order_id": null,
                    "active": true,
                    "status": 60,
                    "status_label": "Cancelado",
                    "start_date": null,
                    "next_date": null,
                    "next_recurrence_date": null,
                    "refunds": [],
                    "created_at": "2023-07-29 21:57",
                    "paid_at": null,
                    "updated_at": "2025-10-13 06:43",
                    "receipt_pdf_path": "https://api.webpag.com.br/payments/0577bbc9ae8d32f9280e3f4d3/pdf",
                    "card_flag": null,
                    "card_flag_label": null
                }
            },
            {
                "id": 10,
                "installment_plan_id": 1,
                "payment_id": 461,
                "code": "64c5b55a3d787",
                "due_date": "2024-05-29 00:00:00",
                "liquidation_date": null,
                "payment_info": null,
                "number": 10,
                "amount": "100.00",
                "status": 40,
                "status_label": "Cancelado",
                "payment": {
                    "id": 461,
                    "business": {
                        "id": 10,
                        "name": "Empresa deletada"
                    },
                    "payer_id": 209,
                    "card_id": null,
                    "payer": {
                        "id": 209,
                        "cpf_cnpj": "05920092700",
                        "is_business": false,
                        "email": "jefferson@ectechnologies.com.br",
                        "first_name": "Jefferson",
                        "last_name": "Souza",
                        "gender": "M",
                        "phone_number": "+55 (27) 99578-6767",
                        "birth_date": "1988-05-11",
                        "address": null,
                        "use_boleto": true,
                        "status": 10,
                        "status_label": "Ativo",
                        "created_at": "2023-07-10 21:24:48",
                        "updated_at": "2023-10-20 15:23:02"
                    },
                    "name": "10/10 - Crediário #1",
                    "amount": 10000,
                    "amount_refunded": 0,
                    "fee_value": null,
                    "refunded_fee": 0,
                    "installments": 1,
                    "is_recurrent": false,
                    "recurrence_code": null,
                    "frequency": null,
                    "method": 50,
                    "method_label": "Crediário Boleto",
                    "method_slug": null,
                    "boleto": {
                        "id": 13,
                        "linha_digitavel": "00190000090341722699499999987177197310000010000",
                        "sequencial_code": 9999999987,
                        "nosso_numero": "00034172269999999987",
                        "codigo_barras": "00191973100000100000000003417226999999998717",
                        "due_date": "2024-05-29T03:00:00.000000Z",
                        "issue_date": "2023-07-29T03:00:00.000000Z",
                        "amount": 100,
                        "interest": null,
                        "fine": null,
                        "accept_after_due_date": null,
                        "boleto_url": "https://api.webpag.com.br/r/c2f602fe-4a15"
                    },
                    "notification_url": null,
                    "pix": null,
                    "installments_paid": 0,
                    "spplited": false,
                    "soft_descriptor": null,
                    "order_id": null,
                    "active": true,
                    "status": 60,
                    "status_label": "Cancelado",
                    "start_date": null,
                    "next_date": null,
                    "next_recurrence_date": null,
                    "refunds": [],
                    "created_at": "2023-07-29 21:57",
                    "paid_at": null,
                    "updated_at": "2025-10-13 06:43",
                    "receipt_pdf_path": "https://api.webpag.com.br/payments/4dd4462d29799375f740c06e5/pdf",
                    "card_flag": null,
                    "card_flag_label": null
                }
            }
        ]
    }
}
 

Requisição   

GET api/installments/{installmentPlan_id}

Cabeçalhos

auth-token      

Example: {CHAVE_API}

Content-Type      

Example: application/json

Accept      

Example: application/json

Parâmetros de URL

installmentPlan_id   integer   

The ID of the installmentPlan. Example: 1

installmentPlan   integer   

O ID do crediário. Example: 125

Empresa

Verificar autenticação do usuário

requires authentication

Utilizado para autenticar e verificar um usuário da empresa no sistema.

Exemplo de Requisição:
$client = new \GuzzleHttp\Client();
$url = 'https://api.webpag.com.br/api/authenticate';
$response = $client->post(
    $url,
    [
        'headers' => [
            'auth-token' => '{CHAVE_API}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'json' => [
            'email' => 'jace.hamill@example.net',
            'password' => '[s2R[NnJ(Y0bdbJ1k=q\'',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request POST \
    "https://api.webpag.com.br/api/authenticate" \
    --header "auth-token: {CHAVE_API}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"email\": \"jace.hamill@example.net\",
    \"password\": \"[s2R[NnJ(Y0bdbJ1k=q\'\"
}"

Exemplo de Resposta (200):


{
    "id": 1,
    "business_id": 123,
    "email": "user@example.com",
    "name": "Nome do Usuário"
}
 

Exemplo de Resposta (401):


{
    "message": "Unauthorized"
}
 

Requisição   

POST api/authenticate

Cabeçalhos

auth-token      

Example: {CHAVE_API}

Content-Type      

Example: application/json

Accept      

Example: application/json

Parâmetros do Corpo

email   string   

O endereço de e-mail do usuário. Exemplo: user@example.com Example: jace.hamill@example.net

password   string   

A senha do usuário. Exemplo: secret123 Example: [s2R[NnJ(Y0bdbJ1k=q'

Dados da empresa logada

requires authentication

Retorna os dados da empresa em que o auth-token está associado.

Exemplo de Requisição:
$client = new \GuzzleHttp\Client();
$url = 'https://api.webpag.com.br/api/me';
$response = $client->get(
    $url,
    [
        'headers' => [
            'auth-token' => '{CHAVE_API}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request GET \
    --get "https://api.webpag.com.br/api/me" \
    --header "auth-token: {CHAVE_API}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Exemplo de Resposta (200):


{
    "id": 1,
    "name": "Empresa Exemplo",
    "notification_email": "empresa@example.com",
    "cnpj": "12.345.678/0001-99"
}
 

Requisição   

GET api/me

Cabeçalhos

auth-token      

Example: {CHAVE_API}

Content-Type      

Example: application/json

Accept      

Example: application/json

Chave publica para tokenizacao do cartao

requires authentication

Para facilitar a integração no frontend, recomendamos o uso do pacote oficial NPM: https://www.npmjs.com/package/@webpag/card-tokenizer/

Exemplo de Requisição:
$client = new \GuzzleHttp\Client();
$url = 'https://api.webpag.com.br/api/card-token/public-key';
$response = $client->get(
    $url,
    [
        'headers' => [
            'auth-token' => '{CHAVE_API}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request GET \
    --get "https://api.webpag.com.br/api/card-token/public-key" \
    --header "auth-token: {CHAVE_API}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Exemplo de Resposta (200):


{
    "public_key": "<base64 key>"
}
 

Requisição   

GET api/card-token/public-key

Cabeçalhos

auth-token      

Example: {CHAVE_API}

Content-Type      

Example: application/json

Accept      

Example: application/json

Criar uma nova filial

requires authentication

Cria uma nova filial vinculada à empresa autenticada como matriz. A Filial herda todas as configurações de taxas da matriz. Dados que não forem passados como parâmetro serão herdado da matriz.

Exemplo de Requisição:
$client = new \GuzzleHttp\Client();
$url = 'https://api.webpag.com.br/api/franchises';
$response = $client->post(
    $url,
    [
        'headers' => [
            'auth-token' => '{CHAVE_API}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'json' => [
            'razao_social' => 'Filial Norte LTDA',
            'cnpj' => '12.345.678/0001-99',
            'transfer_frequency' => 7,
            'credit_installment_limit' => 12,
            'notification_email' => 'Filial@exemplo.com',
            'gateway_name' => 'FilialNorte',
            'account_bank_code' => '341',
            'account_type' => 'F',
            'account_holder' => 'Empresa Filial LTDA',
            'account_document' => '12.345.678/0001-99',
            'account_agency' => '1234',
            'account_number' => '12345-6',
            'pix_key_type' => 20,
            'pix_key' => '12345678000199',
            'phone_number' => '(41) 99999-9999',
            'address' => [
                'street' => 'Rua Exemplo',
                'number' => '123',
                'city' => 'Curitiba',
            ],
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request POST \
    "https://api.webpag.com.br/api/franchises" \
    --header "auth-token: {CHAVE_API}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"razao_social\": \"Filial Norte LTDA\",
    \"cnpj\": \"12.345.678\\/0001-99\",
    \"transfer_frequency\": 7,
    \"credit_installment_limit\": 12,
    \"notification_email\": \"Filial@exemplo.com\",
    \"gateway_name\": \"FilialNorte\",
    \"account_bank_code\": \"341\",
    \"account_type\": \"F\",
    \"account_holder\": \"Empresa Filial LTDA\",
    \"account_document\": \"12.345.678\\/0001-99\",
    \"account_agency\": \"1234\",
    \"account_number\": \"12345-6\",
    \"pix_key_type\": 20,
    \"pix_key\": \"12345678000199\",
    \"phone_number\": \"(41) 99999-9999\",
    \"address\": {
        \"street\": \"Rua Exemplo\",
        \"number\": \"123\",
        \"city\": \"Curitiba\"
    }
}"

Exemplo de Resposta (200):


{
    "data": {
        "franchise": {
            "id": 306,
            "name": "Franquia Norte LTDA"
        },
        "api_token": "c5cab386-88d5-43e4-8ca2-b433d4307abb"
    }
}
 

Requisição   

POST api/franchises

Cabeçalhos

auth-token      

Example: {CHAVE_API}

Content-Type      

Example: application/json

Accept      

Example: application/json

Parâmetros do Corpo

razao_social   string   

A razão social da Filial. Example: Filial Norte LTDA

cnpj   string   

O CNPJ da Filial. Example: 12.345.678/0001-99

transfer_frequency   integer  optional  

Frequência de transferência em dias, se for 0 ou vazio não transfere automaticamente. Example: 7

credit_installment_limit   integer  optional  

Limite de parcelas no crédito (0-18). Example: 12

notification_email   string  optional  

O e-mail de notificações da Filial. Example: Filial@exemplo.com

gateway_name   string  optional  

Nome que aparece na fatura do cartão. Máximo 13 caracteres. Example: FilialNorte

account_bank_code   string  optional  

Código do banco. Example: 341

account_type   string  optional  

Tipo da conta (F, J). Example: F

account_holder   string  optional  

Nome do titular da conta. Example: Empresa Filial LTDA

account_document   string  optional  

Documento do titular (CPF ou CNPJ). Example: 12.345.678/0001-99

account_agency   string  optional  

Agência bancária. Example: 1234

account_number   string  optional  

Número da conta. Example: 12345-6

pix_key_type   integer  optional  

Tipo da chave PIX (0=Não tem, 10=CPF, 20=CNPJ, 30=E-mail, 40=Telefone, 50=Aleatório). Example: 20

pix_key   string  optional  

Chave PIX (obrigatório se pix_key_type != 0). Example: 12345678000199

phone_number   string  optional  

Telefone da empresa. Example: (41) 99999-9999

address   object  optional  

Endereço da empresa.

Link de pagamento

requires authentication

Exemplo de Requisição:
$client = new \GuzzleHttp\Client();
$url = 'https://api.webpag.com.br/api/payment-links';
$response = $client->get(
    $url,
    [
        'headers' => [
            'auth-token' => '{CHAVE_API}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request GET \
    --get "https://api.webpag.com.br/api/payment-links" \
    --header "auth-token: {CHAVE_API}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Exemplo de Resposta (200):


{
    "data": [
        {
            "id": 4005,
            "payer_id": 241850,
            "expire_after_usage": null,
            "name": "dolores exercitationem ex",
            "description": "Voluptatem corporis vel quae magni vel qui aperiam harum.",
            "value": 687600,
            "is_recurrence": true,
            "frequency": "monthly",
            "pix_enabled": true,
            "credit_enabled": true,
            "boleto_enabled": false,
            "due_date_boleto": 18,
            "accept_after_due_date": false,
            "number_installments": 10,
            "recurrence_time": 11,
            "url": "https://api.webpag.com.br/payment-link/4005/Mw6adbFq48RbufDc",
            "return_url": "http://smith.com/expedita-magni-magnam-voluptas-iusto"
        },
        {
            "id": 35,
            "payer_id": 241852,
            "expire_after_usage": null,
            "name": "fugiat impedit ut",
            "description": "Quidem voluptatum modi natus quam et qui autem.",
            "value": 6015400,
            "is_recurrence": true,
            "frequency": "yearly",
            "pix_enabled": true,
            "credit_enabled": false,
            "boleto_enabled": true,
            "due_date_boleto": 8,
            "accept_after_due_date": true,
            "number_installments": 1,
            "recurrence_time": 3,
            "url": "https://api.webpag.com.br/payment-link/35/9HkRW5slhC7LJbXI",
            "return_url": "http://wolf.com/"
        }
    ]
}
 

requires authentication

Exemplo de Requisição:
$client = new \GuzzleHttp\Client();
$url = 'https://api.webpag.com.br/api/payment-links/register';
$response = $client->post(
    $url,
    [
        'headers' => [
            'auth-token' => '{CHAVE_API}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'json' => [
            'accepted_methods' => [
                'credit_card',
                'pix',
            ],
            'name' => 'Pagamento de teste',
            'description' => 'Pagamento de teste',
            'value' => 1000,
            'validity' => '2025-01-01 15:00',
            'validity_boleto' => 3,
            'number_installments' => 12,
            'is_recurrence' => false,
            'recurrence_time' => 12,
            'payer_id' => 6,
            'expire_after_usage' => false,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request POST \
    "https://api.webpag.com.br/api/payment-links/register" \
    --header "auth-token: {CHAVE_API}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"accepted_methods\": [
        \"credit_card\",
        \"pix\"
    ],
    \"name\": \"Pagamento de teste\",
    \"description\": \"Pagamento de teste\",
    \"value\": 1000,
    \"validity\": \"2025-01-01 15:00\",
    \"validity_boleto\": 3,
    \"number_installments\": 12,
    \"is_recurrence\": false,
    \"recurrence_time\": 12,
    \"payer_id\": 6,
    \"expire_after_usage\": false
}"

Exemplo de Resposta (200):


{
    "data": {
        "id": 2,
        "payer_id": 241854,
        "expire_after_usage": null,
        "name": "ea est fuga",
        "description": "Dolor nostrum ut minus.",
        "value": 598900,
        "is_recurrence": false,
        "frequency": "yearly",
        "pix_enabled": true,
        "credit_enabled": true,
        "boleto_enabled": false,
        "due_date_boleto": 2,
        "accept_after_due_date": true,
        "number_installments": 1,
        "recurrence_time": 4,
        "url": "https://api.webpag.com.br/payment-link/2/5MbqU02oWINF1h1T",
        "return_url": "https://monahan.net/debitis-culpa-sapiente-totam-nam-sit.html"
    }
}
 

Pagador

Listar os pagadores cadastrados

requires authentication

Exemplo de Requisição:
$client = new \GuzzleHttp\Client();
$url = 'https://api.webpag.com.br/api/payers';
$response = $client->get(
    $url,
    [
        'headers' => [
            'auth-token' => '{CHAVE_API}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request GET \
    --get "https://api.webpag.com.br/api/payers" \
    --header "auth-token: {CHAVE_API}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Exemplo de Resposta (200):


{
    "data": [
        {
            "id": 241842,
            "cpf_cnpj": "55784071459",
            "is_business": false,
            "email": "qwolff@example.com",
            "first_name": "labore",
            "last_name": "similique",
            "gender": "F",
            "phone_number": "+55 (27) 99988-7766",
            "birth_date": "1990-01-27",
            "address": {
                "city": "Colatina",
                "state": "SP",
                "number": "99999",
                "street": "Rua dos Milagres",
                "country": "BR",
                "district": "Santa Efigênia",
                "zip_code": "39777-999"
            },
            "use_boleto": false,
            "status": 10,
            "status_label": "Ativo",
            "created_at": "2026-07-21 15:21:13",
            "updated_at": "2026-07-21 15:21:13"
        },
        {
            "id": 241843,
            "cpf_cnpj": "20387161295",
            "is_business": false,
            "email": "emerson01@example.com",
            "first_name": "vel",
            "last_name": "ut",
            "gender": "F",
            "phone_number": "+55 (27) 99988-7766",
            "birth_date": "1974-07-09",
            "address": {
                "city": "Colatina",
                "state": "SP",
                "number": "99999",
                "street": "Rua dos Milagres",
                "country": "BR",
                "district": "Santa Efigênia",
                "zip_code": "39777-999"
            },
            "use_boleto": false,
            "status": 10,
            "status_label": "Ativo",
            "created_at": "2026-07-21 15:21:13",
            "updated_at": "2026-07-21 15:21:13"
        }
    ]
}
 

Requisição   

GET api/payers

Cabeçalhos

auth-token      

Example: {CHAVE_API}

Content-Type      

Example: application/json

Accept      

Example: application/json

Retorna dados de um pagador pelo ID

requires authentication

Exemplo de Requisição:
$client = new \GuzzleHttp\Client();
$url = 'https://api.webpag.com.br/api/payers/22';
$response = $client->get(
    $url,
    [
        'headers' => [
            'auth-token' => '{CHAVE_API}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request GET \
    --get "https://api.webpag.com.br/api/payers/22" \
    --header "auth-token: {CHAVE_API}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Exemplo de Resposta (200):


{
    "data": {
        "id": 241844,
        "cpf_cnpj": "15983867270",
        "is_business": false,
        "email": "rdach@example.org",
        "first_name": "at",
        "last_name": "iste",
        "gender": "F",
        "phone_number": "+55 (27) 99988-7766",
        "birth_date": "1992-02-10",
        "address": {
            "city": "Colatina",
            "state": "SP",
            "number": "99999",
            "street": "Rua dos Milagres",
            "country": "BR",
            "district": "Santa Efigênia",
            "zip_code": "39777-999"
        },
        "use_boleto": true,
        "status": 10,
        "status_label": "Ativo",
        "created_at": "2026-07-21 15:21:13",
        "updated_at": "2026-07-21 15:21:13"
    }
}
 

Requisição   

GET api/payers/{payer_id}

Cabeçalhos

auth-token      

Example: {CHAVE_API}

Content-Type      

Example: application/json

Accept      

Example: application/json

Parâmetros de URL

payer_id   integer   

The ID of the payer. Example: 22

Registra um pagador

requires authentication

Exemplo de Requisição:
$client = new \GuzzleHttp\Client();
$url = 'https://api.webpag.com.br/api/payers/register';
$response = $client->post(
    $url,
    [
        'headers' => [
            'auth-token' => '{CHAVE_API}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'json' => [
            'first_name' => 'João',
            'last_name' => 'Silva',
            'email' => 'stoltenberg.raphaelle@example.org',
            'is_business' => false,
            'cpf_cnpj' => '82110880023',
            'phone_number' => '41999998888',
            'birth_date' => '1998-01-05',
            'address' => [
                'zip_code' => '80000-000',
                'street' => 'Rua das Flores',
                'number' => '231',
                'district' => 'Centro',
                'city' => 'Curitiba',
                'state' => 'PR',
                'country' => 'BR',
            ],
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request POST \
    "https://api.webpag.com.br/api/payers/register" \
    --header "auth-token: {CHAVE_API}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"first_name\": \"João\",
    \"last_name\": \"Silva\",
    \"email\": \"stoltenberg.raphaelle@example.org\",
    \"is_business\": false,
    \"cpf_cnpj\": \"82110880023\",
    \"phone_number\": \"41999998888\",
    \"birth_date\": \"1998-01-05\",
    \"address\": {
        \"zip_code\": \"80000-000\",
        \"street\": \"Rua das Flores\",
        \"number\": \"231\",
        \"district\": \"Centro\",
        \"city\": \"Curitiba\",
        \"state\": \"PR\",
        \"country\": \"BR\"
    }
}"

Exemplo de Resposta (200):


{
    "data": {
        "id": 241845,
        "cpf_cnpj": "62681842204",
        "is_business": false,
        "email": "orosenbaum@example.org",
        "first_name": "dolores",
        "last_name": "laborum",
        "gender": "F",
        "phone_number": "+55 (27) 99988-7766",
        "birth_date": "2015-06-13",
        "address": {
            "city": "Colatina",
            "state": "SP",
            "number": "99999",
            "street": "Rua dos Milagres",
            "country": "BR",
            "district": "Santa Efigênia",
            "zip_code": "39777-999"
        },
        "use_boleto": true,
        "status": 10,
        "status_label": "Ativo",
        "created_at": "2026-07-21 15:21:13",
        "updated_at": "2026-07-21 15:21:13"
    }
}
 

Requisição   

POST api/payers/register

Cabeçalhos

auth-token      

Example: {CHAVE_API}

Content-Type      

Example: application/json

Accept      

Example: application/json

Parâmetros do Corpo

first_name   string   

O primeiro nome do usuário. Example: João

last_name   string   

O sobrenome do usuário. Example: Silva

email   string  optional  

O endereço de e-mail do usuário. Deve ser um e-mail válido. Example: stoltenberg.raphaelle@example.org

is_business   boolean   

Indica se o pagador é CNPJ. Example: false

cpf_cnpj   string   

O CPF ou CNPJ do usuário. CPF válido se tiver 11 dígitos, CNPJ válido se tiver 14 dígitos. Example: 82110880023

phone_number   string  optional  

O número de telefone do usuário, deve incluir o código de área. Example: 41999998888

gender   string  optional  

O gênero do usuário, pode ser 'M' (masculino) ou 'F' (feminino).

birth_date   date  optional  

A data de nascimento do usuário no formato 'Y-m-d'. Example: 1998-01-05

address   object  optional  

O endereço do usuário

zip_code   string  optional  

O CEP do endereço do usuário. Deve estar no formato válido de CEP brasileiro. Example: 80000-000

street   string  optional  

O nome da rua do endereço do usuário. Mínimo de 3 caracteres. Example: Rua das Flores

number   string  optional  

O número do endereço do usuário. Example 231 Example: eaque

district   string  optional  

O bairro do endereço do usuário. Example: Centro

city   string  optional  

A cidade do endereço do usuário. Example: Curitiba

state   string  optional  

O estado do endereço do usuário, deve ser uma sigla válida de estado brasileiro (UF). Example: PR

country   string  optional  

O código do país, deve ter até 3 caracteres. Example: BR

Atualiza um pagador pelo ID

requires authentication

Exemplo de Requisição:
$client = new \GuzzleHttp\Client();
$url = 'https://api.webpag.com.br/api/payers/illo/update';
$response = $client->put(
    $url,
    [
        'headers' => [
            'auth-token' => '{CHAVE_API}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'json' => [
            'first_name' => null,
            'last_name' => null,
            'email' => 'emmet80@example.com',
            'is_business' => null,
            'cpf_cnpj' => '82110880023',
            'phone_number' => '41999998888',
            'birth_date' => '1998-01-05',
            'address' => [
                'zip_code' => '80000-000',
                'street' => 'Rua das Flores',
                'number' => '231',
                'district' => 'Centro',
                'city' => 'Curitiba',
                'state' => 'PR',
                'country' => 'BR',
            ],
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request PUT \
    "https://api.webpag.com.br/api/payers/illo/update" \
    --header "auth-token: {CHAVE_API}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"first_name\": null,
    \"last_name\": null,
    \"email\": \"emmet80@example.com\",
    \"is_business\": null,
    \"cpf_cnpj\": \"82110880023\",
    \"phone_number\": \"41999998888\",
    \"birth_date\": \"1998-01-05\",
    \"address\": {
        \"zip_code\": \"80000-000\",
        \"street\": \"Rua das Flores\",
        \"number\": \"231\",
        \"district\": \"Centro\",
        \"city\": \"Curitiba\",
        \"state\": \"PR\",
        \"country\": \"BR\"
    }
}"

Exemplo de Resposta (200):


{
    "data": {
        "id": 241846,
        "cpf_cnpj": "76294325692",
        "is_business": false,
        "email": "reilly.billy@example.org",
        "first_name": "repellat",
        "last_name": "nisi",
        "gender": "F",
        "phone_number": "+55 (27) 99988-7766",
        "birth_date": "1981-07-06",
        "address": {
            "city": "Colatina",
            "state": "SP",
            "number": "99999",
            "street": "Rua dos Milagres",
            "country": "BR",
            "district": "Santa Efigênia",
            "zip_code": "39777-999"
        },
        "use_boleto": true,
        "status": 10,
        "status_label": "Ativo",
        "created_at": "2026-07-21 15:21:13",
        "updated_at": "2026-07-21 15:21:13"
    }
}
 

Requisição   

PUT api/payers/{id}/update

Cabeçalhos

auth-token      

Example: {CHAVE_API}

Content-Type      

Example: application/json

Accept      

Example: application/json

Parâmetros de URL

id   string   

The ID of the payer. Example: illo

Parâmetros do Corpo

first_name   string   

O primeiro nome do usuário.

last_name   string   

O sobrenome do usuário.

email   string   

O endereço de e-mail do usuário. Deve ser um e-mail válido. Example: emmet80@example.com

is_business   boolean   

Indica se o usuário é um pagador empresarial.

cpf_cnpj   string   

O CPF ou CNPJ do usuário. CPF válido se tiver 11 dígitos, CNPJ válido se tiver 14 dígitos. Example: 82110880023

phone_number   string  optional  

O número de telefone do usuário, deve incluir o código de área. Example: 41999998888

gender   string  optional  

O gênero do usuário, pode ser 'M' (masculino) ou 'F' (feminino).

birth_date   date  optional  

A data de nascimento do usuário no formato 'Y-m-d'. Example: 1998-01-05

address   object  optional  

O endereço do usuário

zip_code   string  optional  

O CEP do endereço do usuário. Deve estar no formato válido de CEP brasileiro. Example: 80000-000

street   string  optional  

O nome da rua do endereço do usuário. Mínimo de 3 caracteres. Example: Rua das Flores

number   string  optional  

O número do endereço do usuário. Example 231 Example: rem

district   string  optional  

O bairro do endereço do usuário. Example: Centro

city   string  optional  

A cidade do endereço do usuário. Example: Curitiba

state   string  optional  

O estado do endereço do usuário, deve ser uma sigla válida de estado brasileiro (UF). Example: PR

country   string  optional  

O código do país, deve ter até 3 caracteres. Example: BR

Inativa um pagador

requires authentication

Exemplo de Requisição:
$client = new \GuzzleHttp\Client();
$url = 'https://api.webpag.com.br/api/payers/22/inactivate';
$response = $client->put(
    $url,
    [
        'headers' => [
            'auth-token' => '{CHAVE_API}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request PUT \
    "https://api.webpag.com.br/api/payers/22/inactivate" \
    --header "auth-token: {CHAVE_API}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Exemplo de Resposta (200):


{
    "data": {
        "id": 241847,
        "cpf_cnpj": "75625844275",
        "is_business": false,
        "email": "schaefer.vinnie@example.com",
        "first_name": "harum",
        "last_name": "qui",
        "gender": "F",
        "phone_number": "+55 (27) 99988-7766",
        "birth_date": "1996-07-14",
        "address": {
            "city": "Colatina",
            "state": "SP",
            "number": "99999",
            "street": "Rua dos Milagres",
            "country": "BR",
            "district": "Santa Efigênia",
            "zip_code": "39777-999"
        },
        "use_boleto": true,
        "status": 10,
        "status_label": "Ativo",
        "created_at": "2026-07-21 15:21:13",
        "updated_at": "2026-07-21 15:21:13"
    }
}
 

Requisição   

PUT api/payers/{payer_id}/inactivate

Cabeçalhos

auth-token      

Example: {CHAVE_API}

Content-Type      

Example: application/json

Accept      

Example: application/json

Parâmetros de URL

payer_id   integer   

The ID of the payer. Example: 22

Salvar cartão para um pagador

requires authentication

Exemplo de Requisição:
$client = new \GuzzleHttp\Client();
$url = 'https://api.webpag.com.br/api/payers/voluptas/creditcard';
$response = $client->post(
    $url,
    [
        'headers' => [
            'auth-token' => '{CHAVE_API}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'json' => [
            'number' => '4111111111111111',
            'name' => 'João da Silva',
            'expiration_month' => '12',
            'expiration_year' => '2025',
            'security_code' => '999',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request POST \
    "https://api.webpag.com.br/api/payers/voluptas/creditcard" \
    --header "auth-token: {CHAVE_API}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"number\": \"4111111111111111\",
    \"name\": \"João da Silva\",
    \"expiration_month\": \"12\",
    \"expiration_year\": \"2025\",
    \"security_code\": \"999\"
}"

Exemplo de Resposta (200):


{
    "data": {
        "id": 335762,
        "last_numbers": "2093",
        "active": true,
        "created_at": "2026-07-21 15:21:13"
    }
}
 

Requisição   

POST api/payers/{id}/creditcard

Cabeçalhos

auth-token      

Example: {CHAVE_API}

Content-Type      

Example: application/json

Accept      

Example: application/json

Parâmetros de URL

id   string   

The ID of the payer. Example: voluptas

Parâmetros do Corpo

card_token   string  optional  

Token do cartão gerado no frontend. Quando informado, os campos do cartão são preenchidos automaticamente.

number   string   

O número do cartão de crédito. Example: 4111111111111111

name   string   

O nome no cartão de crédito. Example: João da Silva

expiration_month   string   

O mês de expiração do cartão de crédito (MM). Example: 12

expiration_year   string   

O ano de expiração do cartão de crédito (YYYY). Example: 2025

security_code   string   

O código de segurança do cartão de crédito (CVV). Example: 999

Remove um cartão de um pagador

requires authentication

Exemplo de Requisição:
$client = new \GuzzleHttp\Client();
$url = 'https://api.webpag.com.br/api/payers/cumque/creditcard/voluptas/remove';
$response = $client->delete(
    $url,
    [
        'headers' => [
            'auth-token' => '{CHAVE_API}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request DELETE \
    "https://api.webpag.com.br/api/payers/cumque/creditcard/voluptas/remove" \
    --header "auth-token: {CHAVE_API}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Requisição   

DELETE api/payers/{payerId}/creditcard/{cardId}/remove

Cabeçalhos

auth-token      

Example: {CHAVE_API}

Content-Type      

Example: application/json

Accept      

Example: application/json

Parâmetros de URL

payerId   string   

Example: cumque

cardId   string   

Example: voluptas

Pagamentos

Listar os pagamentos cadastrados

requires authentication

Exemplo de Requisição:
$client = new \GuzzleHttp\Client();
$url = 'https://api.webpag.com.br/api/payments';
$response = $client->get(
    $url,
    [
        'headers' => [
            'auth-token' => '{CHAVE_API}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request GET \
    --get "https://api.webpag.com.br/api/payments" \
    --header "auth-token: {CHAVE_API}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Exemplo de Resposta (200):


{
    "data": [
        {
            "id": 663339,
            "payer_id": 241855,
            "card_id": null,
            "name": "Giovanna Schulist DDS",
            "amount": 655,
            "amount_refunded": 0,
            "fee_value": "43.60",
            "refunded_fee": 0,
            "installments": 2,
            "is_recurrent": false,
            "recurrence_code": 63842944,
            "frequency": null,
            "method": 10,
            "method_label": "Cartão de Crédito",
            "method_slug": "credit_card",
            "boleto": {
                "id": 28046,
                "linha_digitavel": "586445366202990",
                "sequencial_code": 2586,
                "nosso_numero": "3473325714",
                "codigo_barras": "482154301028007",
                "due_date": null,
                "issue_date": null,
                "amount": 4924.75,
                "interest": "92.131",
                "fine": "15.237",
                "accept_after_due_date": null,
                "boleto_url": "https://api.webpag.com.br/r/d8ee08a3-05b7"
            },
            "notification_url": null,
            "pix": {
                "id": 426395,
                "uuid": null,
                "business_id": 8349,
                "payment_id": 663338,
                "name": "quod maiores et",
                "txid": "StJnhUXFvumkMz0vilU31YzftzoSeMEs",
                "key": "",
                "qrcode_data": "",
                "amount": "146.82",
                "expiration_date": "2026-07-22T18:21:13.000000Z",
                "status": 10,
                "created_at": "2026-07-21T18:21:13.000000Z",
                "updated_at": "2026-07-21T18:21:13.000000Z"
            },
            "installments_paid": 0,
            "spplited": false,
            "soft_descriptor": null,
            "order_id": null,
            "active": true,
            "status": 10,
            "status_label": "Aguardando",
            "start_date": "2026-03-02 12:27",
            "next_date": "2026-01-03 03:19",
            "next_recurrence_date": null,
            "created_at": "2025-11-22 00:54",
            "paid_at": "2026-06-16 17:08",
            "updated_at": "2025-10-22 09:05",
            "receipt_pdf_path": "https://api.webpag.com.br/payments/01KY2YJ5NAX532W3D8GTVR7J6B/pdf",
            "card_flag": 10,
            "card_flag_label": "Amex"
        },
        {
            "id": 663341,
            "payer_id": 241857,
            "card_id": null,
            "name": "Prof. Ayana Nikolaus",
            "amount": 386,
            "amount_refunded": 0,
            "fee_value": "8.43",
            "refunded_fee": 0,
            "installments": 6,
            "is_recurrent": false,
            "recurrence_code": 92301032,
            "frequency": null,
            "method": 10,
            "method_label": "Cartão de Crédito",
            "method_slug": "credit_card",
            "boleto": {
                "id": 28047,
                "linha_digitavel": "549464181360886",
                "sequencial_code": null,
                "nosso_numero": "9445268758",
                "codigo_barras": "918253341896080",
                "due_date": null,
                "issue_date": null,
                "amount": 5054.16,
                "interest": "80.058",
                "fine": "83.976",
                "accept_after_due_date": null,
                "boleto_url": "https://api.webpag.com.br/r/0a7526ce-d123"
            },
            "notification_url": null,
            "pix": {
                "id": 426396,
                "uuid": null,
                "business_id": 8355,
                "payment_id": 663340,
                "name": "autem voluptatibus illum",
                "txid": "Kc4F5DGidbe3XcXzkgQuGQIcWDAR47kB",
                "key": "",
                "qrcode_data": "",
                "amount": "233.22",
                "expiration_date": "2026-07-22T18:21:13.000000Z",
                "status": 10,
                "created_at": "2026-07-21T18:21:13.000000Z",
                "updated_at": "2026-07-21T18:21:13.000000Z"
            },
            "installments_paid": 0,
            "spplited": false,
            "soft_descriptor": null,
            "order_id": null,
            "active": true,
            "status": 10,
            "status_label": "Aguardando",
            "start_date": "2026-05-01 12:25",
            "next_date": "2025-09-19 14:34",
            "next_recurrence_date": null,
            "created_at": "2026-06-01 22:22",
            "paid_at": "2026-04-07 07:53",
            "updated_at": "2025-08-01 23:12",
            "receipt_pdf_path": "https://api.webpag.com.br/payments/01KY2YJ5PX4Y645MNN0NZ5SG5G/pdf",
            "card_flag": 10,
            "card_flag_label": "Amex"
        }
    ]
}
 

Requisição   

GET api/payments

Cabeçalhos

auth-token      

Example: {CHAVE_API}

Content-Type      

Example: application/json

Accept      

Example: application/json

Parâmetros de Consulta

payment_id   integer  optional  

O ID do pagamento.

payer_id   integer  optional  

O ID do pagador.

page   integer  optional  

O número da página. Padrão sendo 1.

created_at_start   string  optional  

A data inicial de criação no formato 'Y-m-d'.

created_at_end   string  optional  

A data final de criação no formato 'Y-m-d'.

paid_at_start   string  optional  

A data inicial de pagamento no formato 'Y-m-d'.

paid_at_end   string  optional  

A data final de pagamento no formato 'Y-m-d'.

status   integer  optional  

O status do pagamento. Valores possíveis: 10 (Aguardando), 20 (Processando), 30 (Recusado), 40 (Pago), 45 (Reembolso Parcial), 50 (Estornado), 60 (Cancelado), 70 (Contestado), 80 (Em Disputa), 90 (Em Contestação).

method   string  optional  

O método de pagamento. Um dos seguintes valores: "credit", "debit", "pix". (Substitua pelas opções reais da enumeração Method).

active   boolean  optional  

Indica se o pagamento está ativo. Um dos seguintes valores: "true", "false".

recurrence_code   integer  optional  

O código da recorrência.

is_recurrent   boolean  optional  

Indica se o pagamento é recorrente. Um dos seguintes valores: "true", "false".

order_id   string  optional  

O ID do pedido associado ao pagamento. Este número é informado pelo cliente na criação de um pagamento.

txid   string  optional  

O TXID do PIX associado ao pagamento para filtrar por transações PIX específicas.

Processar ou criar um pagamento

requires authentication

Quando informado o cartão, o pagamento é realizado no mesmo instante. Quando é boleto ou Pix, o pagamento é registrado e aguarda a compensação. Você poderá registrar o pagador e cartão de forma separada, e informar o ID do pagador.

Exemplo de Requisição:
$client = new \GuzzleHttp\Client();
$url = 'https://api.webpag.com.br/api/payments/process';
$response = $client->post(
    $url,
    [
        'headers' => [
            'auth-token' => '{CHAVE_API}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'json' => [
            'payer_id' => 15,
            'name' => 'Pagamento de teste',
            'amount' => 1500,
            'installments' => 1,
            'method' => 'credit_card',
            'card_token' => 'tok_01j9h8g7f6e5d4c3b2a1',
            'card' => [
                'number' => '4111111111111111',
                'name' => 'João da Silva',
                'expiration_month' => '12',
                'expiration_year' => '2024',
                'security_code' => '123',
            ],
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request POST \
    "https://api.webpag.com.br/api/payments/process" \
    --header "auth-token: {CHAVE_API}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"payer_id\": 15,
    \"name\": \"Pagamento de teste\",
    \"amount\": 1500,
    \"installments\": 1,
    \"method\": \"credit_card\",
    \"card_token\": \"tok_01j9h8g7f6e5d4c3b2a1\",
    \"card\": {
        \"number\": \"4111111111111111\",
        \"name\": \"João da Silva\",
        \"expiration_month\": \"12\",
        \"expiration_year\": \"2024\",
        \"security_code\": \"123\"
    }
}"

Exemplo de Resposta (200, Pagamento processado):


{
    "data": {
        "id": 2825,
        "business": {
            "id": 537,
            "name": "Empresa Exemplo"
        },
        "payer_id": 881,
        "card_id": null,
        "name": "Pagamento utilizando pix",
        "amount": 1000,
        "fee_value": "3.62",
        "installments": 1,
        "is_recurrent": false,
        "recurrence_code": null,
        "frequency": null,
        "order_id": "2159",
        "method": 30,
        "method_label": "Boleto",
        "method_slug": "bank_slip",
        "boleto": {
            "id": 265,
            "linha_digitavel": "00000000000000000000000000000000000000000000000",
            "sequencial_code": null,
            "nosso_numero": "1111",
            "codigo_barras": "00000000000000000000000000000000000000000000",
            "due_date": "2024-09-09T13:42:47.000000Z",
            "issue_date": "2024-09-06T13:42:47.000000Z",
            "amount": 10,
            "interest": "7.000",
            "fine": "4.000",
            "accept_after_due_date": true,
            "boleto_url": "http://localhost:81/r/048cfb0d-e9ed"
        },
        "notification_url": "https://exemplo.com.br/order-confirm/4df6e224-259e-444e-9245-93ad17aad277",
        "pix": {
            "id": 39,
            "uuid": "4222b7d7-0c98-4c48-b94a-49d23a98c245",
            "business_id": 45,
            "payment_id": 39488,
            "txid": "FdbMqfiIT2ki7FSKdMlofsNjzF",
            "key": "9e881f18-cc66-4fc7-8f2c-a795dbb2bfc1",
            "qrcode_data": "00020101021226870014br.gov.bcb.pix2565qrcodepix-h.bb.com.br/pix/v2/8c672b36-459e-48dc-aa14-0544186e321b520400005303986540550.005802BR5921EMPRESA EXEMPLO6012CIDADE EXEMPLO62070503***63044061",
            "amount": "50.00",
            "expiration_date": "2024-05-08T21:43:33.000000Z",
            "status": 10,
            "created_at": "2024-05-08T20:43:33.000000Z",
            "updated_at": "2024-05-08T20:43:33.000000Z"
        },
        "spplited": false,
        "gateway": "IUGU",
        "active": true,
        "status": 10,
        "status_label": "Disponível",
        "start_date": null,
        "next_date": null,
        "transactions": [
            {
                "id": 3830,
                "type": 10,
                "type_label": "Aprovação",
                "transaction_id": null,
                "response_status": "OK",
                "errors": null,
                "status": 10,
                "status_label": "Sucesso",
                "created_at": "2024-09-06 10:42"
            }
        ],
        "splits": [],
        "created_at": "2024-09-06 10:42",
        "paid_at": null,
        "updated_at": "2024-09-06 10:42",
        "receipt_pdf_path": "http://localhost:81/payments/71a4545b2c0275d50f02d561a/pdf",
        "card_flag": null,
        "card_flag_label": null
    }
}
 

Exemplo de Resposta (422, Erro ao processar):


{
    "error": "Erro ao processar pagamento",
    "error_code": 20,
    "error_previous": "Erro ao processar pagamento"
}
 

Requisição   

POST api/payments/process

Cabeçalhos

auth-token      

Example: {CHAVE_API}

Content-Type      

Example: application/json

Accept      

Example: application/json

Parâmetros do Corpo

payer_id   integer   

O ID do pagador. Example: 15

name   string   

O nome do pagamento. Mínimo de 3 caracteres. Example: Pagamento de teste

amount   integer   

O valor do pagamento em centavos. 1500 = R$ 15,00 Example: 1500

installments   integer  optional  

O número de parcelas, obrigatório se o método de pagamento for cartão de crédito. Example: 1

method   string   

O método de pagamento. Um dos seguintes valores: "credit_card", "pix", "bank_slip". Example: credit_card

notify_payer   boolean  optional  

Indica se o pagador será notificado.

card_payer_id   integer  optional  

O ID do cartão de crédito associado ao pagador, se aplicável.

card_token   string  optional  

Token do cartão gerado pela SDK de tokenização. Quando informado, não envie os dados brutos do cartão nem o card_payer_id. Example: tok_01j9h8g7f6e5d4c3b2a1

card   object  optional  

O objeto com os dados do cartão de crédito, caso card_payer_id ou card_token não seja informado.

number   string  optional  

O número do cartão de crédito. Deve ser um número de cartão válido.

name   string  optional  

O nome no cartão de crédito. Mínimo de 5 caracteres.

expiration_month   string  optional  

O mês de expiração do cartão de crédito no formato 'MM'.

expiration_year   string  optional  

O ano de expiração do cartão de crédito no formato 'YYYY'.

security_code   string  optional  

O código de segurança do cartão de crédito. Mínimo de 3 e máximo de 4 caracteres.

due_date   string  optional  

A data de vencimento do pagamento no formato "YYYY-MM-DD HH:MM". Se não informado, será calculada com base no método de pagamento (60 minutos para Pix).

accept_after_due_date   boolean  optional  

Indica se o pagamento (boleto) será aceito após a data de vencimento.

notification_url   string  optional  

A URL para onde as notificações de status do pagamento serão enviadas. O sistema enviará um Webhook para este link. Use BusinessWebhook configurado no painel em vez disso. Este parâmetro será removido em uma versão futura.

order_id   string  optional  

Utilizado para evitar pagamento duplicado com este valor. Você poderá informar o valor que o sistema externo usa para evitar duplicidade.

payment_link_id   string  optional  

O ID do link de pagamento associado.

soft_descriptor   string  optional  

O descritor exibido na fatura, Máximo de 16 caracteres.

splits   string[]  optional  

Array de splits dinâmicos. Quando informado, os splits configurados na empresa são ignorados. A soma dos valores efetivos (percentage + amount) de todos os splits não pode exceder o valor total do pagamento.

business_id   integer   

ID da empresa que receberá o split. Example: 10

percentage   numeric  optional  

Porcentagem do split (0-100). Example: 25.5

amount   integer  optional  

Valor fixo do split em centavos. Example: 1500

Estornar um pagamento

requires authentication

Estorna um pagamento específico. Por padrão, o valor total do pagamento é estornado. Para estornar um valor específico, informe o valor em centavos. O reembolso é processado de forma assíncrona. A resposta retorna o registro do reembolso com status "pending".

Exemplo de Requisição:
$client = new \GuzzleHttp\Client();
$url = 'https://api.webpag.com.br/api/payments/15/refund';
$response = $client->put(
    $url,
    [
        'headers' => [
            'auth-token' => '{CHAVE_API}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'json' => [
            'value' => 1500,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request PUT \
    "https://api.webpag.com.br/api/payments/15/refund" \
    --header "auth-token: {CHAVE_API}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"value\": 1500
}"

Exemplo de Resposta (200):


{
    "data": {
        "id": "277bddd5-cf57-4403-86a3-349e254efc4a",
        "payment_id": 436984,
        "business_id": 3789,
        "status": 40,
        "status_label": "Sucesso",
        "refund_amount": 6500,
        "refund_fee": 125,
        "before_amount": 6500,
        "before_fee": 125,
        "after_amount": 0,
        "after_fee": 0,
        "credit_schedule_refund": 6375,
        "financial_entry_refund": 0,
        "refund_receipt_url": "https://api.webpag.com.br/refunds/277bddd5-cf57-4403-86a3-349e254efc4a/pdf",
        "processed_at": null,
        "created_at": "2025-10-13 08:56",
        "updated_at": "2025-10-13 08:56"
    }
}
 

Requisição   

PUT api/payments/{paymentId_id}/refund

Cabeçalhos

auth-token      

Example: {CHAVE_API}

Content-Type      

Example: application/json

Accept      

Example: application/json

Parâmetros de URL

paymentId_id   integer   

O ID do pagamento. Example: 15

Parâmetros do Corpo

value   integer  optional  

O valor do estorno em centavos. Example: 1500

Consultar estorno

requires authentication

Retorna os detalhes de um estorno específico.

Exemplo de Requisição:
$client = new \GuzzleHttp\Client();
$url = 'https://api.webpag.com.br/api/payments/refunds/01J9XYZABCDE1234567890';
$response = $client->get(
    $url,
    [
        'headers' => [
            'auth-token' => '{CHAVE_API}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request GET \
    --get "https://api.webpag.com.br/api/payments/refunds/01J9XYZABCDE1234567890" \
    --header "auth-token: {CHAVE_API}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Exemplo de Resposta (200):


{
    "data": {
        "id": "277bddd5-cf57-4403-86a3-349e254efc4a",
        "payment_id": 436984,
        "business_id": 3789,
        "status": 40,
        "status_label": "Sucesso",
        "refund_amount": 6500,
        "refund_fee": 125,
        "before_amount": 6500,
        "before_fee": 125,
        "after_amount": 0,
        "after_fee": 0,
        "credit_schedule_refund": 6375,
        "financial_entry_refund": 0,
        "refund_receipt_url": "https://api.webpag.com.br/refunds/277bddd5-cf57-4403-86a3-349e254efc4a/pdf",
        "processed_at": null,
        "created_at": "2025-10-13 08:56",
        "updated_at": "2025-10-13 08:56"
    }
}
 

Exemplo de Resposta (404):


{
    "message": "Estorno não encontrado."
}
 

Requisição   

GET api/payments/refunds/{id}

Cabeçalhos

auth-token      

Example: {CHAVE_API}

Content-Type      

Example: application/json

Accept      

Example: application/json

Parâmetros de URL

id   string   

O identificador do estorno. Example: 01J9XYZABCDE1234567890

Consultar um pagamento

requires authentication

Retorna os detalhes de um pagamento específico.

Exemplo de Requisição:
$client = new \GuzzleHttp\Client();
$url = 'https://api.webpag.com.br/api/payments/6';
$response = $client->get(
    $url,
    [
        'headers' => [
            'auth-token' => '{CHAVE_API}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request GET \
    --get "https://api.webpag.com.br/api/payments/6" \
    --header "auth-token: {CHAVE_API}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Exemplo de Resposta (200):


{
    "data": {
        "id": 663343,
        "payer_id": 241859,
        "card_id": null,
        "name": "Effie Kshlerin",
        "amount": 917,
        "amount_refunded": 0,
        "fee_value": "11.60",
        "refunded_fee": 0,
        "installments": 12,
        "is_recurrent": false,
        "recurrence_code": 13593070,
        "frequency": null,
        "method": 10,
        "method_label": "Cartão de Crédito",
        "method_slug": "credit_card",
        "boleto": {
            "id": 28048,
            "linha_digitavel": "441412408931296",
            "sequencial_code": null,
            "nosso_numero": "7181749096",
            "codigo_barras": "662254223888352",
            "due_date": null,
            "issue_date": "2026-02-01T10:37:15.000000Z",
            "amount": 3175.71,
            "interest": "37.035",
            "fine": "82.675",
            "accept_after_due_date": true,
            "boleto_url": "https://api.webpag.com.br/r/28a7bf6b-4e34"
        },
        "notification_url": null,
        "pix": {
            "id": 426397,
            "uuid": null,
            "business_id": 8361,
            "payment_id": 663342,
            "name": "officiis qui debitis",
            "txid": "L5lWDF1Gye3XsuUK7UUVSVmqm92LvXzy",
            "key": "Sed repudiandae unde et quis. Laudantium quia vitae velit sit ipsum.",
            "qrcode_data": "Sed repudiandae unde et quis. Laudantium quia vitae velit sit ipsum.",
            "amount": "183.36",
            "expiration_date": "2026-07-22T18:21:13.000000Z",
            "status": 10,
            "created_at": "2026-07-21T18:21:13.000000Z",
            "updated_at": "2026-07-21T18:21:13.000000Z"
        },
        "installments_paid": 0,
        "spplited": false,
        "soft_descriptor": null,
        "order_id": null,
        "active": true,
        "status": 10,
        "status_label": "Aguardando",
        "start_date": "2025-12-12 00:23",
        "next_date": "2026-01-01 19:46",
        "next_recurrence_date": null,
        "created_at": "2026-05-28 05:08",
        "paid_at": "2025-11-15 01:50",
        "updated_at": "2026-06-10 20:49",
        "receipt_pdf_path": "https://api.webpag.com.br/payments/01KY2YJ5T2ZZV7HND50P515NTC/pdf",
        "card_flag": 10,
        "card_flag_label": "Amex"
    }
}
 

Requisição   

GET api/payments/{payment_id}

Cabeçalhos

auth-token      

Example: {CHAVE_API}

Content-Type      

Example: application/json

Accept      

Example: application/json

Parâmetros de URL

payment_id   integer   

The ID of the payment. Example: 6

payment   integer   

O ID do pagamento. Example: 123

Cancelar um pagamento

requires authentication

Solicita o cancelamento de um pagamento que ainda está aguardando, seja Boleto ou PIX.

Exemplo de Requisição:
$client = new \GuzzleHttp\Client();
$url = 'https://api.webpag.com.br/api/payments/6';
$response = $client->delete(
    $url,
    [
        'headers' => [
            'auth-token' => '{CHAVE_API}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request DELETE \
    "https://api.webpag.com.br/api/payments/6" \
    --header "auth-token: {CHAVE_API}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Exemplo de Resposta (200):


{
    "data": {
        "id": 663345,
        "payer_id": 241861,
        "card_id": null,
        "name": "Lessie Stanton",
        "amount": 815,
        "amount_refunded": 0,
        "fee_value": "81.59",
        "refunded_fee": 0,
        "installments": 9,
        "is_recurrent": false,
        "recurrence_code": 31788217,
        "frequency": null,
        "method": 10,
        "method_label": "Cartão de Crédito",
        "method_slug": "credit_card",
        "boleto": {
            "id": 28049,
            "linha_digitavel": "076525028801985",
            "sequencial_code": null,
            "nosso_numero": "4376674157",
            "codigo_barras": "530853618414504",
            "due_date": null,
            "issue_date": "2014-06-28T09:24:57.000000Z",
            "amount": 3305.09,
            "interest": "22.766",
            "fine": "64.945",
            "accept_after_due_date": null,
            "boleto_url": "https://api.webpag.com.br/r/235f35fe-b247"
        },
        "notification_url": null,
        "pix": {
            "id": 426398,
            "uuid": null,
            "business_id": 8367,
            "payment_id": 663344,
            "name": "voluptate tempora facilis",
            "txid": "BDHpYq40Jrau36TI6Qgp2fZuyGkaUyEI",
            "key": "Reiciendis a sunt debitis dolor deleniti ut.",
            "qrcode_data": "Reiciendis a sunt debitis dolor deleniti ut.",
            "amount": "481.41",
            "expiration_date": "2026-07-22T18:21:13.000000Z",
            "status": 10,
            "created_at": "2026-07-21T18:21:13.000000Z",
            "updated_at": "2026-07-21T18:21:13.000000Z"
        },
        "installments_paid": 0,
        "spplited": false,
        "soft_descriptor": null,
        "order_id": null,
        "active": true,
        "status": 10,
        "status_label": "Aguardando",
        "start_date": "2026-03-25 09:12",
        "next_date": "2026-04-18 02:45",
        "next_recurrence_date": null,
        "created_at": "2025-09-17 14:21",
        "paid_at": "2025-08-31 09:30",
        "updated_at": "2026-04-13 06:39",
        "receipt_pdf_path": "https://api.webpag.com.br/payments/01KY2YJ5W4V62N5868P44RBMV2/pdf",
        "card_flag": 10,
        "card_flag_label": "Amex"
    }
}
 

Exemplo de Resposta (202):


{
    "message": "Cancelamento solicitado com sucesso."
}
 

Exemplo de Resposta (404):


{
    "message": "Pagamento não encontrado."
}
 

Exemplo de Resposta (422):


{
    "message": "Somente pagamentos PIX ou Boleto aguardando podem ser cancelados por este endpoint."
}
 

Requisição   

DELETE api/payments/{payment_id}

Cabeçalhos

auth-token      

Example: {CHAVE_API}

Content-Type      

Example: application/json

Accept      

Example: application/json

Parâmetros de URL

payment_id   integer   

The ID of the payment. Example: 6

payment   integer   

O ID do pagamento a ser cancelado. Example: 42

Marcar pagamento como pago (Apenas Sandbox/Desenvolvimento)

requires authentication

Este endpoint está disponível APENAS em ambiente de desenvolvimento. Marca manualmente um pagamento de Boleto ou PIX como pago para testar o fluxo de pagamento.

Exemplo de Requisição:
$client = new \GuzzleHttp\Client();
$url = 'https://api.webpag.com.br/api/payments/123/mark-as-paid-dev';
$response = $client->post(
    $url,
    [
        'headers' => [
            'auth-token' => '{CHAVE_API}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request POST \
    "https://api.webpag.com.br/api/payments/123/mark-as-paid-dev" \
    --header "auth-token: {CHAVE_API}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Exemplo de Resposta (403):


{
    "message": "Este endpoint está disponível apenas em ambiente de desenvolvimento."
}
 

Exemplo de Resposta (404):


{
    "message": "Pagamento não encontrado."
}
 

Exemplo de Resposta (422):


{
    "message": "O método de pagamento deve ser PIX ou Boleto.",
    "errors": {
        "method": [
            "O método de pagamento deve ser PIX ou Boleto."
        ]
    }
}
 

Requisição   

POST api/payments/{payment_id}/mark-as-paid-dev

Cabeçalhos

auth-token      

Example: {CHAVE_API}

Content-Type      

Example: application/json

Accept      

Example: application/json

Parâmetros de URL

payment_id   integer   

O ID do pagamento a ser marcado como pago. Example: 123

Saques/Transferências

Listar saques/transferências

requires authentication

Lista todas as solicitações de saque/transferência da empresa.

Exemplo de Requisição:
$client = new \GuzzleHttp\Client();
$url = 'https://api.webpag.com.br/api/transfers';
$response = $client->get(
    $url,
    [
        'headers' => [
            'auth-token' => '{CHAVE_API}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'query' => [
            'page' => '1',
            'per_page' => '15',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request GET \
    --get "https://api.webpag.com.br/api/transfers?page=1&per_page=15" \
    --header "auth-token: {CHAVE_API}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Exemplo de Resposta (200):


{
    "data": [
        {
            "id": 12,
            "amount": 241542,
            "destination_type": 10,
            "destination_type_name": "Minha conta bancária",
            "destination_business_id": null,
            "service_fee": 480,
            "fee_service": 480,
            "debited_amount": 242022,
            "service_fee_type": "F",
            "transfer_type": 10,
            "transfer_type_name": "Normal",
            "business_notes": "Payments ID: 27,28,24,26",
            "admin_notes": "Banco Itaú\r\nAg: 1568\r\nC/C: 06186-3\r\nCNPJ: 76.591.569.0001-30\r\nRazão Social: Associação Hospital de Proteção a Infância Dr. Raul Carneiro",
            "notification_url": null,
            "status": 40,
            "status_name": "Paga",
            "created_at": "2023-04-30T03:00:04.000000Z",
            "finished_at": "2023-05-02T22:54:50.000000Z",
            "updated_at": "2023-05-02T22:54:50.000000Z",
            "pix_key": null,
            "pix_key_type": null,
            "account_document": null,
            "account_holder": null
        },
        {
            "id": 12,
            "amount": 241542,
            "destination_type": 10,
            "destination_type_name": "Minha conta bancária",
            "destination_business_id": null,
            "service_fee": 480,
            "fee_service": 480,
            "debited_amount": 242022,
            "service_fee_type": "F",
            "transfer_type": 10,
            "transfer_type_name": "Normal",
            "business_notes": "Payments ID: 27,28,24,26",
            "admin_notes": "Banco Itaú\r\nAg: 1568\r\nC/C: 06186-3\r\nCNPJ: 76.591.569.0001-30\r\nRazão Social: Associação Hospital de Proteção a Infância Dr. Raul Carneiro",
            "notification_url": null,
            "status": 40,
            "status_name": "Paga",
            "created_at": "2023-04-30T03:00:04.000000Z",
            "finished_at": "2023-05-02T22:54:50.000000Z",
            "updated_at": "2023-05-02T22:54:50.000000Z",
            "pix_key": null,
            "pix_key_type": null,
            "account_document": null,
            "account_holder": null
        }
    ]
}
 

Exemplo de Resposta (200):


{
    "data": [
        {
            "id": 101,
            "amount": 2500,
            "destination_type": 10,
            "destination_type_name": "Minha conta bancária",
            "destination_business_id": null,
            "service_fee": 125,
            "fee_service": 125,
            "debited_amount": 2625,
            "service_fee_type": null,
            "business_notes": "Saque de exemplo",
            "admin_notes": "Nenhuma observação interna.",
            "notification_url": null,
            "status": 20,
            "status_name": "Em processamento",
            "created_at": "2026-02-01T10:00:00.000000Z",
            "finished_at": null,
            "updated_at": "2026-02-01T10:05:00.000000Z",
            "pix_key": "chave-pix-exemplo-1",
            "pix_key_type": 20,
            "account_document": "00000000000",
            "account_holder": "Empresa Exemplo 1"
        },
        {
            "id": 102,
            "amount": 8000,
            "destination_type": 30,
            "destination_type_name": "Outra conta bancária",
            "destination_business_id": null,
            "service_fee": 400,
            "fee_service": 400,
            "debited_amount": 8400,
            "service_fee_type": null,
            "business_notes": "Transferência de teste",
            "admin_notes": "Transferência processada com sucesso.",
            "notification_url": "https://webhook.exemplo.com/transfer/102",
            "status": 30,
            "status_name": "Concluída",
            "created_at": "2026-02-02T09:30:00.000000Z",
            "finished_at": "2026-02-02T09:35:00.000000Z",
            "updated_at": "2026-02-02T09:35:00.000000Z",
            "pix_key": "chave-pix-exemplo-2",
            "pix_key_type": 10,
            "account_document": "11111111111",
            "account_holder": "Empresa Exemplo 2"
        }
    ]
}
 

Requisição   

GET api/transfers

Cabeçalhos

auth-token      

Example: {CHAVE_API}

Content-Type      

Example: application/json

Accept      

Example: application/json

Parâmetros de Consulta

page   integer  optional  

Página da listagem. Example: 1

per_page   integer  optional  

Itens por página (máximo 100). Example: 15

Solicitar um saque (transferência)

requires authentication

Cria uma solicitação de saque/transferência de valores da conta da empresa. O saque pode ser feito para a conta bancária própria da empresa ou para outra conta bancária via PIX.

Exemplo de Requisição:
$client = new \GuzzleHttp\Client();
$url = 'https://api.webpag.com.br/api/transfers';
$response = $client->post(
    $url,
    [
        'headers' => [
            'auth-token' => '{CHAVE_API}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'json' => [
            'amount' => '100',
            'type' => 10,
            'transfer_type' => 20,
            'notes' => 'Saque para pagamento de fornecedores',
            'pix_key' => '12.345.678/0001-90',
            'pix_key_type' => 'cnpj',
            'account_document' => '12.345.678/0001-90',
            'account_holder' => 'João Silva',
            'notification_url' => 'https://exemplo.com/webhook/transfer',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request POST \
    "https://api.webpag.com.br/api/transfers" \
    --header "auth-token: {CHAVE_API}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"amount\": \"100\",
    \"type\": 10,
    \"transfer_type\": 20,
    \"notes\": \"Saque para pagamento de fornecedores\",
    \"pix_key\": \"12.345.678\\/0001-90\",
    \"pix_key_type\": \"cnpj\",
    \"account_document\": \"12.345.678\\/0001-90\",
    \"account_holder\": \"João Silva\",
    \"notification_url\": \"https:\\/\\/exemplo.com\\/webhook\\/transfer\"
}"

Exemplo de Resposta (200):


{
    "data": {
        "id": 12,
        "amount": 241542,
        "destination_type": 10,
        "destination_type_name": "Minha conta bancária",
        "destination_business_id": null,
        "service_fee": 480,
        "fee_service": 480,
        "debited_amount": 242022,
        "service_fee_type": "F",
        "transfer_type": 10,
        "transfer_type_name": "Normal",
        "business_notes": "Payments ID: 27,28,24,26",
        "admin_notes": "Banco Itaú\r\nAg: 1568\r\nC/C: 06186-3\r\nCNPJ: 76.591.569.0001-30\r\nRazão Social: Associação Hospital de Proteção a Infância Dr. Raul Carneiro",
        "notification_url": null,
        "status": 40,
        "status_name": "Paga",
        "created_at": "2023-04-30T03:00:04.000000Z",
        "finished_at": "2023-05-02T22:54:50.000000Z",
        "updated_at": "2023-05-02T22:54:50.000000Z",
        "pix_key": null,
        "pix_key_type": null,
        "account_document": null,
        "account_holder": null
    }
}
 

Exemplo de Resposta (201):


{
    "id": 123,
    "amount": 5000,
    "destination_type": 10,
    "destination_type_name": "Minha conta bancária",
    "destination_business_id": null,
    "service_fee": 250,
    "fee_service": 250,
    "debited_amount": 5250,
    "service_fee_type": null,
    "business_notes": "Saque para despesas gerais",
    "admin_notes": "Transferência criada com sucesso.",
    "notification_url": "https://webhook.exemplo.com/transfer",
    "status": 10,
    "status_name": "Solicitado",
    "created_at": "2026-01-01T12:00:00.000000Z",
    "finished_at": null,
    "updated_at": "2026-01-01T12:00:00.000000Z",
    "pix_key": "chave-pix-exemplo",
    "pix_key_type": 20,
    "account_document": "00000000000",
    "account_holder": "Empresa Exemplo"
}
 

Exemplo de Resposta (422):


{
    "message": "The given data was invalid.",
    "errors": {
        "amount": [
            "O valor é obrigatório."
        ],
        "type": [
            "O tipo de destino é obrigatório."
        ]
    }
}
 

Requisição   

POST api/transfers

Cabeçalhos

auth-token      

Example: {CHAVE_API}

Content-Type      

Example: application/json

Accept      

Example: application/json

Parâmetros do Corpo

amount   numeric   

O valor do saque em centavos, se for 100 representa R$1,00. Example: 100

type   integer   

Tipo de destino. Valores: 10 (Minha conta bancária), 30 (Outra conta bancária). Example: 10

transfer_type   integer  optional  

Tipo de transferência. Valores: 10 (Normal), 20 (Express). Padrão: 10 (Normal). Example: 20

notes   string  optional  

Observações sobre a transferência. Example: Saque para pagamento de fornecedores

pix_key   string  optional  

Chave PIX. Obrigatória quando type é 30 (outra conta bancária). Example: 12.345.678/0001-90

pix_key_type   string  optional  

Tipo de chave PIX. Valores: "cpf", "cnpj", "email", "phone", "random". Obrigatório quando type é 30. Example: cnpj

account_document   string  optional  

CPF ou CNPJ do titular da conta. Obrigatório quando type é 30. Example: 12.345.678/0001-90

account_holder   string  optional  

Nome do titular da conta. Obrigatório quando type é 30. Example: João Silva

notification_url   string  optional  

URL para notificação webhook sobre mudanças de status da transferência. Se não fornecida, será usada a URL configurada no negócio. Example: https://exemplo.com/webhook/transfer

Obter detalhes de um saque/transferência

requires authentication

Retorna os detalhes de uma solicitação específica de saque/transferência.

Exemplo de Requisição:
$client = new \GuzzleHttp\Client();
$url = 'https://api.webpag.com.br/api/transfers/123';
$response = $client->get(
    $url,
    [
        'headers' => [
            'auth-token' => '{CHAVE_API}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request GET \
    --get "https://api.webpag.com.br/api/transfers/123" \
    --header "auth-token: {CHAVE_API}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Exemplo de Resposta (200):


{
    "data": {
        "id": 12,
        "amount": 241542,
        "destination_type": 10,
        "destination_type_name": "Minha conta bancária",
        "destination_business_id": null,
        "service_fee": 480,
        "fee_service": 480,
        "debited_amount": 242022,
        "service_fee_type": "F",
        "transfer_type": 10,
        "transfer_type_name": "Normal",
        "business_notes": "Payments ID: 27,28,24,26",
        "admin_notes": "Banco Itaú\r\nAg: 1568\r\nC/C: 06186-3\r\nCNPJ: 76.591.569.0001-30\r\nRazão Social: Associação Hospital de Proteção a Infância Dr. Raul Carneiro",
        "notification_url": null,
        "status": 40,
        "status_name": "Paga",
        "created_at": "2023-04-30T03:00:04.000000Z",
        "finished_at": "2023-05-02T22:54:50.000000Z",
        "updated_at": "2023-05-02T22:54:50.000000Z",
        "pix_key": null,
        "pix_key_type": null,
        "account_document": null,
        "account_holder": null
    }
}
 

Exemplo de Resposta (200):


{
    "id": 200,
    "amount": 7500,
    "destination_type": 10,
    "destination_type_name": "Minha conta bancária",
    "destination_business_id": null,
    "service_fee": 375,
    "fee_service": 375,
    "debited_amount": 7875,
    "service_fee_type": null,
    "business_notes": "Saque de exemplo para relatório",
    "admin_notes": "Nenhuma observação interna.",
    "notification_url": null,
    "status": 20,
    "status_name": "Em processamento",
    "created_at": "2026-02-03T14:00:00.000000Z",
    "finished_at": null,
    "updated_at": "2026-02-03T14:05:00.000000Z",
    "pix_key": "chave-pix-exemplo-unica",
    "pix_key_type": 20,
    "account_document": "22222222222",
    "account_holder": "Empresa Exemplo Única"
}
 

Exemplo de Resposta (404):


{
    "message": "Transferência não encontrada."
}
 

Requisição   

GET api/transfers/{id}

Cabeçalhos

auth-token      

Example: {CHAVE_API}

Content-Type      

Example: application/json

Accept      

Example: application/json

Parâmetros de URL

id   integer   

O ID da transferência. Example: 123

Cancelar um saque/transferência

requires authentication

Cancela uma solicitação de saque/transferência. Só é possível cancelar transferências que estejam com status "Solicitado" (10) ou "Processando" (50).

Exemplo de Requisição:
$client = new \GuzzleHttp\Client();
$url = 'https://api.webpag.com.br/api/transfers/123';
$response = $client->delete(
    $url,
    [
        'headers' => [
            'auth-token' => '{CHAVE_API}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request DELETE \
    "https://api.webpag.com.br/api/transfers/123" \
    --header "auth-token: {CHAVE_API}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Exemplo de Resposta (200):


{
    "message": "Transferência cancelada com sucesso.",
    "transfer": {
        "id": 300,
        "amount": 6000,
        "destination_type": 10,
        "destination_type_name": "Minha conta bancária",
        "destination_business_id": null,
        "service_fee": 300,
        "fee_service": 300,
        "debited_amount": 6300,
        "service_fee_type": null,
        "business_notes": "Saque cancelado a pedido do cliente.",
        "admin_notes": "Cancelado via API Business.",
        "notification_url": "https://webhook.exemplo.com/transfer/300",
        "status": 30,
        "status_name": "Recusada",
        "created_at": "2026-02-04T09:00:00.000000Z",
        "finished_at": "2026-02-04T09:10:00.000000Z",
        "updated_at": "2026-02-04T09:10:00.000000Z",
        "pix_key": "chave-pix-cancelada",
        "pix_key_type": 10,
        "account_document": "33333333333",
        "account_holder": "Empresa Exemplo Cancelada"
    }
}
 

Exemplo de Resposta (404):


{
    "message": "Transferência não encontrada."
}
 

Exemplo de Resposta (422):


{
    "message": "Essa transferência não pode ser recusada."
}
 

Requisição   

DELETE api/transfers/{id}

Cabeçalhos

auth-token      

Example: {CHAVE_API}

Content-Type      

Example: application/json

Accept      

Example: application/json

Parâmetros de URL

id   integer   

O ID da transferência a ser cancelada. Example: 123

Alterar status da transferência (Apenas Sandbox/Desenvolvimento)

requires authentication

Este endpoint está disponível APENAS em ambiente de desenvolvimento. Altera manualmente o status de uma transferência para testar diferentes fluxos e webhooks.

Exemplo de Requisição:
$client = new \GuzzleHttp\Client();
$url = 'https://api.webpag.com.br/api/transfers/123/change-status-dev';
$response = $client->post(
    $url,
    [
        'headers' => [
            'auth-token' => '{CHAVE_API}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'json' => [
            'status' => 40,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request POST \
    "https://api.webpag.com.br/api/transfers/123/change-status-dev" \
    --header "auth-token: {CHAVE_API}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"status\": 40
}"

Exemplo de Resposta (403):


{
    "message": "Este endpoint está disponível apenas em ambiente de desenvolvimento."
}
 

Exemplo de Resposta (404):


{
    "message": "Transferência não encontrada."
}
 

Exemplo de Resposta (422):


{
    "message": "O status informado é inválido.",
    "errors": {
        "status": [
            "O status informado é inválido."
        ]
    }
}
 

Requisição   

POST api/transfers/{id}/change-status-dev

Cabeçalhos

auth-token      

Example: {CHAVE_API}

Content-Type      

Example: application/json

Accept      

Example: application/json

Parâmetros de URL

id   integer   

O ID da transferência. Example: 123

Parâmetros do Corpo

status   integer   

Novo status da transferência. Valores: 10 (Pendente), 20 (Aprovada), 30 (Recusada), 40 (Paga), 50 (Processando), 60 (Cancelado). Example: 40

Webhook

Pagamentos

Ao informar notification_url no pagamento, a webpag envia uma requisição para o URL informado com estas informações quando há alguma alteração de status no pagamento, evitando a necessidade de realizar consultas manualmente. Utilize a propriedade "status" para verificar o status atual do pagamento.

Para garantir que a requisição foi enviada pela webpag, utilize o business.id

Verifique os valores do "Exemplo de Resposta" para entender melhor o retorno.
Valores possíveis de status:

10 = Disponível
20 = Em análise
30 = Falhou
40 = Pago
45 = Reembolso Parcial
50 = Reembolsado
60 = Cancelado
70 = Chargeback
80 = Em Disputa
90 = Em Contestação

Exemplo de Requisição:
$client = new \GuzzleHttp\Client();
$url = 'https://api.webpag.com.br/';
$response = $client->post(
    $url,
    [
        'headers' => [
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request POST \
    "https://api.webpag.com.br/" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Exemplo de Resposta (200):


{
    "id": 3493,
    "business": {
        "id": 537,
        "name": "Maggio, Upton and Mann"
    },
    "payer_id": 881,
    "card_id": 1478,
    "name": "Pagamento utilizando pix",
    "amount": 1000,
    "fee_value": "1409.74",
    "installments": 1,
    "is_recurrent": false,
    "recurrence_code": "18811727811431",
    "frequency": null,
    "method": 30,
    "method_label": "Cartão de Crédito",
    "order_id": "<order_id>",
    "boleto": {
        "id": 7178,
        "linha_digitavel": "00190000090312855799299992855173897120000005000",
        "sequencial_code": 9999992855,
        "nosso_numero": "00031285579999992855",
        "codigo_barras": "00198971200000050000000003128557999999285517",
        "due_date": "2024-05-10T03:00:00.000000Z",
        "issue_date": "2024-05-08T03:00:00.000000Z",
        "amount": "50.00",
        "interest": "1.000",
        "fine": "2.000",
        "accept_after_due_date": null
    },
    "notification_url": "https://confirma.com/pagamento/confirmacao",
    "pix": {
        "id": 39,
        "uuid": "4222b7d7-0c98-4c48-b94a-49d23a98c245",
        "business_id": 45,
        "payment_id": 39488,
        "txid": "FdbMqfiIT2ki7FSKdMlofsNjzF",
        "key": "9e881f18-cc66-4fc7-8f2c-a795dbb2bfc1",
        "qrcode_data": "00020101021226870014br.gov.bcb.pix2565qrcodepix-h.bb.com.br/pix/v2/8c672b36-459e-48dc-aa14-0544186e321b520400005303986540550.005802BR5921PAPELARIA LEITE CUNHA6012RONDONOPOLIS62070503***63044061",
        "amount": "50.00",
        "expiration_date": "2024-05-08T21:43:33.000000Z",
        "status": 10,
        "created_at": "2024-05-08T20:43:33.000000Z",
        "updated_at": "2024-05-08T20:43:33.000000Z"
    },
    "spplited": false,
    "gateway": "Cielo E-commerce",
    "active": true,
    "status": 40,
    "status_label": "Pago",
    "start_date": null,
    "next_date": "2025-01-01",
    "transactions": [
        {
            "id": 3325,
            "type": 10,
            "type_label": "Aprovação",
            "transaction_id": "0820052749976",
            "response_status": "6 - Operation Successful",
            "errors": null,
            "status": 10,
            "status_label": "Sucesso",
            "created_at": "2024-08-20 17:27"
        }
    ],
    "splits": [],
    "created_at": "2024-08-20 17:27",
    "paid_at": "2024-08-20 17:27",
    "updated_at": "2024-08-20 17:27",
    "receipt_pdf_path": "http://localhost:81/payments/934123e8d7e3401eb703195d1/pdf",
    "card_flag": 20,
    "card_flag_label": "Mastercard"
}
 

Requisição   

POST /

Cabeçalhos

Content-Type      

Example: application/json

Accept      

Example: application/json

Transferência

Este exemplo representa o corpo enviado pelo webpag para a sua notification_url quando há alguma alteração de status em um saque/transferência.

O campo "type" segue o padrão transfer.<status_slug>, por exemplo transfer.pending, transfer.approved, transfer.denied, transfer.paid, transfer.processing ou transfer.cancelled.

Valores possíveis de status da transferência:

10 = Solicitado
20 = Aprovada
30 = Recusada
40 = Paga
50 = Processando
60 = Cancelado

Exemplo de Requisição:
$client = new \GuzzleHttp\Client();
$url = 'https://api.webpag.com.br/';
$response = $client->post(
    $url,
    [
        'headers' => [
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request POST \
    "https://api.webpag.com.br/" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Exemplo de Resposta (200):


{
    "id": "01J0Y7TF4QZ8KNGZ8DC1Y9TRNS",
    "type": "transfer.paid",
    "send_at": "2024-08-21T10:15:00.000000Z",
    "data": {
        "id": 1234,
        "amount": 150000,
        "destination_type": 10,
        "destination_type_name": "Conta Bancária",
        "destination_business_id": 45,
        "service_fee": 500,
        "fee_service": 500,
        "debited_amount": 150500,
        "service_fee_type": 10,
        "business_notes": "Saque semanal para conta principal",
        "admin_notes": null,
        "notification_url": "https://meusistema.com/webhook/transferencias",
        "status": 40,
        "status_name": "Paga",
        "created_at": "2024-08-21T09:00:00.000000Z",
        "finished_at": "2024-08-21T10:15:00.000000Z",
        "updated_at": "2024-08-21T10:15:00.000000Z",
        "pix_key": "usuario@empresa.com",
        "pix_key_type": 20,
        "account_document": "12345678000199",
        "account_holder": "EMPRESA EXEMPLO LTDA"
    }
}
 

Requisição   

POST /

Cabeçalhos

Content-Type      

Example: application/json

Accept      

Example: application/json

Estorno

Este exemplo representa o corpo enviado pelo webpag para a sua notification_url quando há alguma alteração de status em um estorno de pagamento (refund).

O campo "type" segue o padrão payment_refund.<status_slug>, por exemplo payment_refund.pending, payment_refund.processing, payment_refund.failed, payment_refund.success ou payment_refund.needs_reconciliation.

Valores possíveis de status do estorno:

10 = Pendente
20 = Processando
30 = Falhou
40 = Sucesso
50 = Necessita Reconciliação

Consulte também a seção "Webhooks de estorno (refunds)" para a tabela completa de status e mais detalhes sobre o payload.

Exemplo de Requisição:
$client = new \GuzzleHttp\Client();
$url = 'https://api.webpag.com.br/';
$response = $client->post(
    $url,
    [
        'headers' => [
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl --request POST \
    "https://api.webpag.com.br/" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Exemplo de Resposta (200):


{
    "id": "01J0Y7BAW4XHCNGZ8DC1Y9NRTJ",
    "type": "payment_refund.success",
    "send_at": "2024-08-20T17:27:00.000000Z",
    "data": {
        "id": "3f64b2e2-1c1a-4b5e-9c2b-5f8d07b6a9cd",
        "payment_id": 39488,
        "business_id": 45,
        "status": 40,
        "status_label": "Sucesso",
        "refund_amount": 5000,
        "refund_fee": 100,
        "before_amount": 10000,
        "before_fee": 200,
        "after_amount": 5000,
        "after_fee": 100,
        "credit_schedule_refund": null,
        "financial_entry_refund": null,
        "processed_at": "2024-08-20 17:27",
        "created_at": "2024-08-20 17:27",
        "updated_at": "2024-08-20 17:27"
    }
}
 

Requisição   

POST /

Cabeçalhos

Content-Type      

Example: application/json

Accept      

Example: application/json