<?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 How to generate/retrieve token from Cybersource Secure Acceptance API? in cybersource APIs</title>
    <link>https://community.developer.cybersource.com/t5/cybersource-APIs/How-to-generate-retrieve-token-from-Cybersource-Secure/m-p/85092#M646</link>
    <description>&lt;P&gt;I have attempted to use the provided test data from the Cybersource documentation to create a token for a test PAN. However, when attempting to do so (assuming it was a REST Api) it results in a "403 - Forbidden" error. The documentation is limited, as it doesn't give much information on the API other than the following:&lt;/P&gt;&lt;PRE&gt;(Test) Endpoint: https://testsecureacceptance.cybersource.com/silent/token/create&lt;/PRE&gt;&lt;P&gt;Request to create a standalone payment token:&lt;/P&gt;&lt;PRE&gt;reference_number=123456789
transaction_type=create_payment_token
currency=usd
amount=100.00
locale=en
access_key=e2b0c0d0e0f0g0h0i0j0k0l0m0n0o0p3
profile_id=0FFEAFFB-8171-4F34-A22D-1CD38A28A384
transaction_uuid=02815b4f08e56882751a043839b7b481
signed_date_time=2013-07-11T15:16:54Z
signed_field_names=comma separated list of signed fields
unsigned_field_names=comma separated list of unsigned fields
signature=WrXOhTzhBjYMZROwiCug2My3jiZHOqATimcz5EBA07M=
payment_method=card
card_type=001
card_number=4111111111111111
card_expiry_date=12-2022
card_cvn=005
bill_to_forename=Joe
bill_to_surname=Smith
bill_to_email=joesmith@example.com
bill_to_address_line1=1 My Apartment
bill_to_address_city=Mountain View
bill_to_address_postal_code=94043
bill_to_address_state=CA
bill_to_address_country=US&lt;/PRE&gt;&lt;P&gt;Is this a REST or SOAP API? How can this be tested in Postman? I tested to check if either works, and was unsuccessful. There is no information on what to include in the header either, so this is a bit puzzling.&lt;/P&gt;&lt;P&gt;Example POST test I am attempting:&lt;/P&gt;&lt;PRE&gt;POST https://testsecureacceptance.cybersource.com/silent/token/create
Content-Type:application/json
Accept:application/json

{
reference_number:123456789
transaction_type:create_payment_token
currency:usd
amount:100.00
locale:en
access_key:e2b0c0d0e0f0g0h0i0j0k0l0m0n0o0p3
profile_id:0FFEAFFB-8171-4F34-A22D-1CD38A28A384
transaction_uuid:02815b4f08e56882751a043839b7b481
signed_date_time:2019-03-07T06:16:54Z
signed_field_names:profile_id,access_key,transaction_uuid,signed_field_names,unsigned_field_names,signed_date_time,locale,transaction_type,reference_number,auth_trans_ref_no,amount,currency,card_type,card_number,card_expiry_date,card_cvn,payment_method,bill_to_forename,bill_to_surname,bill_to_email,bill_to_address_line1,bill_to_address_city,bill_to_address_postal_code,bill_to_address_state,bill_to_address_country
unsigned_field_names:
signature:WrXOhTzhBjYMZROwiCug2My3jiZHOqATimcz5EBA07M=
payment_method:card
card_type:001
card_number:4111111111111111
card_expiry_date:12-2022
card_cvn:005
bill_to_forename:Joe
bill_to_surname:Smith
bill_to_email:joesmith@example.com
bill_to_address_line1:1 My Apartment
bill_to_address_city:Mountain View
bill_to_address_postal_code:94043
bill_to_address_state:CA
bill_to_address_country:US
}&lt;/PRE&gt;</description>
    <pubDate>Tue, 29 Nov 2022 08:11:42 GMT</pubDate>
    <dc:creator>NaarimanMudodum</dc:creator>
    <dc:date>2022-11-29T08:11:42Z</dc:date>
    <item>
      <title>How to generate/retrieve token from Cybersource Secure Acceptance API?</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/How-to-generate-retrieve-token-from-Cybersource-Secure/m-p/85092#M646</link>
      <description>&lt;P&gt;I have attempted to use the provided test data from the Cybersource documentation to create a token for a test PAN. However, when attempting to do so (assuming it was a REST Api) it results in a "403 - Forbidden" error. The documentation is limited, as it doesn't give much information on the API other than the following:&lt;/P&gt;&lt;PRE&gt;(Test) Endpoint: https://testsecureacceptance.cybersource.com/silent/token/create&lt;/PRE&gt;&lt;P&gt;Request to create a standalone payment token:&lt;/P&gt;&lt;PRE&gt;reference_number=123456789
