Skip to main content

Pagar.me Integration (PCI-DSS)

This group isolates direct communication with Pagar.me V5, ensuring full compliance with PCI-DSS standards.


Customer Registration (Customer)

Synchronizes local data with Pagar.me. The external ID (pagarmeId) is associated with the local profile.

POST /pagarme/user

Request Body
{
"email": "driver@company.com",
"name": "João Silva",
"document": "12345678900",
"documentType": "cpf",
"phone": "5511999999999",
"address": {
"country": "BR",
"state": "SP",
"city": "São Paulo",
"address": "Av Paulista",
"line_1": "Av Paulista, 1000",
"zip_code": "01000000"
}
}

Card Tokenization (Credit Card)

Securely registers a new card for future billing (One-Click Buy).

POST /pagarme/card

Request Body
{
"id": "cus_123456789",
"number": "4111111111111111",
"holder_name": "JOAO M SILVA",
"exp_month": "12",
"exp_year": "2028",
"cvv": "123",
"holder_document": "12345678900",
"billing_address": {
"zip_code": "01000000",
"state": "SP",
"city": "São Paulo",
"address": "Av Paulista",
"line_1": "Av Paulista, 1000"
}
}

Gateway Availability

Checks the operational availability of Pagar.me before critical transactions.

GET /pagarme/available/{id}