Copy {
"data" : {
"id" : "xYZkjABcde" ,
"type" : "external_gateways" ,
"links" : {
"self" : "https://yourdomain.commercelayer.io/api/external_gateways/xYZkjABcde"
} ,
"attributes" : {
"authorize_url" : "https://external_gateway.com/authorize" ,
"capture_url" : "https://external_gateway.com/capture" ,
"created_at" : "2018-01-01T12:00:00.000Z" ,
"metadata" : {
"foo" : "bar"
} ,
"name" : "US payment gateway" ,
"reference" : "ANY-EXTERNAL-REFEFERNCE" ,
"reference_origin" : "ANY-EXTERNAL-REFEFERNCE-ORIGIN" ,
"refund_url" : "https://external_gateway.com/refund" ,
"shared_secret" : "1c0994cc4e996e8c6ee56a2198f66f3c" ,
"token_url" : "https://external_gateway.com/token" ,
"updated_at" : "2018-01-01T12:00:00.000Z" ,
"void_url" : "https://external_gateway.com/void"
} ,
"relationships" : {
"external_payments" : {
"links" : {
"self": "https://yourdomain.commercelayer.io/api/external_gateways/xYZkjABcde/relationships/external_payments",
"related" : "https://yourdomain.commercelayer.io/api/external_gateways/xYZkjABcde/external_payments"
}
} ,
"payment_methods" : {
"links" : {
"self" : "https://yourdomain.commercelayer.io/api/external_gateways/xYZkjABcde/relationships/payment_methods" ,
"related" : "https://yourdomain.commercelayer.io/api/external_gateways/xYZkjABcde/payment_methods"
}
} ,
"versions" : {
"links" : {
"self" : "https://yourdomain.commercelayer.io/api/external_gateways/xYZkjABcde/relationships/versions" ,
"related" : "https://yourdomain.commercelayer.io/api/external_gateways/xYZkjABcde/versions"
}
}
} ,
"meta" : {
"mode" : "test"
}
}
}