We provide a solution to schedule a debit. For example, it's possible to get a first payment at the beginning and get the rest later.
To do this, you can use a new node in the PaymentOrder/Create API : ScheduledOperations
"ScheduledOperations":
[
{"Type":"ChargePaymentOrder",
"Delay":90,
"Amount":202.71
}
]
<ScheduledOperations>
<ScheduledOperation>
<Type>ChargePaymentOrder</Type>
<Delay>90</Delay>
<Amount>202.71</Amount>
</ScheduledOperation>
</ScheduledOperations>
Parameter | Description | Comment |
---|---|---|
Type | ChargePaymentOrder | To define the operation : charge |
Delay | In days, between the creation date and the charge | Between 1 and 505. The hour can not be specified. |
Amount | This amount has to be lower than the global amount | The currency is the same than the currency in the node PaymentOrder |