Skip to main content
POST
Upsert customer

Authorizations

X-PayFi-Api-Key
string
header
required
X-PayFi-Nonce
string
header
required
X-PayFi-Signature
string
header
required
Idempotency-Key
string
header
required

Body

application/json

Customer payload.

partnerCustomerId
string
required
Example:

"acme-customer-123"

Example:

"Acme Ltda"

taxId
string
required
Example:

"12.345.678/0001-95"

metadata
object

Response

Customer upserted.

customerId
string
Example:

"cus_example"

partnerCustomerId
string
Example:

"acme-customer-123"

Example:

"Acme Ltda"