transaction_type=create_payment_token
currency=usd
amount=100.00
locale=en
access_key=e2b0c0d0e0f0g0h0i0j0k0l0m0n0o0p3
profile_id=0FFEAFFB-8171-4F34-A22D-1CD38A28A384
transaction_uuid=02815b4f08e56882751a043839b7b481
signed_date_time=2013-07-11T15:16:54Z
signed_field_names=comma separated list of signed fields
unsigned_field_names=comma separated list of unsigned fields
signature=WrXOhTzhBjYMZROwiCug2My3jiZHOqATimcz5EBA07M=
payment_method=card
card_type=001
card_number=4111111111111111
card_expiry_date=12-2022
card_cvn=005
bill_to_forename=Joe
bill_to_surname=Smith
bill_to_email=joesmith@example.com
bill_to_address_line1=1 My Apartment
bill_to_address_city=Mountain View
bill_to_address_postal_code=94043
bill_to_address_state=CA
bill_to_address_country=US&lt;/PRE&gt;&lt;P&gt;Is this a REST or SOAP API? How can this be tested in Postman? I tested to check if either works, and was unsuccessful. There is no information on what to include in the header either, so this is a bit puzzling.&lt;/P&gt;&lt;P&gt;Example POST test I am attempting:&lt;/P&gt;&lt;PRE&gt;POST https://testsecureacceptance.cybersource.com/silent/token/create
Content-Type:application/json
Accept:application/json

{
reference_number:123456789
transaction_type:create_payment_token
currency:usd
amount:100.00
locale:en
access_key:e2b0c0d0e0f0g0h0i0j0k0l0m0n0o0p3
profile_id:0FFEAFFB-8171-4F34-A22D-1CD38A28A384
transaction_uuid:02815b4f08e56882751a043839b7b481
signed_date_time:2019-03-07T06:16:54Z
signed_field_names:profile_id,access_key,transaction_uuid,signed_field_names,unsigned_field_names,signed_date_time,locale,transaction_type,reference_number,auth_trans_ref_no,amount,currency,card_type,card_number,card_expiry_date,card_cvn,payment_method,bill_to_forename,bill_to_surname,bill_to_email,bill_to_address_line1,bill_to_address_city,bill_to_address_postal_code,bill_to_address_state,bill_to_address_country
unsigned_field_names:
signature:WrXOhTzhBjYMZROwiCug2My3jiZHOqATimcz5EBA07M=
payment_method:card
card_type:001
card_number:4111111111111111
card_expiry_date:12-2022
card_cvn:005
bill_to_forename:Joe
bill_to_surname:Smith
bill_to_email:joesmith@example.com
bill_to_address_line1:1 My Apartment
bill_to_address_city:Mountain View
bill_to_address_postal_code:94043
bill_to_address_state:CA
bill_to_address_country:US
}&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Nov 2022 08:11:42 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/How-to-generate-retrieve-token-from-Cybersource-Secure/m-p/85092#M646</guid>
      <dc:creator>NaarimanMudodum</dc:creator>
      <dc:date>2022-11-29T08:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate/retrieve token from Cybersource Secure Acceptance API?</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/How-to-generate-retrieve-token-from-Cybersource-Secure/m-p/85116#M659</link>
      <description>&lt;P&gt;Does this use a SOAP or REST API? How can Postman be used to test this? I tried both to see if they would work but came up empty-handed. This is a little confusing because there is no guidance on what to put in the header.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2022 15:00:20 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/How-to-generate-retrieve-token-from-Cybersource-Secure/m-p/85116#M659</guid>
      <dc:creator>JeanSmith</dc:creator>
      <dc:date>2022-12-02T15:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate/retrieve token from Cybersource Secure Acceptance API?</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/How-to-generate-retrieve-token-from-Cybersource-Secure/m-p/85433#M735</link>
      <description>&lt;P&gt;Please refer to this guide:&amp;nbsp;&lt;A href="https://docs.cybersource.com/content/dam/new-documentation/documentation/en/service-fees/user/all/sa/sa-chk-api-service-fees.pdf" target="_blank"&gt;https://docs.cybersource.com/content/dam/new-documentation/documentation/en/service-fees/user/all/sa/sa-chk-api-service-fees.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 22:01:06 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/How-to-generate-retrieve-token-from-Cybersource-Secure/m-p/85433#M735</guid>
      <dc:creator>rajvpate</dc:creator>
      <dc:date>2023-01-10T22:01:06Z</dc:date>
    </item>
  </channel>
</rss>

