API Reference
Account

Get the account

GET/account/api/v1/{conta}
Base URL: https://pay4fun.mimicr.dev · provider: https://go.dev.pay4fun.com

Account registration data: holder, type (PF/PJ), status, branch/account and addresses.

Authorization

Bearer token in the Authorization: Bearer <token> header. See Authentication.

Path parameters

contastringrequired

Which account to read: transactional (where deposits come in and payments go out) or owner (the owner/billing account, for fees and settlements with Pay4Fun). The contracts are identical.

transactionalowner

Responses

200Account data.
accountHolderIdstring

Holder id.

mediatorIdstring

Mediator id.

clientTypestring

Holder type.

PFPJ
accountStatusstring

Account status.

Example: "ACTIVE"
accountobject
Show child attributes
accountIdstring

Account id.

accountinteger

Account number.

Example: 404428
branchinteger

Branch.

Example: 1
clientobject
Show child attributes
namestring

Holder name.

emailstring

Holder e-mail.

birthDatestring

Birth or incorporation date.

taxIdentifierobject
Show child attributes
taxIdstring

CPF/CNPJ.

countrystring

Country.

Example: "BRA"
taxIdMaskedstring

Masked document.

mailAddressobject

Mailing address.

mobilePhoneobject

Mobile phone.

billingAddressobject

Billing address.

additionalDetailsPersonobject | null

Filled when clientType is PF.

additionalDetailsCorporateobject | null

Filled when clientType is PJ.

401Missing, expired or invalid token. Empty body.