API Reference
AuthenticationPOSTGet a token
Payments (Pay Out)POSTCreate a paymentGETList paymentsGETGet a payment intentGETGet a payment by externalIdGETGet a payment by its own idGETValidation errorsGETWithdraw errorsGETPayment receipt
Deposits (Pay In)POSTCreate a deposit intentPUTUpdate an intentPATCHUpdate an intent's depositsDELCancel an intentPOSTRequest a refundGETList deposit intentsGETGet a deposit intentGETGet an intent by externalIdGETGet a depositGETValidation errorsGETDeposit errorsGETIntent receiptsGETDeposit receipt
AccountGETGet the accountGETGet the balanceGETGet the statementGETStatement entry receiptGETList Pix keysPOSTRegister a Pix keyDELDelete a Pix keyGETList account limitsGETGet an account limitPOSTRequest a limit increase
ConfigurationsGETList flagsPUTUpdate a flagGETList proxiesPUTUpdate a proxyGETGet transaction limitsPUTUpdate transaction limitsGETList payment methodsPUTUpdate payment methodsGETList deposit methodsPUTUpdate deposit methods
Get the account
GET
Base URL: /account/api/v1/{conta}https://pay4fun.mimicr.dev · provider: https://go.dev.pay4fun.comAccount 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.
transactionalownerResponses
200Account data.
accountHolderIdstring
Holder id.
mediatorIdstring
Mediator id.
clientTypestring
Holder type.
PFPJaccountStatusstring
Account status.
"ACTIVE"accountobject
Show child attributes
accountIdstring
Account id.
accountinteger
Account number.
404428branchinteger
Branch.
1clientobject
Show child attributes
namestring
Holder name.
emailstring
Holder e-mail.
birthDatestring
Birth or incorporation date.
taxIdentifierobject
Show child attributes
taxIdstring
CPF/CNPJ.
countrystring
Country.
"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.