-
Notifications
You must be signed in to change notification settings - Fork 4
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
Visa Direct - Purpose of payment #188
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -16,7 +16,7 @@ POST https://gateway.clearhaus.com/credits | |||||
{{% /description_details %}} | ||||||
|
||||||
{{% description_term %}}currency{{% regex %}}[A-Z]{3}{{% /regex %}}{{% /description_term %}} | ||||||
{{% description_details %}}[3-letter currency code](/currencies). (Some exponents differ from ISO 4217.) | ||||||
{{% description_details %}}[3-letter currency code](/currencies). (Some exponents differ from ISO 4217.) | ||||||
{{% /description_details %}} | ||||||
|
||||||
{{% description_term %}}text_on_statement{{% regex %}}[\x20-\x7E]{2,22} [ASCII printable characters](https://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters) {{% /regex %}}{{% /description_term %}} | ||||||
|
@@ -32,6 +32,12 @@ POST https://gateway.clearhaus.com/credits | |||||
{{% regex_optional %}}Optional{{% /regex_optional %}} | ||||||
{{% /description_details %}} | ||||||
|
||||||
{{% description_term %}}purpose_of_payment {{% regex %}}[A-Z]{6}{{% /regex %}}{{% /description_term %}} | ||||||
{{% description_details %}} The fields code shall reflect the nature and purpose of the transaction. | ||||||
Valid codes are list in Visas Purpose of Payment - Standardized Codes List. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
{{% regex_optional %}} Required for Visa cross-border transactions destined for Argentina, Bangladesh, Chile, Columbia, Egypt, India and Mexico. {{% /regex_optional %}} | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Maybe? 😬 |
||||||
{{% /description_details %}} | ||||||
|
||||||
{{% description_term %}}card[pan] {{% regex %}}[0-9]{12,19}{{% /regex %}}{{% /description_term %}} | ||||||
{{% description_details %}}Primary account number of card to charge. | ||||||
{{% /description_details %}} | ||||||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,4 +28,10 @@ Example: "Doe Jane A." (last name, first name, optional middle initial). | |
{{% regex_optional %}}Required if the merchant account's Business Application Identifier (BAI) is Funds Disbursement (FD).{{% /regex_optional %}} | ||
{{% /description_details %}} | ||
|
||
{{% description_term %}}recipient[purpose_of_payment] {{% regex %}}[A-Z]{6}{{% /regex %}}{{% /description_term %}} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Purpose of Payment is not related to recipient data so it does not make sense to have it in the AFAICT, we should the same as for credits, i.e. have it on the same level as e.g. |
||
{{% description_details %}} The fields code shall reflect the nature and purpose of the transaction. | ||
Valid codes are list in Visas Purpose of Payment - Standardized Codes List. | ||
{{% regex_optional %}} Required for Visa cross-border transactions destined for Argentina, Bangladesh, Chile, Columbia, Egypt, India and Mexico. {{% /regex_optional %}} | ||
{{% /description_details %}} | ||
|
||
{{% /description_list %}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMHO we should try to converge towards not having these purposeless spaces 🙂