Webservice V1
Create Charge
POST

Create Charge

/charge

Gera uma cobrança para recarregar a carteira. Para Stripe, a resposta traz stripe_url (link de checkout). Para Ebanx, informe type e, em cartão, os campos card_*.

Headers

Accept
text
application/json
Authorization
text
Bearer {{TOKEN}}

Request Body

application/json
{
typePayment: string
obrigatório ·Gateway: stripe ou ebanx
price: integer
obrigatório ·Valor da recarga (respeita o mínimo do gateway)
instalments: string
Parcelas
}

Respostas

Stripe
{
  "stripe_url": "https://checkout.stripe.com/pay/cs_test_a1Zj2XFnQGzd0PaeXxtBcByyD16r9fi6vPaX22bwUVY0Tu5q8SUU2JliCX"
}