Customers
Grant customer credit
Grant monetary credit in one currency. Credit is applied FIFO before tax to eligible recurring invoices.
POST
cURL
Grant monetary credit in one currency. Credit is applied FIFO before tax to eligible recurring invoices.
Autorizaciones
Encabezados
Unique key used to safely retry this write for 24 hours without applying it twice.
Required string length:
1 - 200API version used by this reference. Send this header to select this contract explicitly.
Parámetros de ruta
Cuerpo
application/json
Amount in the currency's smallest unit.
Rango requerido:
x <= 9007199254740991Opciones disponibles:
usd, ars, brl, clp, cop, pen, uyu, pyg, bob, mxn, cad, eur, gbp, jpy, cny, krw, hkd, sgd, twd, inr, thb Required string length:
1 - 500Respuesta
Success
Original grant amount in the currency's smallest unit.
Rango requerido:
-9007199254740991 <= x <= 9007199254740991Rango requerido:
-9007199254740991 <= x <= 9007199254740991Rango requerido:
-9007199254740991 <= x <= 9007199254740991Rango requerido:
-9007199254740991 <= x <= 9007199254740991Rango requerido:
-9007199254740991 <= x <= 9007199254740991Opciones disponibles:
dashboard, api, plan_change, migration Allowed value:
"customer_credit"