Skip to main content

Payment Instrument Limit Change

The payment instrument limit change allows you to modify the limit value of an existing payment instrument.

Request

ENDPOINT
/wallet/WALLET_KEY/payment_instrument/PAYMENT_INSTRUMENT_KEY
METHOD
PATCH

Path Parameters

FieldTypeDescriptionCharacters
wallet_key *uuidv4Unique wallet key in UUID v4 format36
payment_instrument_key *uuidv4Unique payment instrument key in UUID v4 format36
Request Body
{
"limit_amount": 3000.00
}

Request Body Params

FieldTypeDescriptionCharacters
limit_amount *floatNew payment instrument limit value-
Note
  • The new limit value must be greater than or equal to the used limit (used_limit)
  • The new limit value cannot be greater than the wallet's postpaid credit limit (postpaid_credit_limit)
  • Only postpaid_card type payment instruments can have their limits updated
  • Only default type wallets can have payment instruments with updated limits
  • The payment instrument must have active status to have its limit updated

Response

STATUS
200
Response Body: Payment instrument limit updated
{
"payment_instrument_key": "8cb70dea-9fb0-4a68-9572-99a72849c8d6",
"limit_amount": 3000.00,
"payment_instrument_status": "active"
}

Response Body Params

FieldTypeDescriptionCharacters
payment_instrument_key *uuidv4Unique identification key of the updated instrument in UUID v4 format36
limit_amount *floatNew instrument limit value after update-
payment_instrument_status *stringPayment instrument statuspayment_instrument_status Enumerators

payment_instrument_status Enumerators

EnumeratorDescription
activeActive instrument
canceledCanceled instrument

Error Response

STATUS
4xx
Response Body: Error
{
"title": "titulo",
"description": "description in English",
"translation": "descrição em portugues",
"code": "codigo",
"extra_fields": {}
}
HTTP Code
status
QI Code
code
Title
title
Description (eng)
description
Description (pt-br)
translation
400CIN000074Bad RequestLimit amount is greater than postpaid credit limit of the wallet.Limite é maior que o limite de crédito pós-pago da carteira.
400CIN000081Bad RequestPayment instrument is not activeInstrumento de pagamento não está ativo
400CIN000110Bad RequestNew limit amount is less than used limitNovo valor do limite é menor que o valor utilizado
403CIN000108ForbiddenWallet type payroll is not allowed for this operationTipo de carteira payroll não é permitido para esta operação
403CIN000113ForbiddenPayment instrument type is not allowed for this operationTipo de instrumento de pagamento não é permitido para esta operação
404CIN000007Wallet not FoundWallet with key: e503fa60-285e-4632-96b6-bf3ad908a23c was not foundCarteira com a chave: e503fa60-285e-4632-96b6-bf3ad908a23c não foi encontrado
404CIN000080Payment Instrument Not FoundPayment instrument was not foundInstrumento de pagamento não foi encontrado