• Home
  • SDK Documentation
Search Results for

    Show / Hide Table of Contents
    • MercadoPago.Client
      • AdvancedSearchRequest
      • IdempotentRequest
      • MercadoPagoClient<TResource>
      • RequestOptions
      • SearchRequest
    • MercadoPago.Client.AdvancedPayment
      • AdvancedPaymentAdditionalInfoPayerRequest
      • AdvancedPaymentAdditionalInfoRequest
      • AdvancedPaymentCancelRequest
      • AdvancedPaymentCaptureRequest
      • AdvancedPaymentClient
      • AdvancedPaymentCreateRequest
      • AdvancedPaymentDisbursementRequest
      • AdvancedPaymentItemRequest
      • AdvancedPaymentPayerRequest
      • AdvancedPaymentReceiverAddressRequest
      • AdvancedPaymentRefundClient
      • AdvancedPaymentRefundCreateRequest
      • AdvancedPaymentShipmentsRequest
      • AdvancedPaymentSplitPaymentRequest
      • AdvancedPaymentTaxRequest
      • AdvancedPaymentTransactionDetailsRequest
      • AdvancedPaymentUpdateReleaseDateRequest
    • MercadoPago.Client.AuthorizedPayment
      • AuthorizedPaymentClient
    • MercadoPago.Client.CardToken
      • CardTokenClient
      • CardTokenRequest
    • MercadoPago.Client.Common
      • AddressRequest
      • DifferentialPricingRequest
      • IdentificationRequest
      • PhoneRequest
      • SubMerchant
    • MercadoPago.Client.Customer
      • CustomerCardClient
      • CustomerCardCreateRequest
      • CustomerClient
      • CustomerDefaultAddressRequest
      • CustomerRequest
    • MercadoPago.Client.IdentificationType
      • IdentificationTypeClient
    • MercadoPago.Client.MerchantOrder
      • MerchantOrderClient
      • MerchantOrderCreateRequest
      • MerchantOrderItemRequest
      • MerchantOrderPayerRequest
      • MerchantOrderReceiverAddressCityRequest
      • MerchantOrderReceiverAddressCountryRequest
      • MerchantOrderReceiverAddressRequest
      • MerchantOrderReceiverAddressStateRequest
      • MerchantOrderShipmentRequest
      • MerchantOrderShippingEstimatedDeliveryRequest
      • MerchantOrderShippingOptionRequest
      • MerchantOrderShippingSpeedRequest
      • MerchantOrderUpdateRequest
    • MercadoPago.Client.OAuth
      • CreateOAuthCredentialRequest
      • OAuthClient
      • RefreshOAuthCredentialRequest
    • MercadoPago.Client.Order
      • OrderAddressRequest
      • OrderAutomaticPaymentRequest
      • OrderClient
      • OrderConfigRequest
      • OrderCreateRequest
      • OrderIdentificationRequest
      • OrderInvoicePeriodRequest
      • OrderItemsRequest
      • OrderOnlineConfigRequest
      • OrderPayerRequest
      • OrderPaymentMethodConfigRequest
      • OrderPaymentMethodRequest
      • OrderPaymentRequest
      • OrderPhoneRequest
      • OrderRefundClient
      • OrderRefundPaymentRequest
      • OrderRefundTransactionRequest
      • OrderStoredCredentialRequest
      • OrderSubscriptionDataRequest
      • OrderSubscriptionSequenceRequest
      • OrderTransactionClient
      • OrderTransactionRequest
      • OrderTransactionUpdateClient
    • MercadoPago.Client.Payment
      • PaymentAdditionalInfoPayerRequest
      • PaymentAdditionalInfoRequest
      • PaymentAuthenticationRequest
      • PaymentCancelRequest
      • PaymentCaptureRequest
      • PaymentCategoryDescriptorRequest
      • PaymentClient
      • PaymentCreateRequest
      • PaymentDataRequest
      • PaymentDiscountRequest
      • PaymentFeeRequest
      • PaymentForwardDataRequest
      • PaymentInvoicePeriodRequest
      • PaymentItemRequest
      • PaymentMerchantServicesRequest
      • PaymentMethodRequest
      • PaymentOrderRequest
      • PaymentPassengerRequest
      • PaymentPayerAddressRequest
      • PaymentPayerPhoneRequest
      • PaymentPayerRequest
      • PaymentPaymentReferenceRequest
      • PaymentPointOfInteractionRequest
      • PaymentReceiverAddressRequest
      • PaymentRefundClient
      • PaymentRefundCreateRequest
      • PaymentRouteRequest
      • PaymentRulesRequest
      • PaymentShipmentsRequest
      • PaymentSubscriptionSequenceRequest
      • PaymentTaxRequest
      • PaymentTransactionDataRequest
      • PaymentTransactionDetailsRequest
    • MercadoPago.Client.PaymentMethod
      • PaymentMethodClient
    • MercadoPago.Client.Preapproval
      • PreApprovalAutoRecurringCreateRequest
      • PreApprovalAutoRecurringUpdateRequest
      • PreapprovalClient
      • PreapprovalCreateRequest
      • PreapprovalUpdateRequest
    • MercadoPago.Client.Preference
      • PreferenceBackUrlsRequest
      • PreferenceCategoryDescriptorRequest
      • PreferenceClient
      • PreferenceFreeMethodRequest
      • PreferenceItemRequest
      • PreferencePassengerRequest
      • PreferencePayerRequest
      • PreferencePaymentMethodRequest
      • PreferencePaymentMethodsRequest
      • PreferencePaymentTypeRequest
      • PreferenceReceiverAddressRequest
      • PreferenceRequest
      • PreferenceRouteRequest
      • PreferenceShipmentsRequest
      • PreferenceTaxRequest
      • PreferenceTrackRequest
      • PreferenceTrackValuesRequest
    • MercadoPago.Client.User
      • UserClient
    • MercadoPago.Config
      • MercadoPagoConfig
    • MercadoPago.Error
      • ApiError
      • ApiErrorCause
      • MercadoPagoApiException
      • MercadoPagoException
    • MercadoPago.Http
      • DefaultHttpClient
      • DefaultRetryStrategy
      • Headers
      • HttpMethod
      • IHttpClient
      • IRetryStrategy
      • MercadoPagoRequest
      • MercadoPagoResponse
      • RetryResponse
    • MercadoPago.Resource
      • ElementsResourcesPage<TResource>
      • IResource
      • IResourcesPage<TResouce>
      • ResourcesList<TResource>
      • ResultsPaging
      • ResultsResourcesPage<TResource>
    • MercadoPago.Resource.AdvancedPayment
      • AdvancedPayment
      • AdvancedPaymentAdditionalInfo
      • AdvancedPaymentAdditionalInfoPayer
      • AdvancedPaymentDisbursement
      • AdvancedPaymentDisbursementRefund
      • AdvancedPaymentItem
      • AdvancedPaymentPayer
      • AdvancedPaymentReceiverAddress
      • AdvancedPaymentShipments
      • AdvancedPaymentSplitPayment
      • AdvancedPaymentStatus
      • AdvancedPaymentTax
      • AdvancedPaymentTransactionDetails
    • MercadoPago.Resource.AuthorizedPayment
      • AuthorizedPayment
      • AuthorizedPaymentStatus
    • MercadoPago.Resource.CardToken
      • CardToken
    • MercadoPago.Resource.Common
      • Address
      • Identification
      • Phone
      • Source
    • MercadoPago.Resource.Customer
      • Customer
      • CustomerAddress
      • CustomerAddressCity
      • CustomerAddressCountry
      • CustomerAddressMunicipality
      • CustomerAddressNeighborhood
      • CustomerAddressState
      • CustomerCard
      • CustomerCardCardholder
      • CustomerCardCardholderIdentification
      • CustomerCardIssuer
      • CustomerCardPaymentMethod
      • CustomerCardSecurityCode
      • CustomerDefaultAddress
    • MercadoPago.Resource.IdentificationType
      • IdentificationType
    • MercadoPago.Resource.MerchantOrder
      • MerchantOrder
      • MerchantOrderCollector
      • MerchantOrderItem
      • MerchantOrderPayer
      • MerchantOrderPayment
      • MerchantOrderReceiverAddress
      • MerchantOrderReceiverAddressCity
      • MerchantOrderReceiverAddressCountry
      • MerchantOrderReceiverAddressState
      • MerchantOrderShipment
      • MerchantOrderShippingEstimatedDelivery
      • MerchantOrderShippingOption
      • MerchantOrderShippingSpeed
    • MercadoPago.Resource.OAuth
      • OAuthCredential
    • MercadoPago.Resource.Order
      • Order
      • OrderAttempt
      • OrderIntegrationData
      • OrderItems
      • OrderPayer
      • OrderPayment
      • OrderPaymentMethod
      • OrderRefundItem
      • OrderSponsor
      • OrderTransaction
      • OrderUpdateTransaction
    • MercadoPago.Resource.Payment
      • Payment
      • PaymentAdditionalInfo
      • PaymentAdditionalInfoPayer
      • PaymentApplicationData
      • PaymentBankInfo
      • PaymentBankInfoCollector
      • PaymentBankInfoPayer
      • PaymentBarcode
      • PaymentCard
      • PaymentCardholder
      • PaymentData
      • PaymentDiscount
      • PaymentFee
      • PaymentFeeDetail
      • PaymentInvoicePeriod
      • PaymentItem
      • PaymentMethod
      • PaymentOrder
      • PaymentPayer
      • PaymentPaymentReference
      • PaymentPointOfInteraction
      • PaymentReceiverAddress
      • PaymentRefund
      • PaymentRules
      • PaymentShipments
      • PaymentStatus
      • PaymentSubscriptionSequence
      • PaymentTax
      • PaymentThreeDSInfo
      • PaymentTransactionData
      • PaymentTransactionDetails
    • MercadoPago.Resource.PaymentMethod
      • PaymentMethod
      • PaymentMethodFinancialInstitutions
      • PaymentMethodSettings
      • PaymentMethodSettingsBin
      • PaymentMethodSettingsCardNumber
      • PaymentMethodSettingsSecurityCode
    • MercadoPago.Resource.PreApproval
      • Preapproval
      • PreapprovalAutoRecurring
    • MercadoPago.Resource.Preference
      • Preference
      • PreferenceBackUrls
      • PreferenceCategoryDescriptor
      • PreferenceDifferentialPricing
      • PreferenceFreeMethod
      • PreferenceItem
      • PreferencePassenger
      • PreferencePayer
      • PreferencePaymentMethod
      • PreferencePaymentMethods
      • PreferencePaymentType
      • PreferenceReceiverAddress
      • PreferenceRoute
      • PreferenceShipments
      • PreferenceTax
      • PreferenceTrack
      • PreferenceTrackValues
    • MercadoPago.Resource.User
      • User
    • MercadoPago.Serialization
      • DefaultSerializer
      • ISerializer

    Class AdvancedPaymentClient

    Client that use the Advanced Payments APIs.

    Inheritance
    object
    MercadoPagoClient<AdvancedPayment>
    AdvancedPaymentClient
    Inherited Members
    MercadoPagoClient<AdvancedPayment>.HttpClient
    MercadoPagoClient<AdvancedPayment>.Serializer
    MercadoPagoClient<AdvancedPayment>.DefaultHeaders
    MercadoPagoClient<AdvancedPayment>.SendAsync(string, HttpMethod, object, RequestOptions, CancellationToken)
    MercadoPagoClient<AdvancedPayment>.Send(string, HttpMethod, object, RequestOptions)
    MercadoPagoClient<AdvancedPayment>.ListAsync(string, HttpMethod, object, RequestOptions, CancellationToken)
    MercadoPagoClient<AdvancedPayment>.List(string, HttpMethod, object, RequestOptions)
    MercadoPagoClient<AdvancedPayment>.SearchAsync<TPageResult>(string, SearchRequest, RequestOptions, CancellationToken)
    MercadoPagoClient<AdvancedPayment>.Search<TPageResult>(string, SearchRequest, RequestOptions)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: MercadoPago.Client.AdvancedPayment
    Assembly: MercadoPago.dll
    Syntax
    public class AdvancedPaymentClient : MercadoPagoClient<AdvancedPayment>

    Constructors

    | Edit this page View Source

    AdvancedPaymentClient()

    Initializes a new instance of the AdvancedPaymentClient class.

    Declaration
    public AdvancedPaymentClient()
    | Edit this page View Source

    AdvancedPaymentClient(IHttpClient)

    Initializes a new instance of the AdvancedPaymentClient class.

    Declaration
    public AdvancedPaymentClient(IHttpClient httpClient)
    Parameters
    Type Name Description
    IHttpClient httpClient

    The http client that will be used in HTTP requests.

    | Edit this page View Source

    AdvancedPaymentClient(IHttpClient, ISerializer)

    Initializes a new instance of the AdvancedPaymentClient class.

    Declaration
    public AdvancedPaymentClient(IHttpClient httpClient, ISerializer serializer)
    Parameters
    Type Name Description
    IHttpClient httpClient

    The http client that will be used in HTTP requests.

    ISerializer serializer

    The serializer that will be used to serialize the HTTP requests content and to deserialize the HTTP response content.

    | Edit this page View Source

    AdvancedPaymentClient(ISerializer)

    Initializes a new instance of the AdvancedPaymentClient class.

    Declaration
    public AdvancedPaymentClient(ISerializer serializer)
    Parameters
    Type Name Description
    ISerializer serializer

    The serializer that will be used to serialize the HTTP requests content and to deserialize the HTTP response content.

    Methods

    | Edit this page View Source

    Cancel(long, RequestOptions)

    Cancels a pending advanced payment.

    Declaration
    public AdvancedPayment Cancel(long id, RequestOptions requestOptions = null)
    Parameters
    Type Name Description
    long id

    Advanced payment id.

    RequestOptions requestOptions

    RequestOptions.

    Returns
    Type Description
    AdvancedPayment

    The cancelled advanced payment.

    Exceptions
    Type Condition
    MercadoPagoException

    If a unexpected exception occurs.

    MercadoPagoApiException

    If the API returns a error.

    | Edit this page View Source

    CancelAsync(long, RequestOptions, CancellationToken)

    Cancels a pending advanced payment async.

    Declaration
    public Task<AdvancedPayment> CancelAsync(long id, RequestOptions requestOptions = null, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    long id

    Advanced payment id.

    RequestOptions requestOptions

    RequestOptions.

    CancellationToken cancellationToken

    Cancellation token.

    Returns
    Type Description
    Task<AdvancedPayment>

    A task whose the result is the cancelled advanced payment.

    Exceptions
    Type Condition
    MercadoPagoException

    If a unexpected exception occurs.

    MercadoPagoApiException

    If the API returns a error.

    | Edit this page View Source

    Capture(long, RequestOptions)

    Captures a authorized advanced payment.

    Declaration
    public AdvancedPayment Capture(long id, RequestOptions requestOptions = null)
    Parameters
    Type Name Description
    long id

    Advanced payment id.

    RequestOptions requestOptions

    RequestOptions.

    Returns
    Type Description
    AdvancedPayment

    The captured advanced payment.

    Exceptions
    Type Condition
    MercadoPagoException

    If a unexpected exception occurs.

    MercadoPagoApiException

    If the API returns a error.

    | Edit this page View Source

    CaptureAsync(long, RequestOptions, CancellationToken)

    Captures a authorized advanced payment async.

    Declaration
    public Task<AdvancedPayment> CaptureAsync(long id, RequestOptions requestOptions = null, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    long id

    Advanced payment id.

    RequestOptions requestOptions

    RequestOptions.

    CancellationToken cancellationToken

    Cancellation token.

    Returns
    Type Description
    Task<AdvancedPayment>

    A task whose the result is the captured advanced payment.

    Exceptions
    Type Condition
    MercadoPagoException

    If a unexpected exception occurs.

    MercadoPagoApiException

    If the API returns a error.

    | Edit this page View Source

    Create(AdvancedPaymentCreateRequest, RequestOptions)

    Creates a advanced payment.

    Declaration
    public AdvancedPayment Create(AdvancedPaymentCreateRequest request, RequestOptions requestOptions = null)
    Parameters
    Type Name Description
    AdvancedPaymentCreateRequest request

    The data to create the advanced payment.

    RequestOptions requestOptions

    RequestOptions.

    Returns
    Type Description
    AdvancedPayment

    The created advanced payment.

    Remarks

    Check the API documentation here.

    Exceptions
    Type Condition
    MercadoPagoException

    If a unexpected exception occurs.

    MercadoPagoApiException

    If the API returns a error.

    | Edit this page View Source

    CreateAsync(AdvancedPaymentCreateRequest, RequestOptions, CancellationToken)

    Creates a advanced payment as an asynchronous operation.

    Declaration
    public Task<AdvancedPayment> CreateAsync(AdvancedPaymentCreateRequest request, RequestOptions requestOptions = null, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    AdvancedPaymentCreateRequest request

    The data to create the advanced payment.

    RequestOptions requestOptions

    RequestOptions

    CancellationToken cancellationToken

    Cancellation token

    Returns
    Type Description
    Task<AdvancedPayment>

    A task whose the result is the created advanced payment.

    Remarks

    Check the API documentation here.

    Exceptions
    Type Condition
    MercadoPagoException

    If a unexpected exception occurs.

    MercadoPagoApiException

    If the API returns a error.

    | Edit this page View Source

    Get(long, RequestOptions)

    Get a advanced payment by your ID.

    Declaration
    public AdvancedPayment Get(long id, RequestOptions requestOptions = null)
    Parameters
    Type Name Description
    long id

    The advanced payment ID.

    RequestOptions requestOptions

    RequestOptions

    Returns
    Type Description
    AdvancedPayment

    The advanced payment.

    Remarks

    Check the API documentation here.

    Exceptions
    Type Condition
    MercadoPagoException

    If a unexpected exception occurs.

    MercadoPagoApiException

    If the API returns a error.

    | Edit this page View Source

    GetAsync(long, RequestOptions, CancellationToken)

    Get async a advanced payment by your ID.

    Declaration
    public Task<AdvancedPayment> GetAsync(long id, RequestOptions requestOptions = null, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    long id

    The advanced payment ID.

    RequestOptions requestOptions

    RequestOptions

    CancellationToken cancellationToken

    Cancellation token

    Returns
    Type Description
    Task<AdvancedPayment>

    A task whose the result is the advanced payment.

    Remarks

    Check the API documentation here.

    Exceptions
    Type Condition
    MercadoPagoException

    If a unexpected exception occurs.

    MercadoPagoApiException

    If the API returns a error.

    | Edit this page View Source

    Refund(long, long, RequestOptions)

    Refunds a disbursement of a advanced payment.

    Declaration
    public AdvancedPaymentDisbursementRefund Refund(long id, long disbursementId, RequestOptions requestOptions = null)
    Parameters
    Type Name Description
    long id

    Advanced Payment ID.

    long disbursementId

    Disbursement ID.

    RequestOptions requestOptions

    RequestOptions.

    Returns
    Type Description
    AdvancedPaymentDisbursementRefund

    The refund of the disbursement.

    Exceptions
    Type Condition
    MercadoPagoException

    If a unexpected exception occurs.

    MercadoPagoApiException

    If the API returns a error.

    | Edit this page View Source

    Refund(long, long, decimal?, RequestOptions)

    Refunds a disbursement of a advanced payment.

    Declaration
    public AdvancedPaymentDisbursementRefund Refund(long id, long disbursementId, decimal? amount, RequestOptions requestOptions = null)
    Parameters
    Type Name Description
    long id

    Advanced Payment ID.

    long disbursementId

    Disbursement ID.

    decimal? amount

    Amount to be refunded.

    RequestOptions requestOptions

    RequestOptions.

    Returns
    Type Description
    AdvancedPaymentDisbursementRefund

    The refund of the disbursement.

    Exceptions
    Type Condition
    MercadoPagoException

    If a unexpected exception occurs.

    MercadoPagoApiException

    If the API returns a error.

    | Edit this page View Source

    RefundAll(long, RequestOptions)

    Refunds async all disbursements of a advanced payment.

    Declaration
    public ResourcesList<AdvancedPaymentDisbursementRefund> RefundAll(long id, RequestOptions requestOptions = null)
    Parameters
    Type Name Description
    long id

    Advanced Payment ID.

    RequestOptions requestOptions

    RequestOptions.

    Returns
    Type Description
    ResourcesList<AdvancedPaymentDisbursementRefund>

    A task whose the result is the refunds list.

    Exceptions
    Type Condition
    MercadoPagoException

    If a unexpected exception occurs.

    MercadoPagoApiException

    If the API returns a error.

    | Edit this page View Source

    RefundAllAsync(long, RequestOptions, CancellationToken)

    Refunds async all disbursements of a advanced payment.

    Declaration
    public Task<ResourcesList<AdvancedPaymentDisbursementRefund>> RefundAllAsync(long id, RequestOptions requestOptions = null, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    long id

    Advanced Payment ID.

    RequestOptions requestOptions

    RequestOptions.

    CancellationToken cancellationToken

    Cancellation token.

    Returns
    Type Description
    Task<ResourcesList<AdvancedPaymentDisbursementRefund>>

    A task whose the result is the refunds list.

    Exceptions
    Type Condition
    MercadoPagoException

    If a unexpected exception occurs.

    MercadoPagoApiException

    If the API returns a error.

    | Edit this page View Source

    RefundAsync(long, long, RequestOptions, CancellationToken)

    Refunds async a disbursement of a advanced payment.

    Declaration
    public Task<AdvancedPaymentDisbursementRefund> RefundAsync(long id, long disbursementId, RequestOptions requestOptions = null, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    long id

    Advanced Payment ID.

    long disbursementId

    Disbursement ID.

    RequestOptions requestOptions

    RequestOptions.

    CancellationToken cancellationToken

    Cancellation token.

    Returns
    Type Description
    Task<AdvancedPaymentDisbursementRefund>

    A task whose the result is the refund of the disbursement.

    Exceptions
    Type Condition
    MercadoPagoException

    If a unexpected exception occurs.

    MercadoPagoApiException

    If the API returns a error.

    | Edit this page View Source

    RefundAsync(long, long, decimal?, RequestOptions, CancellationToken)

    Refunds async a disbursement of a advanced payment.

    Declaration
    public Task<AdvancedPaymentDisbursementRefund> RefundAsync(long id, long disbursementId, decimal? amount, RequestOptions requestOptions = null, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    long id

    Advanced Payment ID.

    long disbursementId

    Disbursement ID.

    decimal? amount

    Amount to be refunded.

    RequestOptions requestOptions

    RequestOptions.

    CancellationToken cancellationToken

    Cancellation token.

    Returns
    Type Description
    Task<AdvancedPaymentDisbursementRefund>

    A task whose the result is the refund of the disbursement.

    Exceptions
    Type Condition
    MercadoPagoException

    If a unexpected exception occurs.

    MercadoPagoApiException

    If the API returns a error.

    | Edit this page View Source

    Search(SearchRequest, RequestOptions)

    Searches for advanced payments that match the criteria of AdvancedSearchRequest.

    Declaration
    public ResultsResourcesPage<AdvancedPayment> Search(SearchRequest request, RequestOptions requestOptions = null)
    Parameters
    Type Name Description
    SearchRequest request

    The search request parameters.

    RequestOptions requestOptions

    RequestOptions.

    Returns
    Type Description
    ResultsResourcesPage<AdvancedPayment>

    A task whose the result is a page of advanced payments.

    Remarks

    Check the API documentation here.

    Exceptions
    Type Condition
    MercadoPagoException

    If a unexpected exception occurs.

    MercadoPagoApiException

    If the API returns a error.

    | Edit this page View Source

    SearchAsync(SearchRequest, RequestOptions, CancellationToken)

    Searches async for advanced payments that match the criteria of AdvancedSearchRequest.

    Declaration
    public Task<ResultsResourcesPage<AdvancedPayment>> SearchAsync(SearchRequest request, RequestOptions requestOptions = null, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    SearchRequest request

    The search request parameters.

    RequestOptions requestOptions

    RequestOptions.

    CancellationToken cancellationToken

    Cancellation token.

    Returns
    Type Description
    Task<ResultsResourcesPage<AdvancedPayment>>

    A task whose the result is a page of advanced payments.

    Remarks

    Check the API documentation here.

    Exceptions
    Type Condition
    MercadoPagoException

    If a unexpected exception occurs.

    MercadoPagoApiException

    If the API returns a error.

    | Edit this page View Source

    UpdateReleaseDate(long, DateTime, RequestOptions)

    Updates the release date of all disbursementes of the advanced payment.

    Declaration
    public AdvancedPayment UpdateReleaseDate(long id, DateTime releaseDate, RequestOptions requestOptions = null)
    Parameters
    Type Name Description
    long id

    Advanced payment id.

    DateTime releaseDate

    The money reelease date.

    RequestOptions requestOptions

    RequestOptions.

    Returns
    Type Description
    AdvancedPayment

    A task whose the result is the updated advanced payment.

    Exceptions
    Type Condition
    MercadoPagoException

    If a unexpected exception occurs.

    MercadoPagoApiException

    If the API returns a error.

    | Edit this page View Source

    UpdateReleaseDate(long, long, DateTime, RequestOptions)

    Updates the release date of all disbursementes of the advanced payment.

    Declaration
    public AdvancedPayment UpdateReleaseDate(long id, long disbursementId, DateTime releaseDate, RequestOptions requestOptions = null)
    Parameters
    Type Name Description
    long id

    Advanced payment id.

    long disbursementId

    Disbursement ID.

    DateTime releaseDate

    The money reelease date.

    RequestOptions requestOptions

    RequestOptions.

    Returns
    Type Description
    AdvancedPayment

    A task whose the result is the updated advanced payment.

    Exceptions
    Type Condition
    MercadoPagoException

    If a unexpected exception occurs.

    MercadoPagoApiException

    If the API returns a error.

    | Edit this page View Source

    UpdateReleaseDateAsync(long, DateTime, RequestOptions, CancellationToken)

    Updates the release date of all disbursementes of the advanced payment async.

    Declaration
    public Task<AdvancedPayment> UpdateReleaseDateAsync(long id, DateTime releaseDate, RequestOptions requestOptions = null, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    long id

    Advanced payment id.

    DateTime releaseDate

    The money reelease date.

    RequestOptions requestOptions

    RequestOptions.

    CancellationToken cancellationToken

    Cancellation token.

    Returns
    Type Description
    Task<AdvancedPayment>

    A task whose the result is the updated advanced payment.

    Exceptions
    Type Condition
    MercadoPagoException

    If a unexpected exception occurs.

    MercadoPagoApiException

    If the API returns a error.

    | Edit this page View Source

    UpdateReleaseDateAsync(long, long, DateTime, RequestOptions, CancellationToken)

    Updates the release date of all disbursementes of the advanced payment async.

    Declaration
    public Task<AdvancedPayment> UpdateReleaseDateAsync(long id, long disbursementId, DateTime releaseDate, RequestOptions requestOptions = null, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    long id

    Advanced payment id.

    long disbursementId

    Disbursement ID.

    DateTime releaseDate

    The money reelease date.

    RequestOptions requestOptions

    RequestOptions.

    CancellationToken cancellationToken

    Cancellation token.

    Returns
    Type Description
    Task<AdvancedPayment>

    A task whose the result is the updated advanced payment.

    Exceptions
    Type Condition
    MercadoPagoException

    If a unexpected exception occurs.

    MercadoPagoApiException

    If the API returns a error.

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX