hyperswitch
hyperswitch copied to clipboard
feat(worldpay): migrate to v7
Type of Change
- [x] Bugfix
- [ ] New feature
- [x] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD
Description
Described in #6116
Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables
Motivation and Context
Strengthens worldpay connector's integration.
How did you test it?
Things to test
- No 3DS payment using auto capture
- No 3DS payment using manual capture (full amount captures)
- Full amount refunds
- Payments Sync
1. Create and capture
cURL
curl --location 'http://localhost:8080/payments' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: dev_hQVsbuQEJOsMxgS1XyrwdxU1vAi4WsMp2r5Ywh9238jRnvJamzRXpeJVimSfE4oN' \
--data-raw '{
"amount": 30,
"currency": "USD",
"confirm": true,
"capture_method": "automatic",
"amount_to_capture": 30,
"customer_id": "default_cust",
"email": "[email protected]",
"name": "John Doe",
"phone": "999999999",
"phone_country_code": "+1",
"description": "Its my first payment request",
"authentication_type": "no_three_ds",
"return_url": "https://google.com",
"payment_method": "card",
"payment_method_type": "debit",
"connector": [
"worldpay"
],
"payment_method_data": {
"card": {
"card_number": "4242424242424242",
"card_exp_month": "03",
"card_exp_year": "2030",
"card_holder_name": "joseph Doe",
"card_cvc": "123"
}
},
"statement_descriptor_name": "joseph",
"statement_descriptor_suffix": "JS",
"metadata": {
"udf1": "value1",
"new_customer": "true",
"login_date": "2019-09-10T10:11:12Z"
},
"browser_info": {
"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36",
"accept_header": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8",
"language": "nl-NL",
"color_depth": 24,
"screen_height": 723,
"screen_width": 1536,
"time_zone": 0,
"java_enabled": true,
"java_script_enabled": true,
"ip_address": "127.0.0.1"
}
}'
Response
{
"payment_id": "pay_NZqQvZ8fcOPBh9G8DGYL",
"merchant_id": "merchant_1727351469",
"status": "processing",
"amount": 30,
"net_amount": 30,
"amount_capturable": 0,
"amount_received": null,
"connector": "worldpay",
"client_secret": "pay_NZqQvZ8fcOPBh9G8DGYL_secret_pS12cS9WGzDVePcuToPS",
"created": "2024-09-26T11:56:54.387Z",
"currency": "USD",
"customer_id": "default_cust",
"customer": {
"id": "default_cust",
"name": "John Doe",
"email": "[email protected]",
"phone": "999999999",
"phone_country_code": "+1"
},
"description": "Its my first payment request",
"refunds": null,
"disputes": null,
"mandate_id": null,
"mandate_data": null,
"setup_future_usage": null,
"off_session": null,
"capture_on": null,
"capture_method": "automatic",
"payment_method": "card",
"payment_method_data": {
"card": {
"last4": "4242",
"card_type": null,
"card_network": null,
"card_issuer": null,
"card_issuing_country": null,
"card_isin": "424242",
"card_extended_bin": null,
"card_exp_month": "03",
"card_exp_year": "2030",
"card_holder_name": null,
"payment_checks": null,
"authentication_data": null
},
"billing": null
},
"payment_token": null,
"shipping": null,
"billing": null,
"order_details": null,
"email": "[email protected]",
"name": "John Doe",
"phone": "999999999",
"return_url": "https://google.com/",
"authentication_type": "no_three_ds",
"statement_descriptor_name": "joseph",
"statement_descriptor_suffix": "JS",
"next_action": null,
"cancellation_reason": null,
"error_code": null,
"error_message": null,
"unified_code": null,
"unified_message": null,
"payment_experience": null,
"payment_method_type": "debit",
"connector_label": null,
"business_country": null,
"business_label": "default",
"business_sub_label": null,
"allowed_payment_method_types": null,
"ephemeral_key": {
"customer_id": "default_cust",
"created_at": 1727351814,
"expires": 1727355414,
"secret": "epk_acfbbc3281c148dd987b6132993fea2d"
},
"manual_retry_allowed": false,
"connector_transaction_id": "eyJrIjoiazNhYjYzMiIsImxpbmtWZXJzaW9uIjoiNS4wLjAifQ==.sN:g8wd64bwkbrp0md+bPxcanBnk2zLdsIqSa1pR99GGg8fCNQpPLoWNslSzWNPFBM5Tpa8tW7EFI5onKINsgChMHeJVoeH2lrBWCRyjZYT6h+lbqfJa+1BSoKFSY8HLnb6ueU9CbFGwfx591hAsgQIRSoXyZaKoMjxP1EcfaiTUMYEzVJGIlCiYSGGWYG0a6076ZdnXFUQXCzmyoO5fYnojCGT5jnSkpzJvYFEyy2NCnMzk2C7iamI1tOIdYFfYCvERwWWTa+80d:aJmIlSKgn3O0PHAq2Xi+sNlchm83h2J9B9mwlKgm3S:taO:ZbBw8gpCy5HM2WoIeZ0:XaCCrRM9QKRvbI4hUfmMTrs3ETMXutYDlb4dag7xGA2Qa4Ttn9WFEcXNtvDKZy5OJFs3A==",
"frm_message": null,
"metadata": {
"udf1": "value1",
"login_date": "2019-09-10T10:11:12Z",
"new_customer": "true"
},
"connector_metadata": null,
"feature_metadata": null,
"reference_id": null,
"payment_link": null,
"profile_id": "pro_UANp3p6unZQH3GOhADuU",
"surcharge_details": null,
"attempt_count": 1,
"merchant_decision": null,
"merchant_connector_id": "mca_AaZU41n7q7gnrpacJ466",
"incremental_authorization_allowed": null,
"authorization_count": null,
"incremental_authorizations": null,
"external_authentication_details": null,
"external_3ds_authentication_attempted": false,
"expires_on": "2024-09-26T12:11:54.387Z",
"fingerprint": null,
"browser_info": {
"language": "nl-NL",
"time_zone": 0,
"ip_address": "127.0.0.1",
"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36",
"color_depth": 24,
"java_enabled": true,
"screen_width": 1536,
"accept_header": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8",
"screen_height": 723,
"java_script_enabled": true
},
"payment_method_id": null,
"payment_method_status": null,
"updated": "2024-09-26T11:56:55.183Z",
"charges": null,
"frm_metadata": null,
"merchant_order_reference_id": null,
"order_tax_amount": null,
"connector_mandate_id": null
}
2. Create a payment using manual capture
cURL
curl --location 'http://localhost:8080/payments' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: dev_hQVsbuQEJOsMxgS1XyrwdxU1vAi4WsMp2r5Ywh9238jRnvJamzRXpeJVimSfE4oN' \
--data-raw '{
"amount": 30,
"currency": "USD",
"confirm": true,
"capture_method": "manual",
"amount_to_capture": 30,
"customer_id": "default_cust",
"email": "[email protected]",
"name": "John Doe",
"phone": "999999999",
"phone_country_code": "+1",
"description": "Its my first payment request",
"authentication_type": "no_three_ds",
"return_url": "https://google.com",
"payment_method": "card",
"payment_method_type": "debit",
"connector": [
"worldpay"
],
"payment_method_data": {
"card": {
"card_number": "4242424242424242",
"card_exp_month": "03",
"card_exp_year": "2030",
"card_holder_name": "joseph Doe",
"card_cvc": "123"
}
},
"statement_descriptor_name": "joseph",
"statement_descriptor_suffix": "JS",
"metadata": {
"udf1": "value1",
"new_customer": "true",
"login_date": "2019-09-10T10:11:12Z"
},
"browser_info": {
"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36",
"accept_header": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8",
"language": "nl-NL",
"color_depth": 24,
"screen_height": 723,
"screen_width": 1536,
"time_zone": 0,
"java_enabled": true,
"java_script_enabled": true,
"ip_address": "127.0.0.1"
}
}'
Response
{
"payment_id": "pay_CqvpsM1Aj2IEuOvZvrsq",
"merchant_id": "merchant_1727351469",
"status": "requires_capture",
"amount": 30,
"net_amount": 30,
"amount_capturable": 30,
"amount_received": null,
"connector": "worldpay",
"client_secret": "pay_CqvpsM1Aj2IEuOvZvrsq_secret_ZsHjmwNUQxz7qENlWKRG",
"created": "2024-09-26T12:13:39.556Z",
"currency": "USD",
"customer_id": "default_cust",
"customer": {
"id": "default_cust",
"name": "John Doe",
"email": "[email protected]",
"phone": "999999999",
"phone_country_code": "+1"
},
"description": "Its my first payment request",
"refunds": null,
"disputes": null,
"mandate_id": null,
"mandate_data": null,
"setup_future_usage": null,
"off_session": null,
"capture_on": null,
"capture_method": "manual",
"payment_method": "card",
"payment_method_data": {
"card": {
"last4": "4242",
"card_type": null,
"card_network": null,
"card_issuer": null,
"card_issuing_country": null,
"card_isin": "424242",
"card_extended_bin": null,
"card_exp_month": "03",
"card_exp_year": "2030",
"card_holder_name": null,
"payment_checks": null,
"authentication_data": null
},
"billing": null
},
"payment_token": null,
"shipping": null,
"billing": null,
"order_details": null,
"email": "[email protected]",
"name": "John Doe",
"phone": "999999999",
"return_url": "https://google.com/",
"authentication_type": "no_three_ds",
"statement_descriptor_name": "joseph",
"statement_descriptor_suffix": "JS",
"next_action": null,
"cancellation_reason": null,
"error_code": null,
"error_message": null,
"unified_code": null,
"unified_message": null,
"payment_experience": null,
"payment_method_type": "debit",
"connector_label": null,
"business_country": null,
"business_label": "default",
"business_sub_label": null,
"allowed_payment_method_types": null,
"ephemeral_key": {
"customer_id": "default_cust",
"created_at": 1727352819,
"expires": 1727356419,
"secret": "epk_6524fd56e9334269b3da878638480886"
},
"manual_retry_allowed": false,
"connector_transaction_id": "eyJrIjoiazNhYjYzMiIsImxpbmtWZXJzaW9uIjoiNS4wLjAifQ==.sN:g8wd64bwkbrp0md+bPxcanBnk2zLdsIqSa1pR99GGg8fCNQpPLoWNslSzWNPFBM5Tpa8tW7EFI5onKINsgChMHeJVoeH2lrBWCRyjZYT6h+lbqfJa+1BSoKFSY8HLIfNhwuN4ZodT3laQe9WH8oRdkrhkT0SqvHaO8Zdn9+:UMYEzVJGIlCiYSGGWYG0a6076ZdnXFUQXCzmyoO5fYnojCGT5jnSkpzJvYFEyy2NCnMzk2C7iamI1tOIdYFfYCvERwWWTa+80d:aJmIlSKgn3O0PHAq2Xi+sNlchm83i2AtgthuD6sD4iuhj0IAQHfRrDquis0nMGnyeSQ0:qu7E2oMvn7cMnoWOTWCv9o84KnJGlExG1RNLYMTWnQ3VTJDVBhcAjNaDWUTFEl:Kfxw==",
"frm_message": null,
"metadata": {
"udf1": "value1",
"login_date": "2019-09-10T10:11:12Z",
"new_customer": "true"
},
"connector_metadata": null,
"feature_metadata": null,
"reference_id": null,
"payment_link": null,
"profile_id": "pro_UANp3p6unZQH3GOhADuU",
"surcharge_details": null,
"attempt_count": 1,
"merchant_decision": null,
"merchant_connector_id": "mca_AaZU41n7q7gnrpacJ466",
"incremental_authorization_allowed": null,
"authorization_count": null,
"incremental_authorizations": null,
"external_authentication_details": null,
"external_3ds_authentication_attempted": false,
"expires_on": "2024-09-26T12:28:39.555Z",
"fingerprint": null,
"browser_info": {
"language": "nl-NL",
"time_zone": 0,
"ip_address": "127.0.0.1",
"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36",
"color_depth": 24,
"java_enabled": true,
"screen_width": 1536,
"accept_header": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8",
"screen_height": 723,
"java_script_enabled": true
},
"payment_method_id": null,
"payment_method_status": null,
"updated": "2024-09-26T12:13:40.443Z",
"charges": null,
"frm_metadata": null,
"merchant_order_reference_id": null,
"order_tax_amount": null,
"connector_mandate_id": null
}
cURL (capture)
curl --location 'http://localhost:8080/payments/pay_CqvpsM1Aj2IEuOvZvrsq/capture' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: dev_jGgKDnT9zDIpkNIbAU44DdT8uzauyY5huxSuQbqmgsvMmiTVnYVY6kNRE1xZtrnC' \
--data '{}'
Response
{
"payment_id": "pay_CqvpsM1Aj2IEuOvZvrsq",
"merchant_id": "merchant_1727351469",
"status": "succeeded",
"amount": 30,
"net_amount": 30,
"amount_capturable": 0,
"amount_received": 30,
"connector": "worldpay",
"client_secret": "pay_CqvpsM1Aj2IEuOvZvrsq_secret_ZsHjmwNUQxz7qENlWKRG",
"created": "2024-09-26T12:13:39.556Z",
"currency": "USD",
"customer_id": "default_cust",
"customer": {
"id": "default_cust",
"name": "John Doe",
"email": "[email protected]",
"phone": "999999999",
"phone_country_code": "+1"
},
"description": "Its my first payment request",
"refunds": null,
"disputes": null,
"mandate_id": null,
"mandate_data": null,
"setup_future_usage": null,
"off_session": null,
"capture_on": null,
"capture_method": "manual",
"payment_method": "card",
"payment_method_data": {
"card": {
"last4": "4242",
"card_type": null,
"card_network": null,
"card_issuer": null,
"card_issuing_country": null,
"card_isin": "424242",
"card_extended_bin": null,
"card_exp_month": "03",
"card_exp_year": "2030",
"card_holder_name": null,
"payment_checks": null,
"authentication_data": null
},
"billing": null
},
"payment_token": null,
"shipping": null,
"billing": null,
"order_details": null,
"email": "[email protected]",
"name": "John Doe",
"phone": "999999999",
"return_url": "https://google.com/",
"authentication_type": "no_three_ds",
"statement_descriptor_name": "joseph",
"statement_descriptor_suffix": "JS",
"next_action": null,
"cancellation_reason": null,
"error_code": null,
"error_message": null,
"unified_code": null,
"unified_message": null,
"payment_experience": null,
"payment_method_type": "debit",
"connector_label": null,
"business_country": null,
"business_label": "default",
"business_sub_label": null,
"allowed_payment_method_types": null,
"ephemeral_key": null,
"manual_retry_allowed": false,
"connector_transaction_id": "eyJrIjoiazNhYjYzMiIsImxpbmtWZXJzaW9uIjoiNS4wLjAifQ==.sN:g8wd64bwkbrp0md+bPxcanBnk2zLdsIqSa1pR99GGg8fCNQpPLoWNslSzWNPFBM5Tpa8tW7EFI5onKINsgChMHeJVoeH2lrBWCRyjZYT6h+lbqfJa+1BSoKFSY8HLIfNhwuN4ZodT3laQe9WH8oRdkrhkT0SqvHaO8Zdn9+:UMYEzVJGIlCiYSGGWYG0a6076ZdnXFUQXCzmyoO5fYnojCGT5jnSkpzJvYFEyy2NCnMzk2C7iamI1tOIdYFfYCvERwWWTa+80d:aJmIlSKgn3O0PHAq2Xi+sNlchm83i2AtgthuD6sD4iuhj0IAQHfRrDquis0nMGnyeSQ0:qu7E2oMvn7cMnoWOTWCv9o84KnJGlExG1RNLYMTWnQ3VTJDVBhcAjNaDWUTFEl:Kfxw==",
"frm_message": null,
"metadata": {
"udf1": "value1",
"login_date": "2019-09-10T10:11:12Z",
"new_customer": "true"
},
"connector_metadata": null,
"feature_metadata": null,
"reference_id": null,
"payment_link": null,
"profile_id": "pro_UANp3p6unZQH3GOhADuU",
"surcharge_details": null,
"attempt_count": 1,
"merchant_decision": null,
"merchant_connector_id": "mca_AaZU41n7q7gnrpacJ466",
"incremental_authorization_allowed": null,
"authorization_count": null,
"incremental_authorizations": null,
"external_authentication_details": null,
"external_3ds_authentication_attempted": false,
"expires_on": "2024-09-26T12:28:39.555Z",
"fingerprint": null,
"browser_info": {
"language": "nl-NL",
"time_zone": 0,
"ip_address": "127.0.0.1",
"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36",
"color_depth": 24,
"java_enabled": true,
"screen_width": 1536,
"accept_header": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8",
"screen_height": 723,
"java_script_enabled": true
},
"payment_method_id": null,
"payment_method_status": null,
"updated": "2024-09-26T12:14:26.304Z",
"charges": null,
"frm_metadata": null,
"merchant_order_reference_id": null,
"order_tax_amount": null,
"connector_mandate_id": null
}
3. Full amount refunds
cURL
curl --location 'http://localhost:8080/refunds' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: dev_hQVsbuQEJOsMxgS1XyrwdxU1vAi4WsMp2r5Ywh9238jRnvJamzRXpeJVimSfE4oN' \
--data '{
"payment_id": "pay_CqvpsM1Aj2IEuOvZvrsq",
"amount": 30,
"reason": "Customer returned product",
"refund_type": "instant",
"metadata": {
"udf1": "value1",
"new_customer": "true",
"login_date": "2019-09-10T10:11:12Z"
}
}'
Response
{
"refund_id": "ref_GX50lP3TOZ5LEBgkCt3o",
"payment_id": "pay_CqvpsM1Aj2IEuOvZvrsq",
"amount": 30,
"currency": "USD",
"status": "succeeded",
"reason": "Customer returned product",
"metadata": {
"udf1": "value1",
"new_customer": "true",
"login_date": "2019-09-10T10:11:12Z"
},
"error_message": null,
"error_code": null,
"created_at": "2024-09-26T12:17:08.162Z",
"updated_at": "2024-09-26T12:17:09.220Z",
"connector": "worldpay",
"profile_id": "pro_UANp3p6unZQH3GOhADuU",
"merchant_connector_id": "mca_AaZU41n7q7gnrpacJ466",
"charges": null
}
4. Retrieve payment
cURL
curl --location 'http://localhost:8080/payments/pay_CqvpsM1Aj2IEuOvZvrsq?force_sync=true'
--header 'Accept: application/json'
--header 'api-key: dev_hQVsbuQEJOsMxgS1XyrwdxU1vAi4WsMp2r5Ywh9238jRnvJamzRXpeJVimSfE4oN'
Response
{
"payment_id": "pay_CqvpsM1Aj2IEuOvZvrsq",
"merchant_id": "merchant_1727351469",
"status": "succeeded",
"amount": 30,
"net_amount": 30,
"amount_capturable": 0,
"amount_received": 30,
"connector": "worldpay",
"client_secret": "pay_CqvpsM1Aj2IEuOvZvrsq_secret_ZsHjmwNUQxz7qENlWKRG",
"created": "2024-09-26T12:13:39.556Z",
"currency": "USD",
"customer_id": "default_cust",
"customer": {
"id": "default_cust",
"name": "John Doe",
"email": "[email protected]",
"phone": "999999999",
"phone_country_code": "+1"
},
"description": "Its my first payment request",
"refunds": [
{
"refund_id": "ref_GX50lP3TOZ5LEBgkCt3o",
"payment_id": "pay_CqvpsM1Aj2IEuOvZvrsq",
"amount": 30,
"currency": "USD",
"status": "succeeded",
"reason": "Customer returned product",
"metadata": {
"udf1": "value1",
"new_customer": "true",
"login_date": "2019-09-10T10:11:12Z"
},
"error_message": null,
"error_code": null,
"created_at": "2024-09-26T12:17:08.162Z",
"updated_at": "2024-09-26T12:17:09.220Z",
"connector": "worldpay",
"profile_id": "pro_UANp3p6unZQH3GOhADuU",
"merchant_connector_id": "mca_AaZU41n7q7gnrpacJ466",
"charges": null
}
],
"disputes": null,
"mandate_id": null,
"mandate_data": null,
"setup_future_usage": null,
"off_session": null,
"capture_on": null,
"capture_method": "manual",
"payment_method": "card",
"payment_method_data": {
"card": {
"last4": "4242",
"card_type": null,
"card_network": null,
"card_issuer": null,
"card_issuing_country": null,
"card_isin": "424242",
"card_extended_bin": null,
"card_exp_month": "03",
"card_exp_year": "2030",
"card_holder_name": null,
"payment_checks": null,
"authentication_data": null
},
"billing": null
},
"payment_token": null,
"shipping": null,
"billing": null,
"order_details": null,
"email": "[email protected]",
"name": "John Doe",
"phone": "999999999",
"return_url": "https://google.com/",
"authentication_type": "no_three_ds",
"statement_descriptor_name": "joseph",
"statement_descriptor_suffix": "JS",
"next_action": null,
"cancellation_reason": null,
"error_code": null,
"error_message": null,
"unified_code": null,
"unified_message": null,
"payment_experience": null,
"payment_method_type": "debit",
"connector_label": null,
"business_country": null,
"business_label": "default",
"business_sub_label": null,
"allowed_payment_method_types": null,
"ephemeral_key": null,
"manual_retry_allowed": false,
"connector_transaction_id": "eyJrIjoiazNhYjYzMiIsImxpbmtWZXJzaW9uIjoiNS4wLjAifQ==.sN:g8wd64bwkbrp0md+bPxcanBnk2zLdsIqSa1pR99GGg8fCNQpPLoWNslSzWNPFBM5Tpa8tW7EFI5onKINsgChMHeJVoeH2lrBWCRyjZYT6h+lbqfJa+1BSoKFSY8HLIfNhwuN4ZodT3laQe9WH8oRdkrhkT0SqvHaO8Zdn9+:UMYEzVJGIlCiYSGGWYG0a6076ZdnXFUQXCzmyoO5fYnojCGT5jnSkpzJvYFEyy2NCnMzk2C7iamI1tOIdYFfYCvERwWWTa+80d:aJmIlSKgn3O0PHAq2Xi+sNlchm83i2AtgthuD6sD4iuhj0IAQHfRrDquis0nMGnyeSQ0:qu7E2oMvn7cMnoWOTWCv9o84KnJGlExG1RNLYMTWnQ3VTJDVBhcAjNaDWUTFEl:Kfxw==",
"frm_message": null,
"metadata": {
"udf1": "value1",
"login_date": "2019-09-10T10:11:12Z",
"new_customer": "true"
},
"connector_metadata": null,
"feature_metadata": null,
"reference_id": null,
"payment_link": null,
"profile_id": "pro_UANp3p6unZQH3GOhADuU",
"surcharge_details": null,
"attempt_count": 1,
"merchant_decision": null,
"merchant_connector_id": "mca_AaZU41n7q7gnrpacJ466",
"incremental_authorization_allowed": null,
"authorization_count": null,
"incremental_authorizations": null,
"external_authentication_details": null,
"external_3ds_authentication_attempted": false,
"expires_on": "2024-09-26T12:28:39.555Z",
"fingerprint": null,
"browser_info": {
"language": "nl-NL",
"time_zone": 0,
"ip_address": "127.0.0.1",
"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36",
"color_depth": 24,
"java_enabled": true,
"screen_width": 1536,
"accept_header": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8",
"screen_height": 723,
"java_script_enabled": true
},
"payment_method_id": null,
"payment_method_status": null,
"updated": "2024-09-26T12:14:26.304Z",
"charges": null,
"frm_metadata": null,
"merchant_order_reference_id": null,
"order_tax_amount": null,
"connector_mandate_id": null
}
Checklist
- [x] I formatted the code
cargo +nightly fmt --all
- [x] I addressed lints thrown by
cargo clippy
- [x] I reviewed the submitted code
- [ ] I added unit tests for my changes where possible