Equivalências entre parâmetros retornados nas APIs de Collections e Pagamentos em notificações de IPN
collections/notifications | v1/payments |
collection.id | id (string) |
collection.date_created | date_created (datetime) |
collection.date_approved | date_approved (datetime) |
collection.money_release_date | money_release_date (datetime) |
collection.last_modified | date_last_updated (datetime) |
collection.payer.id | payer.id (string) |
collection.payer.first_name | payer.first_name (string) |
collection.payer.last_name | payer.last_name (string) |
collection.payer.phone.area_code | payer.phone.area_code (string) |
collection.payer.phone.number | payer.phone.number (string) |
collection.payer.phone.extension | payer.phone.extension (string) |
collection.payer.identification.type | payer.identification.type (string) |
collection.payer.identification.number | payer.identification.number (string) |
collection.payer.email | payer.email (string) |
collection.payer.nickname | Não existe este campo em v1/payments. |
collection.order_id | order.id (string) |
collection.external_reference | external_reference (string) |
collection.merchant_order_id | order.id (string) |
collection.reason | description (string) |
collection.currency_id | currency_id (string) |
collection.transaction_amount | transaction_amount (float64) |
collection.net_received_amount | transaction_details.net_received_amount (float64) |
collection.total_paid_amount | transaction_details.total_paid_amount (float64) |
collection.shipping_cost | shipping_amount (float64) |
collection.coupon_amount | coupon_amount (float64) |
collection.coupon_fee | fee_details.amount (float64). Se encontra neste campo quando o tipo de fee é coupon_fee e o pagamento está em estado de approved . Exemplo: em v1/payments teremos:“fee_details”: [{ “type”: “coupon_fee” “amount”: 10 }] |
collection.finance_fee | fee_details.amount (float64). Se encontra neste campo quando o tipo de fee é finance_fee e o pagamento está em estado de approved . Exemplo: em v1/payments teremos:“fee_details”: [{ “type”: “finance_fee” “amount”: 10 }] |
collection.discount_fee | fee_details.amount (float64). Se encontra neste campo quando o tipo de fee é discount_fee e o pagamento está em estado de approved . Exemplo: em v1/payments teremos:“fee_details”: [{ “type”: “'discount_fee'” “amount”: 10 }] |
collection.marketplace_fee | fee_details.amount (float64). Se encontra neste campo quando o tipo de fee é application_fee e o pagamento está em estado de approved . Exemplo: em v1/payments teremos:“fee_details”: [{ “type”: “application_fee” “amount”: 10 }] |
collection.coupon_id | coupon_id (string) |
collection.status | status (string) |
collection.status_detail | status_detail (string) |
collection.installments | installments (integer) |
collection.issuer_id | issuer_id (string) |
collection.installment_amount | transaction_details.installment_amount (float64) |
collection.deferred_period | Não existe em v1/payments, sempre se informa vazio. |
collection.payment_type | payment_type_id (string) |
collection.payment_method_id | payment_method_id (string) |
collection.marketplace | Não existe em v1/payments. |
collection.operation_type | operation_type (string) |
collection.transaction_order_id | Não existe em v1/payments, sempre se informa vazio. |
collection.statement_descriptor | statement_descriptor (string) |
collection.cardholder.name | card.cardholder.name (string) |
collection.cardholder.identification.type | card.cardholder.identification.type (string) |
collection.cardholder.identification.number | card.cardholder.identification.number (string) |
collection.authorization_code | authorization_code (string) |
collection.last_four_digits | card.last_four_digits (string) |
collection.deduction_schema | deduction_schema (string) |
collection.refunds | refunds (array) |
collection.refunds.id | refunds.id (string) |
collection.refunds.gtw_refund_id | refunds.gtw_refund_id (string) |
collection.refunds.collection_id | refunds.collection_id (string) |
collection.refunds.movement_id | refunds.collector_movement_id (string) |
collection.refunds.metadata | refunds.metadata (object) |
collection.refunds.amount | refunds.amount (float64) |
collection.refunds.source | refunds.source (string) |
collection.refunds.date_created | refunds.date_created (datetime) |
collection.amount_refunded | transaction_amount_refunded (float64) |
collection.site_id | Não existe em v1/payments. |
collection.last_modified_by_admin | Não existe em v1/payments. |
collection.api_version | api_version (string) |
collection.concept_id | Não existe em v1/payments. |
collection.concept_amount | Não existe em v1/payments. |
collection.collector.id | collector_id (int64) |
collection.collector.nickname | Não existe em v1/payments. |