PUT
/
api
/
v1
/
order
/
{orderId}
/
confirm-payment
Confirm the payment for a Physical Card Order
const url = 'https://api.gnosispay.com/api/v1/order/{orderId}/confirm-payment';
const options = {method: 'PUT', headers: {Authorization: 'Bearer <token>'}, body: undefined};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
{
  "ok": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

orderId
string
required

The unique identifier of the card order.

Response

Transaction successfully attached to the card order.

ok
boolean

Indicates if the operation was successful.

Example:

true