cancel
Showing results for 
Search instead for 
Did you mean: 

generate SHA-256 digest

Can anyone assist me with sample code in Elixir to generate the signature and the digest headers?

Sample payload as generated from the Cybersource simulator:

%{
clientReferenceInformation: %{
code: "cybs_test",
partner: %{
developerId: "7891234",
solutionId: "89012345"
}
},
paymentInformation: %{
card: %{
type: "001",
expirationMonth: "12",
expirationYear: "2025",
number: "4000000000000101"
}
}
}

Sample date: Fri, 16 Feb 2024 18:58:10 GMT

merchant id: testrest

keyid: 08c94330-f618-42a3-b09d-e1e43be5efda

I would be grateful for any support in this regard.

Thank you in advance.

Jerry

 

jay
Member
0 REPLIES 0