post https://api.basqet.com/v1/transaction//pay
This endpoint updates the transaction object by assigning a cryptocurrency to it and returning the calculated value and a payment address assigned to it.
{
"status": "success",
"data": {
"id": 19,
"merchant_id": 5,
"customer_id": 4,
"initialized_amount": 500,
"payment_amount": 0.0067679,
"initialized_currency": 2,
"payment_currency": 7,
"status": "PENDING",
"reference": "bq_b3-NuEJ7mkVcRqGam",
"fee": 0.00010152,
"processor_id": 1,
"payment_address": "LZzTFzvn5ixQh3xLEoPteYTK2PFRJPmVLG",
"meta": {
"fee_bearer": "MERCHANT",
"refund_address": null
},
"expiry_date": "2022-01-21T05:14:51.000Z",
"created_at": "2022-01-21T04:44:33.000Z",
"updated_at": "2022-01-21T04:44:33.000Z",
"description": null,
"merchant": {
"id": 5,
"name": "Testttt",
"status": "ACTIVE",
"phone_number": "08063137500",
"created_at": "2022-01-19T20:13:58.000Z",
"updated_at": "2022-01-19T20:13:58.000Z"
},
"qrCode": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJQAAACUCAYAAAB1PADUAAAAAklEQVR4AewaftIAAATiSURBVO3BQY4cSRIEQdNA/f/Lun30UwCJ9OohuSaCP1K15KRq0UnVopOqRSdVi06qFp1ULTqpWnRSteikatFJ1aKTqkUnVYtOqhadVC06qVr0yUtAfpOaCciNmgnIjZobIE+omYBMam6A/CY1b5xULTqpWnRSteiTZWo2AblRMwGZgDwB5EbNBGRSMwGZ1ExAJjU3ajYB2XRSteikatFJ1aJPvgzIE2qeADKpmYBMaiYgk5oJyATkBsgNkE1AnlDzTSdVi06qFp1ULfrkL6dmAvJNap4A8v/kpGrRSdWik6pFn/zj1ExAboDcAJnUvKHmX3JSteikatFJ1aJPvkzNNwGZ1Dyh5gkgN0AmNTdAJjVPqPmTnFQtOqladFK16JNlQP4kQCY1E5BJzQRkUjMBmdRMQCY1bwD5k51ULTqpWnRSteiTl9T8l9RMQG6AvAHkN6n5m5xULTqpWnRSteiTl4BMaiYgk5ongNyomdQ8AWQCcqNmAvIEkDeATG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