public void Get_Success() { // Creates a payment PaymentCreateRequest request = BuildCreateRequest(true, "approved"); Payment createdPayment = client.Create(request); Thread.Sleep(3000); // Gets the payment Payment payment = client.Get(createdPayment.Id.GetValueOrDefault()); Assert.NotNull(payment); Assert.Equal(createdPayment.Id, payment.Id); }