Class PaymentCreateRequest
Parameters to create a payment.
Inherited Members
Namespace: MercadoPago.Client.Payment
Assembly: MercadoPago.dll
Syntax
public class PaymentCreateRequest : IdempotentRequest
Remarks
Check the parameters 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 PaymentAdditionalInfoRequest AdditionalInfo { get; set; }
Property Value
Type | Description |
---|---|
PaymentAdditionalInfoRequest |
ApplicationFee
Fee collected by a marketplace or MercadoPago Application.
Declaration
public decimal? ApplicationFee { get; set; }
Property Value
Type | Description |
---|---|
decimal? |
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? |
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? |
Capture
Determines if the payment should be captured (true
)
or just reserved (false
).
Declaration
public bool? Capture { get; set; }
Property Value
Type | Description |
---|---|
bool? |
CouponAmount
Amount of the coupon discount.
Declaration
public decimal? CouponAmount { get; set; }
Property Value
Type | Description |
---|---|
decimal? |
CouponCode
Discount campaign with a specific code.
Declaration
public string CouponCode { get; set; }
Property Value
Type | Description |
---|---|
string |
DateOfExpiration
Date of expiration.
Declaration
public DateTime? DateOfExpiration { get; set; }
Property Value
Type | Description |
---|---|
DateTime? |
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 |
Installments
Selected quantity of installments.
Declaration
public int? Installments { get; set; }
Property Value
Type | Description |
---|---|
int? |
IssuerId
Payment method issuer
Declaration
public string IssuerId { get; set; }
Property Value
Type | Description |
---|---|
string |
Marketplace
Marketplace.
Declaration
public string Marketplace { get; set; }
Property Value
Type | Description |
---|---|
string |
MerchantAccountId
Merchant Id for complex payment cases.
Declaration
public string MerchantAccountId { get; set; }
Property Value
Type | Description |
---|---|
string |
MerchantServices
Merchant services.
Declaration
public PaymentMerchantServicesRequest MerchantServices { get; set; }
Property Value
Type | Description |
---|---|
PaymentMerchantServicesRequest |
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> |
NetAmount
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 |
Order
Order identifier.
Declaration
public PaymentOrderRequest Order { get; set; }
Property Value
Type | Description |
---|---|
PaymentOrderRequest |
Payer
Payer information.
Declaration
public PaymentPayerRequest Payer { get; set; }
Property Value
Type | Description |
---|---|
PaymentPayerRequest |
PaymentForwardDataRequest
Rules.
Declaration
public PaymentForwardDataRequest PaymentForwardDataRequest { get; set; }
Property Value
Type | Description |
---|---|
PaymentForwardDataRequest |
PaymentMethod
Rules.
Declaration
public PaymentMethodRequest PaymentMethod { get; set; }
Property Value
Type | Description |
---|---|
PaymentMethodRequest |
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 |
PointOfInteraction
Point Of Interaction.
Declaration
public PaymentPointOfInteractionRequest PointOfInteraction { get; set; }
Property Value
Type | Description |
---|---|
PaymentPointOfInteractionRequest |
ProcessingMode
Processing mode to define if an specific merchannt id should be used.
Declaration
public string ProcessingMode { get; set; }
Property Value
Type | Description |
---|---|
string |
SponsorId
Sponsor Identification.
Declaration
public long? SponsorId { get; set; }
Property Value
Type | Description |
---|---|
long? |
StatementDescriptor
How will look the payment in the card bill (e.g.: MERCADOPAGO).
Declaration
public string StatementDescriptor { get; set; }
Property Value
Type | Description |
---|---|
string |
Taxes
Taxes for payments.
Declaration
public IList<PaymentTaxRequest> Taxes { get; set; }
Property Value
Type | Description |
---|---|
IList<PaymentTaxRequest> |
ThreeDSecureMode
3DS.
Declaration
public string ThreeDSecureMode { get; set; }
Property Value
Type | Description |
---|---|
string |
Token
Card token ID.
Declaration
public string Token { get; set; }
Property Value
Type | Description |
---|---|
string |
TransactionAmount
Amount paid.
Declaration
public decimal? TransactionAmount { get; set; }
Property Value
Type | Description |
---|---|
decimal? |
TransactionDetails
Transaction details.
Declaration
public PaymentTransactionDetailsRequest TransactionDetails { get; set; }
Property Value
Type | Description |
---|---|
PaymentTransactionDetailsRequest |