Copy {
"data" : {
"id" : "xYZkjABcde" ,
"type" : "axerve_payments" ,
"links" : {
"self" : "https://yourdomain.commercelayer.io/api/axerve_payments/xYZkjABcde"
} ,
"attributes" : {
"login" : "xxxx-yyyy-zzzz" ,
"return_url" : "https://yourdomain.com/thankyou" ,
"payment_request_data" : {
"foo" : "bar"
} ,
"client_ip" : "213.45.120.5" ,
"buyer_details" : {
"cardHolder" : {
"email" : "george.harrison@gmail.com"
} ,
"shippingAddress" : {
"firstName" : "George"
}
} ,
"request_token" : true ,
"mismatched_amounts" : false ,
"payment_instrument" : {
"issuer" : "cl bank" ,
"card_type" : "visa"
} ,
"created_at" : "2018-01-01T12:00:00.000Z" ,
"updated_at" : "2018-01-01T12:00:00.000Z" ,
"reference" : "ANY-EXTERNAL-REFEFERNCE" ,
"reference_origin" : "ANY-EXTERNAL-REFEFERNCE-ORIGIN" ,
"metadata" : {
"foo" : "bar"
}
} ,
"relationships" : {
"order" : {
"links" : {
"self" : "https://yourdomain.commercelayer.io/api/axerve_payments/xYZkjABcde/relationships/order" ,
"related" : "https://yourdomain.commercelayer.io/api/axerve_payments/xYZkjABcde/order"
}
} ,
"payment_gateway" : {
"links" : {
"self" : "https://yourdomain.commercelayer.io/api/axerve_payments/xYZkjABcde/relationships/payment_gateway" ,
"related" : "https://yourdomain.commercelayer.io/api/axerve_payments/xYZkjABcde/payment_gateway"
}
} ,
"versions" : {
"links" : {
"self" : "https://yourdomain.commercelayer.io/api/axerve_payments/xYZkjABcde/relationships/versions" ,
"related" : "https://yourdomain.commercelayer.io/api/axerve_payments/xYZkjABcde/versions"
}
}
} ,
"meta" : {
"mode" : "test"
}
}
}