Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 2.78 KB

PaymentRequest.md

File metadata and controls

26 lines (21 loc) · 2.78 KB

# PaymentRequest

Properties

Name Type Description Notes
currency \Payrobot\Model\CryptoCurrency [optional]
paymentId string Unique identifier of the payment in selected currency [optional]
address string One-use address for receive your client payment [optional]
pin string PIN, it will be required if you need support with this payment.\ Note: It's provided only the first time you create the payment request [optional]
type int * `0: Receive and forward` payment is forwarded to a desired coin address once it's confirmed * `1: Receive and store` payment is stored in a payrobot.io wallet [optional]
amount string The payment amount your client has to send to the coin address [optional]
callback string URL where payrobot.io will send the status of the payment (Webhook) [optional]
feePct float Fee percentage that will be discounted [optional] [default to 0.9]
feeAmount string Fee amount that will be discounted [optional]
finalAmount string Final amount of the transaction (Fee discount is already applied) * For `Receive and forward` payment is the total amount to `forward` as soon as the payment is confirmed * For `Receive and forward` payment is the total amount to `store` in the wallet as soon as the payment is confirmed [optional]
destination string * For `Receive and forward` payment is the coin `ADDRESS` where the payment is going to be forwarded as soon as it's confirmed * For `Receive and store` payment is the `WALLET ID` where the payment is going to be stored as soon as it's confirmed [optional]
reference string Custom reference for payment identifying [optional]
timestamp int Request creation date expressed in UNIX timestamp [optional]
lastupdate int Last update expressed in UNIX timestamp [optional]
status int Status of the payment: * `0: Idle` payment has not been paid * `1: Incomplete` payment is being paid partially * `2: Confirming` payment has been received completely but it's not confirmed by network yet * `3: Confirmed` payment has been paid completely and it has at least `1` confirmation by network [optional]
error bool `true` is there was a problem. `false` if not [optional]

[Back to Model list] [Back to API list] [Back to README]