Skip to content

Commit

Permalink
Revert "feat(user actions): Add URLUserAction schema (#99)"
Browse files Browse the repository at this point in the history
This reverts commit dfce320.
  • Loading branch information
jophish authored Aug 26, 2023
1 parent dfce320 commit ec4b53b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 23 deletions.
22 changes: 1 addition & 21 deletions fiatconnect-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,6 @@
- [9.3.3.1. `PIXUserAction`](#9331-pixuseraction)
- [9.3.3.2. `IBANUserAction`](#9332-ibanuseraction)
- [9.3.3.3. `PSEUserAction`](#9333-pseuseraction)
- [9.3.3.4. `URLUserAction`](#9333-urluseraction)
- [10. References](#10-references)
- [10.1. Normative References](#101-normative-references)
- [10.1.1. [RFC2119]](#1011-rfc2119)
Expand Down Expand Up @@ -2273,8 +2272,7 @@ An enum listing the types of User Action Detail Schemas for transfers in.
[
`PIXUserAction`,
`IBANUserAction`,
`PSEUserAction`,
`URLUserAction`
`PSEUserAction`
]
```

Expand Down Expand Up @@ -2540,9 +2538,6 @@ The `iban` field represents the IBAN number for the provider-controlled bank acc

#### 9.3.3.3. `PSEUserAction`

**Deprecated:** Note that `PSEUserAction` is deprecated and its use is discouraged, in favor of the more general `URLUserAction` schema. Consider migrating
existing implementations over to using this schema instead of `PSEUserAction`.

`PSEUserAction` is a User Action Details Schema for transfers in requiring use of the Colombian [PSE payment system](https://www.pse.com.co/persona).

```
Expand All @@ -2554,21 +2549,6 @@ existing implementations over to using this schema instead of `PSEUserAction`.

The `url` field contains a uniquely generated URL which the user can follow in order to complete their transfer of fiat funds to the provider using the PSE payment system.

#### 9.3.3.4. `URLUserAction`

`URLUserAction` is a User Action Details Schema for transfers in which require the user to follow a URL to complete the transfer of fiat funds. The URL itself, and
action required by the user after navigating to the URL are unspecified by this schema; no particular semantics are required or imparted by use of the `URLUserAction`
schema.

```
{
userActionType: `TransferInUserActionDetailsEnum.URLUserAction`,
url: `string`,
}
```

The `url` field contains a URL which the user can follow in order to complete thier transfer of fiat funds to the provider.

# 10. References

## 10.1. Normative References
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "specification",
"version": "1.1.5",
"version": "1.1.4",
"description": "FiatConnect API Specification",
"repository": "https://github.com/fiatconnect/specification.git",
"scripts": {
Expand Down
1 change: 0 additions & 1 deletion swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ definitions:
- PIXUserAction
- IBANUserAction
- PSEUserAction
- URLUserAction
UserActionDetails:
type: "object"
required:
Expand Down

0 comments on commit ec4b53b

Please sign in to comment.