AdvancedPayment

Extends \MercadoPago\Entity

Advanced Payment class

RestMethod

(resource="/v1/advanced_payments", method="create")

RestMethod

(resource="/v1/advanced_payments/:id", method="read")

RestMethod

(resource="/v1/advanced_payments/search", method="search")

RestMethod

(resource="/v1/advanced_payments/:id", method="update")

RestMethod

(resource="/v1/advanced_payments/:id/refunds", method="refund")

RequestParam

(param="access_token")

package

Default

Methods

cancel

cancel() : boolean|mixed
Throws
\Exception

Response

boolean|mixed

capture

capture() : boolean|mixed
Throws
\Exception

Response

boolean|mixed

refund

refund(integer $amount) : boolean
Throws
\Exception

Arguments

$amount

integer

Response

boolean

refundDisbursement

refundDisbursement( $disbursement_id, integer $amount) : boolean
Throws
\Exception

Arguments

$disbursement_id

$amount

integer

Response

boolean

Properties

id

id : integer
var
Attribute

()

Type(s)

integer

application_id

application_id : integer
var
Attribute

()

Type(s)

integer

payments

payments : array
var
Attribute

()

Type(s)

array

disbursements

disbursements : array
var
Attribute

()

Type(s)

array

payer

payer : object
var
Attribute

()

Type(s)

object

external_reference

external_reference : string
var
Attribute

()

Type(s)

string

description

description : string
var
Attribute

()

Type(s)

string

binary_mode

binary_mode : boolean
var
Attribute

()

Type(s)

boolean

status

status : string
var
Attribute

()

Type(s)

string

capture

capture : boolean
var
Attribute

()

Type(s)

boolean