Class AuthorizedPayment
Authorized Payment resource (also known as Invoice).
Implements
Inherited Members
Namespace: MercadoPago.Resource.AuthorizedPayment
Assembly: MercadoPago.dll
Syntax
public class AuthorizedPayment : IResource
Remarks
For more information check the documentation here
Properties
| Edit this page View SourceApiResponse
Response from API.
Declaration
public MercadoPagoResponse ApiResponse { get; set; }
Property Value
| Type | Description |
|---|---|
| MercadoPagoResponse |
CurrencyId
ID of the currency used in the payment.
ARS: Argentine peso.BRL: Brazilian real.CLP: Chilean peso.MXN: Mexican peso.COP: Colombian peso.PEN: Peruvian sol.UYU: Uruguayan peso.
Declaration
public string CurrencyId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DateCreated
Creation date.
Declaration
public DateTimeOffset? DateCreated { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
DebitDate
Date on which we will try to make the payment.
Declaration
public DateTimeOffset? DebitDate { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
ExternalReference
Reference to sync with your system. This is a free text field to help you with your integration to link the entities.
Declaration
public string ExternalReference { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Id
Unique invoice identifier.
Declaration
public long? Id { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
LastModified
Last modified date.
Declaration
public DateTimeOffset? LastModified { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
Payment
Summarization status of the invoice result in the subscription.
pending: Pending summary in the subscription.done: Summarized result in the subscription
Declaration
public AuthorizedPaymentStatus Payment { get; set; }
Property Value
| Type | Description |
|---|---|
| AuthorizedPaymentStatus |
PreapprovalId
Subscription ID for which the invoice was created.
Declaration
public string PreapprovalId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Reason
It is a short description that the subscriber will see during the checkout process and in the notifications.
Declaration
public string Reason { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RetryAttempt
How many times we try to collect the invoice.
Declaration
public int? RetryAttempt { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Status
Status of the invoice.
scheduled: Authorized payment scheduled to collectprocessed:: Authorized payment collected or exceeded retriesrecycling: Authorized payment in attempt to collectcancelled: Authorized payment canceled
Declaration
public string Status { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Summarized
Summarization status of the invoice result in the subscription.
pending: Pending summary in the subscription.done: Summarized result in the subscription
Declaration
public string Summarized { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TransactionAmount
Amount we will charge on each invoice.
Declaration
public decimal TransactionAmount { get; set; }
Property Value
| Type | Description |
|---|---|
| decimal |
Type
Type of invoice generated based on recurrence.
scheduled: Automatically generated and scheduled by the recurrence engine
Declaration
public string Type { get; set; }
Property Value
| Type | Description |
|---|---|
| string |