diff --git a/src/PaymentRequest.php b/src/PaymentRequest.php index 2ef1779..4431d86 100644 --- a/src/PaymentRequest.php +++ b/src/PaymentRequest.php @@ -358,6 +358,9 @@ public function jsonSerialize(): object { $object_builder->set_optional( 'dueDate', $due_date->format( 'Y-m-d' ) ); } + // Credit card. + $object_builder->set_optional( 'cardToken', $this->card_token ); + // IDeal. $object_builder->set_optional( 'issuer', $this->issuer );