payment_method_set_fraud_protection

Description

This resource represents a relationship between a payment method set and a fraud protection. To add a fraud protection to a payment method set, you create a payment method set fraud protection resource by sending a POST to the payment_method_set_fraud_protections link relationship of a payment_method_set using the fraud_protection uri from its self link relationship.

Interact with this resource

To interact with this resource and see it in the context of the API, you can utilise Postman or your Terminal/Console to perform requests. If you have a Foxy store, you can also use the API browser in the admin to interact with resources connected to your store.

Actions

GET
View a payment_method_set_fraud_protection
PATCH
Update a payment_method_set_fraud_protection (send only the properties you want to modify)
PUT
Replace a payment_method_set_fraud_protection (send the entire representation)
DELETE
Delete a payment_method_set_fraud_protection
HEAD
Get just the header response
OPTIONS
Get a response explaining which HTTP methods are supported

Properties

Property Description Type Constraints
payment_method_set_uri The full API URI of the payment method set associated with this payment method set fraud protection. URL Obtained from the self link relation of a payment_method_set.
fraud_protection_uri The full API URI of the fraud protection associated with this payment method set fraud protection. URL Obtained from the self link relation of a fraud_protection.
date_created The date this resource was created. Date Read only
date_modified The date this resource was last modified. Date Read only

Example Representation

{
    "_links": {
        "curies": [
            {
                "name": "fx",
                "href": "https://api.foxycart.com/rels/{rel}",
                "templated": true
            }
        ],
        "self": {
            "href": "https://api-sandbox.foxycart.com/payment_method_set_fraud_protections/2",
            "title": "Payment Method Set Fraud Protection Relationship"
        },
        "fx:store": {
            "href": "https://api-sandbox.foxycart.com/stores/8",
            "title": "This Store"
        },
        "fx:payment_method_set": {
            "href": "https://api-sandbox.foxycart.com/payment_method_sets/6",
            "title": "This Payment Method Set"
        },
        "fx:fraud_protection": {
            "href": "https://api-sandbox.foxycart.com/fraud_protections/2",
            "title": "This Fraud Protection"
        }
    },
    "payment_method_set_uri": "https://api-sandbox.foxycart.com/payment_method_sets/6",
    "fraud_protection_uri": "https://api-sandbox.foxycart.com/fraud_protections/2",
    "date_created": "2015-05-27T09:04:38-0700",
    "date_modified": "2015-05-27T09:04:38-0700"
}
<?xml version="1.0" encoding="UTF-8"?>
<resource href="https://api-sandbox.foxycart.com/payment_method_set_fraud_protections/2" rel="https://api.foxycart.com/rels/payment_method_set_fraud_protection">
  <link rel="self" href="https://api-sandbox.foxycart.com/payment_method_set_fraud_protections/2" title="Payment Method Set Fraud Protection Relationship"/>
  <link rel="https://api.foxycart.com/rels/store" href="https://api-sandbox.foxycart.com/stores/8" title="This Store"/>
  <link rel="https://api.foxycart.com/rels/payment_method_set" href="https://api-sandbox.foxycart.com/payment_method_sets/6" title="This Payment Method Set"/>
  <link rel="https://api.foxycart.com/rels/fraud_protection" href="https://api-sandbox.foxycart.com/fraud_protections/2" title="This Fraud Protection"/>
  <payment_method_set_uri>https://api-sandbox.foxycart.com/payment_method_sets/6</payment_method_set_uri>
  <fraud_protection_uri>https://api-sandbox.foxycart.com/fraud_protections/2</fraud_protection_uri>
  <date_created>2015-05-27T09:04:38-0700</date_created>
  <date_modified>2015-05-27T09:04:38-0700</date_modified>
</resource>
{
    "class": [
        "payment_method_set_fraud_protection"
    ],
    "properties": {
        "payment_method_set_uri": "https://api-sandbox.foxycart.com/payment_method_sets/6",
        "fraud_protection_uri": "https://api-sandbox.foxycart.com/fraud_protections/2",
        "date_created": "2015-05-27T09:04:38-0700",
        "date_modified": "2015-05-27T09:04:38-0700"
    },
    "links": [
        {
            "rel": [
                "self"
            ],
            "href": "https://api-sandbox.foxycart.com/payment_method_set_fraud_protections/2"
        },
        {
            "rel": [
                "https://api.foxycart.com/rels/store"
            ],
            "href": "https://api-sandbox.foxycart.com/stores/8"
        },
        {
            "rel": [
                "https://api.foxycart.com/rels/payment_method_set"
            ],
            "href": "https://api-sandbox.foxycart.com/payment_method_sets/6"
        },
        {
            "rel": [
                "https://api.foxycart.com/rels/fraud_protection"
            ],
            "href": "https://api-sandbox.foxycart.com/fraud_protections/2"
        }
    ]
}

Zoomable Resources

This resource has no linked resources which can be "zoomed" in on, filtered and embedded within this resource.