Copy {
"data" : {
"id" : "xYZkjABcde" ,
"type" : "klarna_payments" ,
"links" : {
"self" : "https://yourdomain.commercelayer.io/api/klarna_payments/xYZkjABcde"
} ,
"attributes" : {
"auth_token" : "xxxx-yyyy-zzzz" ,
"client_token" : "xxxx-yyyy-zzzz" ,
"created_at" : "2018-01-01T12:00:00.000Z" ,
"metadata" : {
"foo" : "bar"
} ,
"mismatched_amounts" : false ,
"payment_instrument" : {
"card_type" : "visa" ,
"issuer" : "cl bank"
} ,
"payment_methods" : [
{
"foo" : "bar"
}
] ,
"reference" : "ANY-EXTERNAL-REFEFERNCE" ,
"reference_origin" : "ANY-EXTERNAL-REFEFERNCE-ORIGIN" ,
"session_id" : "xxxx-yyyy-zzzz" ,
"updated_at" : "2018-01-01T12:00:00.000Z"
} ,
"relationships" : {
"order" : {
"links" : {
"self" : "https://yourdomain.commercelayer.io/api/klarna_payments/xYZkjABcde/relationships/order" ,
"related" : "https://yourdomain.commercelayer.io/api/klarna_payments/xYZkjABcde/order"
}
} ,
"payment_gateway" : {
"links" : {
"self" : "https://yourdomain.commercelayer.io/api/klarna_payments/xYZkjABcde/relationships/payment_gateway" ,
"related" : "https://yourdomain.commercelayer.io/api/klarna_payments/xYZkjABcde/payment_gateway"
}
} ,
"versions" : {
"links" : {
"self" : "https://yourdomain.commercelayer.io/api/klarna_payments/xYZkjABcde/relationships/versions" ,
"related" : "https://yourdomain.commercelayer.io/api/klarna_payments/xYZkjABcde/versions"
}
}
} ,
"meta" : {
"mode" : "test"
}
}
}