<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to specify device fingerprint id in Cybersource REST API? in cybersource APIs</title>
    <link>https://community.developer.cybersource.com/t5/cybersource-APIs/How-to-specify-device-fingerprint-id-in-Cybersource-REST-API/m-p/84685#M526</link>
    <description>&lt;P data-unlink="true"&gt;I've been holding for a while, but the market's dynamism is making me feel pretty uneasy at 3d gaming logo. I could need some guidance.&lt;/P&gt;</description>
    <pubDate>Thu, 27 Oct 2022 14:53:37 GMT</pubDate>
    <dc:creator>Elmo_Nader</dc:creator>
    <dc:date>2022-10-27T14:53:37Z</dc:date>
    <item>
      <title>How to specify device fingerprint id in Cybersource REST API?</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/How-to-specify-device-fingerprint-id-in-Cybersource-REST-API/m-p/84626#M504</link>
      <description>&lt;P&gt;I'm trying to integrate CyberSource's REST API into a Django (Python) application. I'm following this&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://github.com/CyberSource/cybersource-rest-samples-python/blob/master/samples/payments/coreservices/process_payment.py" target="_blank" rel="nofollow noopener noreferrer"&gt;GitHub example&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;A href="https://echat.date" target="_blank" rel="noopener"&gt;/echat&lt;/A&gt;&lt;A href="https://chatrandom.download/omegle/" target="_blank" rel="noopener"&gt;random&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;example. It works like a charm but it is not clear to me from the example or from the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developer.cybersource.com/api/reference/api-reference.html" target="_blank" rel="nofollow noopener noreferrer"&gt;documentation&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;A href="https://echat.date" target="_blank" rel="noopener"&gt;/echat&lt;/A&gt;&lt;A href="https://chatspin.download" target="_blank" rel="noopener"&gt;spin&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;how to specify the device's fingerprint ID.&lt;/P&gt;&lt;P&gt;Here's a snippet of the request I'm sending in case it comes useful (note: this is just a method that lives inside a POPO):&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;def&lt;/SPAN&gt; &lt;SPAN class=""&gt;authorize_payment&lt;/SPAN&gt;(&lt;SPAN class=""&gt;self, card_token: &lt;SPAN class=""&gt;str&lt;/SPAN&gt;, total_amount: Money, customer: CustomerInformation = &lt;SPAN class=""&gt;None&lt;/SPAN&gt;,
                      merchant: MerchantInformation = &lt;SPAN class=""&gt;None&lt;/SPAN&gt;&lt;/SPAN&gt;):
    &lt;SPAN class=""&gt;try&lt;/SPAN&gt;:
        request = {
            &lt;SPAN class=""&gt;'payment_information'&lt;/SPAN&gt;: {
                &lt;SPAN class=""&gt;# &lt;SPAN class=""&gt;NOTE:&lt;/SPAN&gt; REQUIRED.&lt;/SPAN&gt;
                &lt;SPAN class=""&gt;'card'&lt;/SPAN&gt;: &lt;SPAN class=""&gt;None&lt;/SPAN&gt;,
                &lt;SPAN class=""&gt;'tokenized_card'&lt;/SPAN&gt;: &lt;SPAN class=""&gt;None&lt;/SPAN&gt;,
                &lt;SPAN class=""&gt;'customer'&lt;/SPAN&gt;: {
                    &lt;SPAN class=""&gt;'customer_id'&lt;/SPAN&gt;: card_token,
                },
            },
            &lt;SPAN class=""&gt;'order_information'&lt;/SPAN&gt;: {
                &lt;SPAN class=""&gt;'amount_details'&lt;/SPAN&gt;: {
                    &lt;SPAN class=""&gt;'total_amount'&lt;/SPAN&gt;: &lt;SPAN class=""&gt;str&lt;/SPAN&gt;(total_amount.amount),
                    &lt;SPAN class=""&gt;'currency'&lt;/SPAN&gt;: &lt;SPAN class=""&gt;str&lt;/SPAN&gt;(total_amount.currency),
                },
            },
        }

        &lt;SPAN class=""&gt;if&lt;/SPAN&gt; customer:
            request[&lt;SPAN class=""&gt;'order_information'&lt;/SPAN&gt;].update({
                &lt;SPAN class=""&gt;'bill_to'&lt;/SPAN&gt;: {
                    &lt;SPAN class=""&gt;'first_name'&lt;/SPAN&gt;: customer.first_name,
                    &lt;SPAN class=""&gt;'last_name'&lt;/SPAN&gt;: customer.last_name,
                    &lt;SPAN class=""&gt;'company'&lt;/SPAN&gt;: customer.company,
                    &lt;SPAN class=""&gt;'address1'&lt;/SPAN&gt;: customer.address1,
                    &lt;SPAN class=""&gt;'address2'&lt;/SPAN&gt;: customer.address2,
                    &lt;SPAN class=""&gt;'locality'&lt;/SPAN&gt;: customer.locality,
                    &lt;SPAN class=""&gt;'country'&lt;/SPAN&gt;: customer.country,
                    &lt;SPAN class=""&gt;'email'&lt;/SPAN&gt;: customer.email,
                    &lt;SPAN class=""&gt;'phone_number'&lt;/SPAN&gt;: customer.phone_number,
                    &lt;SPAN class=""&gt;'administrative_area'&lt;/SPAN&gt;: customer.administrative_area,
                    &lt;SPAN class=""&gt;'postalCode'&lt;/SPAN&gt;: customer.zip_code,
                }
            })

        serialized_request = json.dumps(request)
        data, status, body = self._payment_api_client.create_payment(create_payment_request=serialized_request)

        &lt;SPAN class=""&gt;return&lt;/SPAN&gt; data.&lt;SPAN class=""&gt;id&lt;/SPAN&gt;
    &lt;SPAN class=""&gt;except&lt;/SPAN&gt; Exception &lt;SPAN class=""&gt;as&lt;/SPAN&gt; e:
        &lt;SPAN class=""&gt;raise&lt;/SPAN&gt; AuthorizePaymentError &lt;SPAN class=""&gt;from&lt;/SPAN&gt; e&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 12:37:55 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/How-to-specify-device-fingerprint-id-in-Cybersource-REST-API/m-p/84626#M504</guid>
      <dc:creator>HumeleJotesane</dc:creator>
      <dc:date>2022-10-19T12:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to specify device fingerprint id in Cybersource REST API?</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/How-to-specify-device-fingerprint-id-in-Cybersource-REST-API/m-p/84685#M526</link>
      <description>&lt;P data-unlink="true"&gt;I've been holding for a while, but the market's dynamism is making me feel pretty uneasy at 3d gaming logo. I could need some guidance.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2022 14:53:37 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/How-to-specify-device-fingerprint-id-in-Cybersource-REST-API/m-p/84685#M526</guid>
      <dc:creator>Elmo_Nader</dc:creator>
      <dc:date>2022-10-27T14:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to specify device fingerprint id in Cybersource REST API?</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/How-to-specify-device-fingerprint-id-in-Cybersource-REST-API/m-p/84816#M560</link>
      <description>&lt;P&gt;Hello&lt;A title="," href="https://needs-store.com/collections/tableware" target="_blank" rel="noopener"&gt;,&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I ended up sticking to Simple Order API + Checkout API for authorizations and tokenizations, respectively.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2022 10:18:04 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/How-to-specify-device-fingerprint-id-in-Cybersource-REST-API/m-p/84816#M560</guid>
      <dc:creator>joseemily</dc:creator>
      <dc:date>2022-11-08T10:18:04Z</dc:date>
    </item>
  </channel>
</rss>

