Skip to content

Commit

Permalink
Merge pull request #26 from vtex-apps/feature/updateSaveCards
Browse files Browse the repository at this point in the history
Update saveCards mutation
  • Loading branch information
pedromtec authored Mar 2, 2020
2 parents 48fcb26 + 7d74f63 commit bc4a9c7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

### Changed

- Return `tokenizedCards` from `saveCards` mutation

## [0.20.0] - 2020-03-02

### Added
Expand Down
6 changes: 4 additions & 2 deletions react/mutations/saveCards.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ mutation SaveCards(
$cardSessionId: String!
) {
saveCards(paymentData: $paymentData, cardSessionId: $cardSessionId) {
paymentTokens {
creditCardToken
tokenizedCards {
token
bin
lastDigits
paymentSystem
}
}
Expand Down

0 comments on commit bc4a9c7

Please sign in to comment.