diff --git a/src/Mollie.Api/Models/Payment/Response/Specific/PointOfSalePaymentResponse.cs b/src/Mollie.Api/Models/Payment/Response/Specific/PointOfSalePaymentResponse.cs
index f6e1855f..530bf427 100644
--- a/src/Mollie.Api/Models/Payment/Response/Specific/PointOfSalePaymentResponse.cs
+++ b/src/Mollie.Api/Models/Payment/Response/Specific/PointOfSalePaymentResponse.cs
@@ -1,9 +1,47 @@
namespace Mollie.Api.Models.Payment.Response.Specific {
public class PointOfSalePaymentResponse : PaymentResponse {
+ ///
+ /// An object with payment details.
+ ///
public PointOfSalePaymentResponseDetails Details { get; set; }
}
public class PointOfSalePaymentResponseDetails {
+ ///
+ /// The identifier referring to the terminal this payment was created for. For example, term_utGtYu756h.
+ ///
public string TerminalId { get; set; }
+
+ ///
+ /// Only available if the payment has been completed - The last four digits of the card number.
+ ///
+ public string CardNumber { get; set; }
+
+ ///
+ /// Only available if the payment has been completed - Unique alphanumeric representation of card, usable for
+ /// identifying returning customers.
+ ///
+ public string CardFingerprint { get; set; }
+
+ ///
+ /// Only available if the payment has been completed and if the data is available - The card’s target audience.
+ ///
+ /// Check the Mollie.Api.Models.Payment.Response.CreditCardAudience class for a full list of known values.
+ ///
+ public string CardAudience { get; set; }
+
+ ///
+ /// Only available if the payment has been completed - The card’s label. Note that not all labels can be
+ /// processed through Mollie.
+ ///
+ /// Check the Mollie.Api.Models.Payment.Response.CreditCardLabel class for a full list of known values.
+ ///
+ public string CardLabel { get; set; }
+
+ ///
+ /// Only available if the payment has been completed - The ISO 3166-1 alpha-2 country code of the country
+ /// the card was issued in. For example: BE.
+ ///
+ public string CardCountryCode { get; set; }
}
}
\ No newline at end of file
diff --git a/tests/Mollie.Tests.Integration/Api/PaymentTests.cs b/tests/Mollie.Tests.Integration/Api/PaymentTests.cs
index 84e495f5..6ce27b2e 100644
--- a/tests/Mollie.Tests.Integration/Api/PaymentTests.cs
+++ b/tests/Mollie.Tests.Integration/Api/PaymentTests.cs
@@ -460,6 +460,11 @@ public async Task CanCreatePointOfSalePayment() {
response.Should().BeOfType();
PointOfSalePaymentResponse posResponse = (PointOfSalePaymentResponse)response;
posResponse.Details.TerminalId.Should().Be(paymentRequest.TerminalId);
+ posResponse.Details.CardNumber.Should().BeNull();
+ posResponse.Details.CardFingerprint.Should().BeNull();
+ posResponse.Details.CardAudience.Should().BeNull();
+ posResponse.Details.CardLabel.Should().BeNull();
+ posResponse.Details.CardCountryCode.Should().BeNull();
posResponse.Method.Should().Be(PaymentMethod.PointOfSale);
}
}