On This Page
Authorizing a Payment with JCB Using Bank of America Decryption
Method
Bank of America
Decryption
MethodThis section provides the following information:
Required Fields for Authorizing a Payment Using JCB and the Bank of America
Decryption Method
Bank of America
Decryption MethodThe following fields are required when submitting an authorization request using the
Bank of America
decryption method:- descriptor-set this field under thefluidDataobject toRklEPUNPTU1PTi5TQU1TVU5HLklOQVBQLlBBWU1FTlQ=.
- paymentInformation.fluidData.value-set this field to the Base64-encoded value obtained from thepaymentDataproperty of thePKPaymentTokenobject.
- processingInformation.paymentSolution-set this field to008.
Authorizing a Payment
- Send the service request to.https://api.merchant-services.bankofamerica.com/pts/v2/payments
- Include the required fields in the request.
- Include optional fields in the request as needed.
- Check the response message to make sure that the request was successful. A 200-level HTTP response code indicates success. For information about response codes, see Transaction Response Codes.
Example: Bank of America Decryption with JCB
Using the REST API
Bank of America
Decryption with JCB
Using the REST APIAuthorization Request
{ "processingInformation": { "paymentSolution": "008" }, "consumerAuthenticationInformation": { "cavv": "EHuWW9PiBkWvqE5juRwDzAUFBAk=", "eciRaw": "05" }, "paymentInformation": { "tokenizedCard": { "number": "xxxx55555555xxxx", "expirationMonth": "12", "expirationYear": "2031", "transactionType": "1", "type": "007" } }, "billTo": { "firstName": "Jane", "lastName": "Smith", "address1": "123 Main Street", "address2": "Suite 12345", "locality": "Small Town", "administrativeArea": "CA", "postalCode": "98765", "country": "US", "email": "js@example.com", "phoneNumber": "9999999999" }, "orderInformation": { "amountDetails": { "currency": "USD", "totalAmount": "100.00" } } }
Authorization Response
{ "clientReferenceInformation": { "code": "ref123" }, "orderInformation": { "amountDetails": { "currency": "USD", "authorizedAmount": "100.00" } }, "processingInformation": { "reconciliationID": "15356268CR2XF23X" }, "processorInformation": { "approvalCode": "888888", "responseCode": "100", "paymentSolution": "008", "avs": { "codeRaw": "I1" } } }