AtomicPayAtomicPay Documentation

Create a custom charge

Create a one-off PIX or credit card charge through the AtomicPay public payment API.

Last updated

Author: AtomicPay API

Authentication

Send your AtomicPay developer API key using Authorization: Bearer <API_KEY> or X-API-Key: <API_KEY>. This endpoint requires charges.write permission, unless the key has wildcard access (*).

Request body

customerId

Required. Pagar.me customer ID owned by the authenticated AtomicPay account. The aliases customer_id, customer.id, and customer.pagarme_customer_id are also accepted.

paymentMethod

Required by the payment backend. Common values are pix and credit_card.

amount

Required by the payment backend. Amount in BRL cents, for example 1000 for R$ 10,00.