Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fetching consumer id(token) on making payment with jwt #53

Open
sskolla01 opened this issue Apr 13, 2020 · 3 comments
Open

Fetching consumer id(token) on making payment with jwt #53

sskolla01 opened this issue Apr 13, 2020 · 3 comments

Comments

@sskolla01
Copy link

I generated flex token and used microform to add the card details into jwt. Once payment is successful how do I get the token or consumer id that I can use for future payments. Please help.

This is the response I get

{
"links": {
"self": {
"href": "/pts/v2/payments/5867929049116740203002",
"method": "GET"
},
"reversal": null,
"capture": {
"href": "/pts/v2/payments/5867929049116740203002/captures",
"method": "POST"
}
},
"id": "5867929049116740203002",
"submitTimeUtc": "2020-04-13T15:48:28Z",
"status": "AUTHORIZED",
"reconciliationId": null,
"errorInformation": null,
"clientReferenceInformation": {
"code": "COPART_UK",
"submitLocalDateTime": null,
"ownerMerchantId": null
},
"processingInformation": null,
"processorInformation": {
"authIndicator": null,
"approvalCode": "100",
"transactionId": "123456789012345",
"networkTransactionId": "123456789012345",
"providerTransactionId": null,
"responseCode": "0",
"responseCodeSource": null,
"responseDetails": null,
"responseCategoryCode": null,
"forwardedAcquirerCode": null,
"avs": {
"code": "U",
"codeRaw": "00"
},
"cardVerification": {
"resultCode": "N",
"resultCodeRaw": "4"
},
"merchantAdvice": null,
"electronicVerificationResults": null,
"achVerification": null,
"customer": null,
"consumerAuthenticationResponse": null,
"systemTraceAuditNumber": null,
"paymentAccountReferenceNumber": null,
"transactionIntegrityCode": null,
"amexVerbalAuthReferenceNumber": null,
"masterCardServiceCode": null,
"masterCardServiceReplyCode": null,
"masterCardAuthenticationType": null,
"name": null,
"routing": null,
"merchantNumber": null
},
"issuerInformation": null,
"paymentInformation": {
"card": null,
"tokenizedCard": {
"prefix": null,
"suffix": null,
"type": "001",
"assuranceLevel": null,
"expirationMonth": null,
"expirationYear": null,
"requestorId": null
},
"accountFeatures": null,
"bank": null
},
"orderInformation": {
"amountDetails": {
"totalAmount": null,
"authorizedAmount": "100.00",
"currency": "USD"
},
"invoiceDetails": null
},
"pointOfSaleInformation": null,
"installmentInformation": null,
"riskInformation": null,
"consumerAuthenticationInformation": null
}

@krarjun90
Copy link

Currently it is not possible by REST Client.

+1 to this feature request.

@gnongsie
Copy link
Contributor

Hi,
Thanks for bringing this up. I will relay it to the relevant team.

@joeabill
Copy link

Anyone know if this is possible now? I've been trying to figure this out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants