Class Payment
Payment resource.
Implements
Inherited Members
Namespace: MercadoPago .Resource.Payment
Assembly: MercadoPago.dll
Syntax
public class Payment : IResource
Remarks
For more information, access here.
Properties
| Edit this page View SourceAdditionalInfo
Data that could improve fraud analysis and conversion rates. Try to send as much information as possible.
Declaration
public PaymentAdditionalInfo AdditionalInfo { get; set; }
Property Value
Type | Description |
---|---|
Payment |
ApiResponse
Response from API.
Declaration
public MercadoPagoResponse ApiResponse { get; set; }
Property Value
Type | Description |
---|---|
Mercado |
AuthorizationCode
Authorization code.
Declaration
public string AuthorizationCode { get; set; }
Property Value
Type | Description |
---|---|
string |
BinaryMode
When set to true, the payment can only be approved or rejected. Otherwise in_process status is added.
Declaration
public bool? BinaryMode { get; set; }
Property Value
Type | Description |
---|---|
bool? |
CallForAuthorizeId
Gives more detailed information on the current state or rejection cause.
Declaration
public string CallForAuthorizeId { get; set; }
Property Value
Type | Description |
---|---|
string |
CallbackUrl
URL where mercadopago does the final redirect (only for bank transfers).
Declaration
public string CallbackUrl { get; set; }
Property Value
Type | Description |
---|---|
string |
CampaignId
Discount campaign ID.
Declaration
public int? CampaignId { get; set; }
Property Value
Type | Description |
---|---|
int? |
Captured
If the payment is captured (true
)
or just reserved (false
).
Declaration
public bool? Captured { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Card
Card used to pay.
Declaration
public PaymentCard Card { get; set; }
Property Value
Type | Description |
---|---|
Payment |
CollectorId
Collector ID.
Declaration
public long? CollectorId { get; set; }
Property Value
Type | Description |
---|---|
long? |
CorporationId
Corporation identification.
Declaration
public string CorporationId { get; set; }
Property Value
Type | Description |
---|---|
string |
CouponAmount
Amount of the coupon.
Declaration
public decimal? CouponAmount { get; set; }
Property Value
Type | Description |
---|---|
decimal? |
CouponCode
Discount campaign coupon code.
Declaration
public string CouponCode { get; set; }
Property Value
Type | Description |
---|---|
string |
CurrencyId
Currency information.
Declaration
public string CurrencyId { get; set; }
Property Value
Type | Description |
---|---|
string |
DateApproved
Approval date.
Declaration
public DateTime? DateApproved { get; set; }
Property Value
Type | Description |
---|---|
Date |
DateCreated
Creation date.
Declaration
public DateTime? DateCreated { get; set; }
Property Value
Type | Description |
---|---|
Date |
DateLastUpdated
Last modified date.
Declaration
public DateTime? DateLastUpdated { get; set; }
Property Value
Type | Description |
---|---|
Date |
DateOfExpiration
Date of expiration.
Declaration
public DateTime? DateOfExpiration { get; set; }
Property Value
Type | Description |
---|---|
Date |
Description
Payment reason or item title.
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
DifferentialPricingId
Id of the scheme for the absorption of financing fee.
Declaration
public int? DifferentialPricingId { get; set; }
Property Value
Type | Description |
---|---|
int? |
ExternalReference
ID given by the merchant in their system.
Declaration
public string ExternalReference { get; set; }
Property Value
Type | Description |
---|---|
string |
FeeDetails
Fee details.
Declaration
public IList<PaymentFeeDetail> FeeDetails { get; set; }
Property Value
Type | Description |
---|---|
IList<Payment |
Id
Payment ID.
Declaration
public long? Id { get; set; }
Property Value
Type | Description |
---|---|
long? |
Installments
Selected quantity of installments
Declaration
public int? Installments { get; set; }
Property Value
Type | Description |
---|---|
int? |
IntegratorId
Integrator identification.
Declaration
public string IntegratorId { get; set; }
Property Value
Type | Description |
---|---|
string |
InternalMetadata
Internal data that can be attached to the payment to record additional attributes of the merchant.
Declaration
public IDictionary<string, object> InternalMetadata { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, object> |
IssuerId
Payment method issuer.
Declaration
public string IssuerId { get; set; }
Property Value
Type | Description |
---|---|
string |
LiveMode
Live mode.
Declaration
public bool? LiveMode { get; set; }
Property Value
Type | Description |
---|---|
bool? |
MerchantAccountId
Merchant Id for complex payment cases.
Declaration
public string MerchantAccountId { get; set; }
Property Value
Type | Description |
---|---|
string |
Metadata
Data that can be attached to the payment to record additional attributes of the merchant.
Declaration
public IDictionary<string, object> Metadata { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, object> |
MoneyReleaseDate
Release date.
Declaration
public DateTime? MoneyReleaseDate { get; set; }
Property Value
Type | Description |
---|---|
Date |
NetAmount
Payment net amount.
Declaration
public decimal? NetAmount { get; set; }
Property Value
Type | Description |
---|---|
decimal? |
NotificationUrl
URL where mercadopago will send notifications associated to changes in this payment.
Declaration
public string NotificationUrl { get; set; }
Property Value
Type | Description |
---|---|
string |
OperationType
Operation type.
Declaration
public string OperationType { get; set; }
Property Value
Type | Description |
---|---|
string |
Order
Order identifier
Declaration
public PaymentOrder Order { get; set; }
Property Value
Type | Description |
---|---|
Payment |
Payer
Payer information.
Declaration
public PaymentPayer Payer { get; set; }
Property Value
Type | Description |
---|---|
Payment |
PaymentMethod
Payment method.
Declaration
public PaymentMethod PaymentMethod { get; set; }
Property Value
Type | Description |
---|---|
Payment |
PaymentMethodId
Payment method chosen to do the payment.
Declaration
public string PaymentMethodId { get; set; }
Property Value
Type | Description |
---|---|
string |
PaymentMethodOptionId
Payment method option id.
Declaration
public string PaymentMethodOptionId { get; set; }
Property Value
Type | Description |
---|---|
string |
PaymentTypeId
Payment type.
Declaration
public string PaymentTypeId { get; set; }
Property Value
Type | Description |
---|---|
string |
PlatformId
Platform identification.
Declaration
public string PlatformId { get; set; }
Property Value
Type | Description |
---|---|
string |
PointOfInteraction
Point of interaction.
Declaration
public PaymentPointOfInteraction PointOfInteraction { get; set; }
Property Value
Type | Description |
---|---|
Payment |
ProcessingMode
Processing mode to define if an specific merchant id should be used.
Declaration
public string ProcessingMode { get; set; }
Property Value
Type | Description |
---|---|
string |
Refunds
Refunds.
Declaration
public IList<PaymentRefund> Refunds { get; set; }
Property Value
Type | Description |
---|---|
IList<Payment |
SponsorId
Sponsor Identification.
Declaration
public long? SponsorId { get; set; }
Property Value
Type | Description |
---|---|
long? |
StatementDescriptor
How will look the payment in the card bill.
Declaration
public string StatementDescriptor { get; set; }
Property Value
Type | Description |
---|---|
string |
Status
Status.
Declaration
public string Status { get; set; }
Property Value
Type | Description |
---|---|
string |
StatusDetail
Status detail.
Declaration
public string StatusDetail { get; set; }
Property Value
Type | Description |
---|---|
string |
Taxes
Taxes for payments.
Declaration
public IList<PaymentTax> Taxes { get; set; }
Property Value
Type | Description |
---|---|
IList<Payment |
ThreeDSInfo
3DS Info.
Declaration
[JsonProperty(PropertyName = "three_ds_info")]
public PaymentThreeDSInfo ThreeDSInfo { get; set; }
Property Value
Type | Description |
---|---|
Payment |
TransactionAmount
Amount paid.
Declaration
public decimal? TransactionAmount { get; set; }
Property Value
Type | Description |
---|---|
decimal? |
TransactionAmountRefunded
Total refunded amount.
Declaration
public decimal? TransactionAmountRefunded { get; set; }
Property Value
Type | Description |
---|---|
decimal? |
TransactionDetails
Transaction details.
Declaration
public PaymentTransactionDetails TransactionDetails { get; set; }
Property Value
Type | Description |
---|---|
Payment |