Confirm

Confirm

After a client makes a payment, they will call the Confirm method to let us verify that they have paid.

Endpoints
POST /api/payment/confirm

Request Object

fieldtypedescription
hashstringXRP transaction hash
emailstringemail of the user that created this plan
pidnumberid of the corresponding plan
ratenumbercurrent usd/XRP exchange rate (temporary)

Response Object

fieldtypedescription
idnumberunique identifier
pidnumberid of the corresponding plan
emailstringemail of the user that is the plan owner
datestringISO 8601 date of payment (YYYY-MM-DD)
originstringaddress of account that was paid from
destinationstringaddress of account that was paid to
amountnumberamount paid by account in this payment