Skip to main content

Charges

Este endpoint crea un simple charge, en otras palabras, realiza un rebajo a la tarjeta que venga en el POST, no está asignada a ningún customer.

HTTP Request: POST https://api.payments.4geeks.io/v1/charges/simple/create/

await gpApi.charges.create({  amount: 90.32,  description: 'Plan 1 service charge',  entity_description: 'Plan 1',  currency: 'usd',  credit_card_number: 4242424242424242,  credit_card_security_code_number: 123,  exp_month: 11,  exp_year: 2020})

Retorna:

HTTP 201 Created
Last updated on