put https://api.iugu.com/v1/customers//payment_methods/
Altera os dados de uma Forma de Pagamento, quaisquer parâmetros não informados não serão alterados.
Recipes
💱
[Cartão de Crédito] Reutilizar Token de Cartão
Open Recipe
Responses
Altera os dados de uma Forma de Pagamento, quaisquer parâmetros não informados não serão alterados.
xxxxxxxxxx
curl --request PUT \
--url https://api.iugu.com/v1/customers/customer_id/payment_methods/id \
--header 'accept: application/json' \
--header 'content-type: application/json'
xxxxxxxxxx
21{
"id": "9F9977E32DC74DC18266FD02454AB4F5",
"description": "Meu Master Roxinho",
"item_type": "credit_card",
"customer_id": "3B926491FC954603B886BC279A769D99",
"data": {
"brand": "Master",
"holder_name": "NOME NO KARTÃO",
"display_number": "XXXX-XXXX-XXXX-4444",
"bin": "555555",
"year": 2030,
"month": 12,
"last_digits": "4444",
"first_digits": "555555",
"masked_number": "XXXX-XXXX-XXXX-4444",
"fingerprint": "39124eb1-9813-ee72-f5df-75725cd9a5c0",
"issuer": "Informação não disponivel",
"card_type": "Multiplo",
"foreign_card": "t"
}
}